Jump to content

Recommended Posts

Posted

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

  • Like 1
Posted
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)

Posted
3 hours ago, Dos said:

Hopefully you release the step by step soon

If you'd like to use it, I can share my code and explain how to use it. I haven't created a standalone setup file yet. I assume you're already using SignalRGB.

Posted

Heck yeah!

I just thought it was still work in progress. I have not used any of this. I asked Chatpgpt I kinda got an understanding but not complete. It gave me a script for Node.js but I do not know whether it should be on notepad++ and where is it saved. Then it gave me a script for SignalRGB which I used and put in the folder whirlwindFX/effects I created. FInally chatgpt gave me a script for my export lua. That is as far as I got the values of the script are not confirmed and probably wrong. So yes please. Especially how you got the a lamp integrated into DCS. You see the lamp hanging over the visor in pic I would like to have it turn on and off like the map light in the Hornet. It seems like what you put together here can make that work.

J

mip.jpg

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...