# Plane spotting with Node-RED

**URL:** https://discourse.nodered.org/t/plane-spotting-with-node-red/15771
**Category:** Share Your Projects
**Created:** [22 September 2019 09:14 UTC](https://discourse.nodered.org/t/plane-spotting-with-node-red/15771 "2019-09-22T09:14:04Z")
**Posts on this page:** 3
**Page:** 3

<div class="post-metadata">

### Author: ![Juerg](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juerg/32/83317_2.png) [@Juerg](https://discourse.nodered.org/u/Juerg)
#### Post date: [1 March 2022 21:26 UTC](https://discourse.nodered.org/t/plane-spotting-with-node-red/15771/41 "2022-03-01T21:26:47Z")

</div>

Thank you very much for your hint. I’m aware of the open sky api but unfortunately the coverage of open sky is in some regions on the eart rather weak compared to FR24. Re your observation I can only comment that I followed commercial as well as private airplanes as only those are of interest for me. But I fully agree, the api is excellent.

However, just in case you would have some insights into the node red flight radar node I would like to find a way to have the coordinates stored in that node dynamically changed so that I could follow automatically a certain flight of a business jet. Unfortunately I loose the aircraft once it is more than 100 km away from the node Centre coordinates.

Thank you and happy to get any idea to solve my challenge!

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [1 March 2022 21:45 UTC](https://discourse.nodered.org/t/plane-spotting-with-node-red/15771/42 "2022-03-01T21:45:58Z")

</div>

Ah right - I also forgot that you can configure that node to accept the lat lon by msg properties - eg  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/c/2c9927bfb7705e39682f3cf1e9ecee9d6ba0ea32.png)

Then you can just set it every time you call it.

maybe like this

```auto
[{"id":"f8ce24246794a0f0","type":"worldmap","z":"c31385261656417b","name":"","lat":"","lon":"","zoom":"","layer":"","cluster":"","maxage":"","usermenu":"show","layers":"show","panit":"false","panlock":"false","zoomlock":"false","hiderightclick":"false","coords":"false","showgrid":"false","allowFileDrop":"false","path":"/worldmap","overlist":"DR,CO,RA,DN,HM","maplist":"OSMG,OSMC,EsriC,EsriS,EsriT,EsriDG,UKOS,SW","mapname":"","mapurl":"","mapopt":"","mapwms":false,"x":840,"y":375,"wires":[]},{"id":"57a6eb9d710dcee9","type":"flightradar24","z":"c31385261656417b","lat":"payload.lat","latType":"msg","lon":"payload.lon","lonType":"msg","name":"","x":445,"y":375,"wires":[["0436ed4c8ce5abe5"]]},{"id":"0436ed4c8ce5abe5","type":"function","z":"c31385261656417b","name":"","func":"msg.payload.alt = msg.payload.altitude +\" ft\";\nmsg.payload.speed = msg.payload.speed +\" kts\";\nmsg.payload.rateOfClimb = msg.payload.rateOfClimb * 0.3048;\nmsg.payload.iconColor = '#910000';\nmsg.payload.ttl = 300;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":615,"y":375,"wires":[["f8ce24246794a0f0"]]},{"id":"5de9e7c3215a34e9","type":"worldmap in","z":"c31385261656417b","name":"","path":"/worldmap","events":"bounds","x":120,"y":375,"wires":[["aac697feccb00023"]]},{"id":"aac697feccb00023","type":"function","z":"c31385261656417b","name":"","func":"var la = (msg.payload.north + msg.payload.south) / 2;\nvar lo = (msg.payload.east + msg.payload.west) / 2;\n\nreturn {payload: {lat:la, lon:lo}};","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":270,"y":375,"wires":[["4ec15beaf9f9200d","57a6eb9d710dcee9"]]}]

```

---

<div class="post-metadata">

### Author: ![Juerg](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/juerg/32/83317_2.png) [@Juerg](https://discourse.nodered.org/u/Juerg)
#### Post date: [2 March 2022 15:31 UTC](https://discourse.nodered.org/t/plane-spotting-with-node-red/15771/43 "2022-03-02T15:31:35Z")

</div>

That's perfectly fine, thank you so much Sir!

[Previous page](https://discourse.nodered.org/t/plane-spotting-with-node-red/15771.md?page=2)
