timelapse doesn’t show any AC, maybe you can give me a hint what to do?
My configuration is not standard so I guess, I had to change something in the scripts:
Pi Zero W, Stretch
pi hole running (port 80, /var/www/html/pihole)
dump1090-fa
alkissack/Dump1090-OpenLayers3-html Web-interface (resides in /usr/share/dump1090-fa/html, with alias entry in /etc/lighttpd/conf-enabled/89-dump1090-fa.conf geregelt)
)
ls /run/timelapse1090 shows lots of non-empty *.json and chunk_0.gz, chunk_1.gz, chunk_38.gz. IP/timelapse/data/chunk_0.gz gives an encoding error (Firefox) or blank page (Chrome). chunk_0.gz is not empty.
timelapse lighttpd config uses mod_setenv
This mustn’t be defined twice.
Might well be that pihole is already defining it, try deleting or commenting this line
The json files shouldn’t be empty, is /run/dump1090-fa/aircraft.json empty?
I’m not sure where you have your aircraft.json, you can configure the source directory here: /etc/default/timelapse1090
In regards to mod_setenv the install script should now be more robust.
So try the install again, do a reboot.
Then check the lighttpd log if there are any issues with lighttpd.
The install script now does a better job at doing that automatically
(which i wrote in my answer to you, you could have just rerun the install script to fix your issue)
I’ve also just noticed that since installing this my Default map layer on Dump1090 has changed. (From OpenStreetMap Light to OpenStreetMap). Any ideas how I get the light version back to being the default?
When I change via the map changer it only lasts as long as I don’t open the timelapse page, as soon as I do that my dump1090 map changes to the standard OpenStreetMap layer.
I’ve just been looking at my timelapse today and I realised that something didn’t look right. It’s working perfectly but it just didn’t look correct.
It took me a while to work out what it was and I think it’s because the aircraft are very small on the map compared to those on tar1090. Is there any possibility you could update timelapse1090 so the aircraft shape and sizes are the same as tar1090 please, @wiedehopf
I’ve had a shufti in /usr/local/share/timelapse1090/html/config.js but there’s nothing obvious I can see there. There’s plenty for colours but I couldn’t spot anything for sizes.
There indeed isn’t anything.
I’m kinda working on a replay feature that will require running my readsb branch using the tar1090 interface.
But that has some way to go.
/usr/local/share/timelapse1090/html/planeObject.js
PlaneObject.prototype.updateIcon = function() {
var scaleFactor = Math.max(0.2, Math.min(1.2, 0.15 * Math.pow(1.25, ZoomLvl))).toFixed(1);
CHANGE TO:
PlaneObject.prototype.updateIcon = function() {
var scaleFactor = 1.4;
Just go to a fixed factor, it won’t change with zoom.
Ctrl-F5 or clearing the browser cache will be required after making changes.
Hi, I’m having a strange issue with timelapse1090. It’s working properly overall, but certain pieces of data are missing from the display. Most importantly, the altitude never displays so the markers and tracks are always grey. I can see from the developer console in my browser that the data it’s fetching from dump1090 does indeed include altitude data so I don’t know why it isn’t being populated on the display. Appears to be a bug with the javascript function which populates the aircraft rows? Not sure but I can’t think what else it could be and after quite a bit of searching I haven’t found anyone else discussing the same issue. Please help! Thanks in advance!