collin80 / GEVCU

Generalized Electric Vehicle Control Unit
114 stars 56 forks source link

Ability to enable/disable devices from the website #79

Open collin80 opened 10 years ago

collin80 commented 10 years ago

Currently it is required to use the serial console to enable or disable devices. This is problematic for people who aren't well versed in handling serial consoles. It would be useful if a list of devices appeared in the website and could be checked or selected such that devices could be enabled or disabled as needed by the end user.

jrickard commented 10 years ago

That would be very cool.

neuweiler commented 9 years ago

I changed the devices and DeviceManager so that devices can be enabled/disabled while GEVCU is running. Without the need to reset GEVCU. it uses the normal setup() method plus an additional tearDown() method to properly shut-down the device. This would be a good base to enable / disable all devices from serial as well as via Web console. Will be committed to the ArduionoDue branch within the next 2 weeks

neuweiler commented 7 years ago

That's also included in todays pull request. You can dynamically activate/deactivate devices via the web config site - without the need to restart the system (most of the time)