ESP32CommandStation icon indicating copy to clipboard operation
ESP32CommandStation copied to clipboard

CDI: Missing ability to control OPS track power. All other options should be added as well...

Open TrainzLuvr opened this issue 5 years ago • 2 comments

There's no button in the JMRI/CDI to create an event to turn the OPS track power on/off.

Kinda bummer if you want to control something like that from a panel and not a WebUI.

For that matter, all of the rest of the options should be added (Turnouts, Sensors...)

TrainzLuvr avatar Oct 20 '20 02:10 TrainzLuvr

Jmri doesn't expose the option today but you can control on/off state of OPS track by send events to the bus. Similarly estop can be sent.

This will need to be enhanced on the jmri side. For panels, you could have them fire the events.

atanisoft avatar Oct 20 '20 10:10 atanisoft

well-known events that control the areas you are after:

The current iteration of sensors will not be added to the CDI as it doesn't make sense due to limited number of IO pins available. S88 Sensors may be added to the CDI at some point in the future but that can be tracked via it's own issue.

Turnouts can be controlled via DCC address or via LCC events:

Other well-known events that may be generated by the CS:

atanisoft avatar Oct 20 '20 11:10 atanisoft