Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 579 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 579 Bytes

Read X Plane datarefs with node.js

Simple node script to fetch datarefs directly from x-plane, without the need for a plugin

Make sure x-plane is running (change the IP-address in the script if you are running this from a different machine on the same network as the computer where X Plane is running)

$ node udp.js

X Plane will respond with the requested values at you chosen frequency.

See inline comments for explanation about X Plane's data structures and how to read decode the response.

Official list of available datarefs: https://developer.x-plane.com/datarefs/