I have a very strange phanomaen here with the zll-plugin:
I try to read-out the status (are they on or off) of one (or more) hue-lights which are integrated via the plugin to handle rules.
The attribute of “$hue_color-light.state” is a boolean (true/false) and visible in the variables page, but all attempts to read out this via rules are not working.
I tried different variants;
when state of hue_color-light-8 is on then..
doesn’t work (I guess because the ‘state’ is for switches and as I understand the bulbs class is not derived from this…
- Defined an expression variable (e.g. $hue-state") which includes “$hue_color-light.state” -> this generates a text-variable including “true” or “false”.
For 2. I tried a normal rule
when $hue-state = "true" then..
Funny: nether 2. works! The value is switching from false to true as expected if I switch the bulbs, but the rule doesn’t fire.
I get the impression, that the Hue-attributes are shown and are updated as expected, but pimatic (or the zll-plugin) doesn’t work with them as normal.
This might be a similar issue as here with the milight:
I also implemented the described workaround from this post with
$licht_kueche.state is increasing //triggers on change to true $licht_kueche.state is decreasing //triggers on change to false $licht_kueche.state > 0 //evaluetes true for true
which works for now. but I like to read out the attributes in a normal way.
Pimatic Version is 0.9.38
pimatic-hue-zll is the actual 0.3.1 (but same behaviour in the release before)