Page 1 of 1
Group member not switching using blockly
Posted: Friday 25 September 2020 16:03
by Shade
Hi,
I have a group containing 4 members: 3 Hue lights and a Kaku switched lamp.
When I manualy switch the group on or off, all lights respond.
However, when i use blockly to turn the group on or off, all the Hue lights respond, but the Kaku switched lamp does not.
The problem is consistent; manual always succeeds, blockly always fails.
The blockly is really simple, just a dusk sensor as a trigger and a user var to prevent flapping (the var is reset daily in another script).
Anyone got a clue?
Re: Group member not switching using blockly
Posted: Friday 25 September 2020 17:37
by waaren
Shade wrote: ↑Friday 25 September 2020 16:03
When I manualy switch the group on or off, all lights respond.
However, when i use blockly to turn the group on or off, all the Hue lights respond, but the Kaku switched lamp does not.
Sometimes the KaKu signal is not picked up by a device if too many signals are send at the same time or shortly after each other.
For both (manual and Blockly controlled); what do you see in the log?
Can you also try to switch the KaKu also as individual device in the Blockly?
Re: Group member not switching using blockly
Posted: Friday 25 September 2020 19:21
by Shade
To improve Kaku reliability I implemented this LUA script:
viewtopic.php?t=16933
I've set it to 2 additional events, so the signals are transmitted 3 times in total.
Today the dusk sensor activated at 18:20 resulting in the following entry in the domoticz log:
2020-09-25 18:20:01.354 Status: EventSystem: Script event triggered: 433MHz reliability
When looking at the Kaku switched lamp log this is confirmed with:
2020-09-25 18:20:02 On EventSystem/433MHz reliability
2020-09-25 18:20:02 On EventSystem/433MHz reliability
2020-09-25 18:20:01 On EventSystem/Woonkamer lampen aan_1
The same goes for activating the group manualy : the LUA script is triggered and shown in the eventlog.
The logging is exactly the same except that the Kaku signal is not actually send when triggered by blockly.
Re: Group member not switching using blockly
Posted: Sunday 11 October 2020 19:25
by Shade
Last week I migrated my Domoticz setup from my nas to a dedicated raspberry pi. That made no difference, the behaviour was still the same (although I did import the db from my nas, so the problem may have been copied as well).
Also made a seperate blockly to switch the kaku lamp, but it makes no difference.
One last thing I can think of is that the kaku switch is very old. It still uses the ARC signal in stead of the newer AC signal. Think I'm gonna try to get a newer model.