SergiuToporjinschi / node-red-contrib-heater-controller

Heater controller for node-red dashboard
GNU General Public License v3.0
18 stars 17 forks source link

userConfig set control Locked - event the "isUserCustomLocked" is set false #38

Closed zoltantakacshu closed 4 years ago

zoltantakacshu commented 4 years ago

I'm still trying to retest all scenarios, how the control behaves, but it seems - if I send an "userConfig" message - the control UI sets "Locked" regardless the "isUserCustomLocked" value... The node output shows the correct value what was sent to the input, but the UI is always locking itself and acting as shows on the UI = locked.

Control - before sending userConfig: 1_control

node output: 1_output

userConfig input sent to the node: 2_input

Changed UI: 2_control

node output: 2_output

zoltantakacshu commented 4 years ago

recreated the complete flow in a test environment - and running some tests there.... and it seems it is working there - as it should work ... so maybe some other error on my main device. i will keep testing - and post the result...

zoltantakacshu commented 4 years ago

The issue was caused by the isUserCustomLocked value I sent to the node was a string "true" instead boolean. I fixed, now works fine. Closing the issue reported.