-
Notifications
You must be signed in to change notification settings - Fork 13
How it works
Please take a look at this flowchart. This flowchart is simple representation of decision process. Green color denotes variables.
Arduino sketch runs python script nsm.py
located in /root. And then check if it's running.
If not, runs it again from beginning. This script reads status from MAX! Cube and if any of radiator
thermostat's valve is opened above valve_pos
value, the relay is switched on, thus boiler/DHW is switched on.
This is done by saving char into the 'msg' bridge value, which is readable at Arduino (32u4) side.
Heating also can be started if sum of radiator valves positions are geater than num_of_valves * stp.per_switch
,
where stp.per_switch
is value in %. So if you have 10 valves in house and stp.per_switch=8
, and sum of these
valves positions are 80+, relay is switched on. You can turn on this feature by stp.preference="per"
in python code.
If you need only simple total value, set stp.preference="total"
and setup total_switch
variable.
On start LEDs blink 4 times, then remains lit until arduino yun bridge component is initialized. Then blinks 4 times again.