Alaybozan1 Posted yesterday at 11:08 AM Posted yesterday at 11:08 AM A custom bridge and canvas effect for SignalRGB. I appreciate getting your feedback. Node.js Bridge: Collects exported cockpit data from DCS (gear, AoA, console lights, taxi, strobe, warning test, afterburner) and streams simplified JSON via WebSocket. HTML Canvas: Receives the data and turns it into real-time RGB lighting effects: • Gear → Red bar (up/down/transit) • AoA → Red / Yellow / Green indexer • Console → Green glow • Taxi → White top bar • Warning Test → Color grid • Strobe → Red blink • Afterburner → Orange flame 1
Alaybozan1 Posted 20 hours ago Author Posted 20 hours ago 57 minutes ago, Dos said: Hello, How is this done? TY/J I set this up by using DCS’s export data (Export.lua) to read cockpit light ID's. ID's (gear, AoA, strobe, afterburner etc.) are sent out to a small Node.js bridge. (working on powershell atm.) The bridge converts them into simple WebSocket messages. On the SignalRGB, I wrote a custom HTML canvas effect. That effect listens to the data and lights up my RGB. (Each lights position can be arranged right inside the SignalRGB canvas) So when gear moves, AoA blinks, or burners fire, my desk lights do the same. Still tweaking, i managed to get less latency today (50-100 ms)
Recommended Posts