Timelapse1090

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:

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.

Any ideas?

Don’t run pihole …

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

server.modules += ( "mod_setenv" )                                                                                                 

in file:

/etc/lighttpd/conf-enabled/89-dump1090-fa.conf

If that doesn’t help undo that step.
You can also check lighttpd logs if it’s defined twice (Debug commands · wiedehopf/adsb-wiki Wiki · GitHub)
It needs to be defined exactly once.

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.

Is updating timelapse1090 as simple as re-running the install command?

Most likely there is nothing to update, i haven’t improved it in a very long time.

But yes, i’d never make an install script you can’t run more than once …

commenting out
server.modules += ( “mod_setenv” )
in
/etc/lighttpd/conf-enabled/89-dump1090-fa.conf
and everything is fine. Thanks a lot.

The install script now does a better job at doing that automatically :slight_smile:
(which i wrote in my answer to you, you could have just rerun the install script to fix your issue)

But glad you found the solution.

Just installed this and loving it. Is there a way for me to easily make it look the same as my customised dump1090 map?

radar.clanlawrence.co.uk

Edit

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?

It won’t look the same like your other interface unless you know how to do it.
Would be quite some work.

You can always change via the map changer icon in your custom interface.
The icon is in the top right below the two other buttons.

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.

Yeah they use the same localStorage variable …

I haven’t worked on timelapse for quite a while, maybe i’ll improve it at some point.
Figure out the javascript and you can change it yourself :wink:

I’m in the process just now of attempting to change it to more match my own, getting there, slowly :wink:

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

Meh.
It should have a config.js somewhere you can tweak … :wink:

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.

1 Like

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!

It requires dump1090-fa.

Sorry, I am running dump1090-fa, though not the newest version.

Honestly i don’t know what the issue is and i haven’t used it in quite some time.

Maybe i can help you solve it yourself.

Can you share a sample of the json data it’s loading?