jeffsf / pyDE1

Controller for the Decent Espresso DE1
GNU General Public License v3.0
77 stars 16 forks source link

Persist Device-Specific Adjustment for Stop-At-Weight/Temperature #11

Open jeffsf opened 2 years ago

jeffsf commented 2 years ago

At the present time, the adjustment for stop-at-weight is provided through config.de1.STOP_AT_WEIGHT_ADJUST. Though sufficient for a single scale, it does require a restart of pyDE1 at this time to take effect. With stop-at-temperature imminent, enhance the behavior by persisting on a device-by-device basis and providing a reasonable API for control by clients. Provide some kind of reasonable migration from config-based to persisted setting.