havber / X-Plane-Datarefs-with-nodejs

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/

About

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


Languages

Language:JavaScript 100.0%