I am Alessio, a seventeen year old boy from Italy :)
In Italy our trains are equipped with a system that detects door lock (called "IPA" = open doors indicator), if one or more doors are open, a warning light turns on in cab.
I was wondering if it was possible, through the use of the webserver, to reproduce the lighting of a led connected to an arduino or similar microcontrollers after pressing Q (opening doors command).
I dont't know how to send data from OR to a ESP32 microcontroller that it's connected to a LED
I'm connected to the webserver using port 2150, and I noticed that from there you can see the status of the doors (closed or open) in some screen (e.g. the "Head Up Display (Alt+F5)").
After pressing alt+F5 in OR, while doors are open, a message appears in OR and in the webserver (watch the attached screenshot).
I took a look but I didn't understand much about the scripts and how OR send to webserver the data about the status of doors.
Can someone help me? :)
thank you :))
This post has been edited by Alessio: 24 April 2022 - 09:01 AM