ioBroker / ioBroker.wolf

Connect WOLF heating, solar and domestic ventilation
MIT License
25 stars 16 forks source link

Write values back to wolf from other sources #48

Closed cracker0dks closed 3 years ago

cracker0dks commented 3 years ago

Atm we can only change values of the wolf device through the iobroker GUI. But if we have, lets say, mqtt enabled, and subscribed to a topic (to change a values with mqtt commands), the value was changed in the iobroker GUI but not send to the wolf device. With this change, we always also update the wolf device if the change is not coming from the wolf device itself.

Apollon77 commented 3 years ago

No, sorry the code was completely correct before!

If you want to send a command out to a device the ack-flag needs to be false. This means "command" aks "Control device".

cracker0dks commented 3 years ago

Oh ok sry, didn't know that. Saw the ack-flag but saw no option for an edit mode or something. Found out (right know) you can change that flag in RAW mode. Thanks

Apollon77 commented 3 years ago

All good. no issue ... thank you for your collaboration