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?
Group member not switching using blockly
Moderator: leecollings
-
- Posts: 3
- Joined: Thursday 24 September 2020 16:59
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Group member not switching using blockly
- Attachments
-
- blockly.jpg (60.88 KiB) Viewed 450 times
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Group member not switching using blockly
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?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 3
- Joined: Thursday 24 September 2020 16:59
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Group member not switching using blockly
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.
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.
-
- Posts: 3
- Joined: Thursday 24 September 2020 16:59
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Group member not switching using blockly
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.
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.
Who is online
Users browsing this forum: No registered users and 1 guest