home-climate-control / dz

Home Climate Control Core: *the* Open Source multi-zone temperature and climate control system.
http://homeclimatecontrol.com/
GNU General Public License v3.0
59 stars 7 forks source link

Allow ProcessController to exist without a setpoint #314

Closed climategadgets closed 3 months ago

climategadgets commented 5 months ago

Existing Behavior

ProcessController#setpoint must exist no matter what.

Corner Cases Not Covered

This behavior forces the system to assign a default setpoint at startup, which may or may not be reasonable - rather not; case in point, a "middle" value of 23C will be way too hot for heating in Europe, and way too cold for cooling in Arizona.

Desired Behavior

Missing setpoint value is translated into an error signal of type "value missing" on the output, and into null values on getSetpoint() and getError().

Related Issues

267