Mic-M / ioBroker.smartcontrol

Control devices smarter: by grouping, including triggers like motion, opening window, etc. and set target devices accordingly
MIT License
23 stars 13 forks source link

interfering state change on similar target devices #261

Open nop-stack opened 1 year ago

nop-stack commented 1 year ago

my use case that triggered the bug

I created 2 target devices related to hot water heating. Both referencing the same datapoint with same target temperatures for on/off states. One is called hotwater for normal heating mode and the other one hotwater-short for triggered heating. I experienced that both states of the target devices are always identical, so that dependencies between will not work. The decision to switch off hotwater when currently in state on, is also given when hotwater-short is on. But in this a timed running of hotwater-short would be interrupted before timing out.

my bug assumption

What I found out is, that when I manually switch the state of one of both devices, the other one also switches. That is not desired, because they should work independently. So I changed the target temperatures of one device to re-test behaviour. And yes now it works! So it seems, that target devices are uniquely identified by data point name and value. And for my case is that not unique.

mcm1957 commented 6 months ago

This adapter has been moved to iobroker-community-adapters. DO NOT OPEN ANY NEW ISSUES HERE as they will not be processed.

This adapter is now maintained at

https://github.com/iobroker-community-adapters/ioBroker.smartcontrol

Please open issues at this repository if you encounter any problem.

see https://github.com/Mic-M/ioBroker.smartcontrol/issues/248