rdmtc / node-red-contrib-ccu

Node-RED Nodes for the Homematic CCU
https://flows.nodered.org/node/node-red-contrib-ccu
MIT License
70 stars 13 forks source link

Sysvar node resets CCU variable #171

Closed Ladis23 closed 1 year ago

Ladis23 commented 1 year ago

Hello, I am using the "sysvar" node to read s system variable from CCU3 every 30sec. image The variable is set by a simple CCU program depending on eTRV valve position. If the valve is open more than 10% the variable is set to 1 otherwise is 0. The progran is set to check the valve position every 20sec. image

The issue I'm having is that every time the sysvar node reads the variable it sets it to 0 in the CCU. Therefore the output to node red is always 0. image

Is this a bug or I am doing something wrong? Thank you

Ladis23 commented 1 year ago

Sorted - "sysvar" node doesn't need inject to read the ccu variable. image This works fine :)

andesse commented 1 year ago

Sorted - "sysvar" node doesn't need inject to read the ccu variable.

image

This works fine :)

Yes, if you inject anything in the node with an payload, the Var usually takes that value. As you figured already out, the var will almost instantly send the state when it changed.

Gruß Andreas