atanisoft / ESP32CommandStation

An ESP32 based DCC Command Station with integrated OpenLCB (LCC) --- NOTE: this project is not under active development.
https://atanisoft.github.io/ESP32CommandStation/
GNU General Public License v3.0
90 stars 34 forks source link

Additional field for physical location in the Turnouts Tab WebUI #101

Closed TrainzLuvr closed 2 years ago

TrainzLuvr commented 3 years ago

I flipped to the tab just now and looking at the turnout list realized that what's missing is their locations - something that would describe each turnout's place on the layout.

Question is whether it would be possible to query the description from the Node's EventID entered, so it is auto-populated if available, otherwise even a simple text field would be better than nothing.

I don't know how we are doing for local storage, so this description doesn't need to be 255 characters either.

atanisoft commented 3 years ago

Adding a "name" or "location name" field should be doable. Having the CS probe the OpenLCB Event ID description may be possible but it would be a considerable amount of work in a generic manner.