rdmtc/node-red-contrib-ccu

Sysvar node resets CCU variable

Ladis23 opened this issue · 2 comments

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

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

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