windkh / node-red-contrib-shelly

Shelly control nodes for node red.
MIT License
34 stars 21 forks source link

Dimming via slider not working after update #150

Closed ht38f closed 7 months ago

ht38f commented 7 months ago

I use a slider to dim the lights up/down. After the update when I dim to 0, the value is not taken into the shelly node. 1-99% works well, but if I go from example 30% down to 0% it stays at 30% Dimming to 0% via input directly via shelly components still works.

flows-14.json

windkh commented 7 months ago

Thanks for reporting. I will fix this as soon as I am back from vacation

ht38f commented 7 months ago

Thank you!

ht38f commented 7 months ago

This error is still present with update 10.21.0

windkh commented 7 months ago

@ht38f I am fixing the problems you discovered. However there are also bugs in your flow which you should adapt, too.

msg.on is always undefined --> this defaults to "on" msg.light is always undefined --> this defaults to 0

next relase should fix your problems

windkh commented 7 months ago

@ht38f thanks for reporting

ht38f commented 7 months ago

Thank you. Now it works!