Achronite / energenie-ener314rt

Node module for RaspberryPi energenie ener314-rt board, used by node-red-contrib-energenie-ener314rt
MIT License
4 stars 2 forks source link

Prevent EXERCISE_VALVE being sent twice to eTRV #39

Open Achronite opened 9 months ago

Achronite commented 9 months ago

Because any outstanding cached command is immediately sent for an eTRV there is a possibility that commands such as EXERCISE_VALVE are executed twice.

This change would quickly check Rec 0 of the eTRV message and perform appropriately. For EXERCISE_VALVE rec 0 is DIAGNOSTICS, but other commands require further investigation.

genestealer commented 8 months ago

Ah, I have seen this behaviour myself with the eTRV "calibrating" twice, I did wonder what was going on.