Hi Everyone, since the last fix in July 2023 it has worked really well.
However something has changed again.
It's no longer collecting data and is failing with the error - SyntaxError: Unexpected token ':'
This started to happen in the last few days and is the same on two different installations.
I have no idea how to fix this, anyone able to help please?
#node-red-contrib-flightradar24 hasn't been updated in over 3 years and after looking at the GitHub issues page you will see that it looks like flightradar24 has made some changes.
There is a possible work around in one of the issues you can try.
I simply edited the file - /home/pi/.node-red/node_modules/flightradar24-client/lib/radar.js
The following line is about 8 lines down from the top. I changed the line - const endpoint = 'https://data-live.flightradar24.com/zones/fcgi/feed.js' To be - const endpoint = 'https://data-cloud.flightradar24.com/zones/fcgi/feed.js'
Saved the file, started Node-Red and all done and working.