Strange response Aqara Opple switch Conbee

Moderator: leecollings

Post Reply
Obelix
Posts: 8
Joined: Thursday 25 February 2021 15:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Strange response Aqara Opple switch Conbee

Post by Obelix »

I have bought a 4 button Aqara Opple switch recently. I have already a 6 button switch working without any issues.
Now when I use this 4 button switch I have some strange responses in Domoticz error logging.

When I use the 4 buttons, I can see the expected response. (B1,B2, ... B2D etc.)
Only around 10-12 seconds after I have had the correct response it looks like Conbee II / Phoscon sends a additional response, that gives me errors in the logging.

Can someone help me with this strange behaviour?

2021-04-11 20:24:54.799 (deCONZ) onCommand called for Unit 13: Parameter 'Set Level', Level: 300, Hue:
2021-04-11 20:24:54.850 (deCONZ) onCommand called for Unit 13: Parameter 'Set Level', Level: 300, Hue:
2021-04-11 20:24:54.850 (deCONZ) onCommand called for Unit 13: Parameter 'Set Level', Level: 300, Hue:
2021-04-11 20:24:54.950 (deCONZ) onCommand called for Unit 13: Parameter 'Set Level', Level: 300, Hue:
2021-04-11 20:24:54.757 Status: User: Admin initiated a switch command (325/deCONZ - OPPLE switch 2-gang/Set Level)
2021-04-11 20:24:54.807 Status: User: Admin initiated a switch command (325/deCONZ - OPPLE switch 2-gang/Set Level)
2021-04-11 20:24:54.826 Status: User: Admin initiated a switch command (325/deCONZ - OPPLE switch 2-gang/Set Level)
2021-04-11 20:24:54.927 Status: User: Admin initiated a switch command (325/deCONZ - OPPLE switch 2-gang/Set Level)
2021-04-11 20:24:54.800 Error: (deCONZ) This device don't support action
2021-04-11 20:24:54.850 Error: (deCONZ) This device don't support action
2021-04-11 20:24:54.850 Error: (deCONZ) This device don't support action
2021-04-11 20:24:54.950 Error: (deCONZ) This device don't support action
Thorgal789
Posts: 849
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Strange response Aqara Opple switch Conbee

Post by Thorgal789 »

Hello, this error message happen when you try to send an order to a sensor. The aqara opple is " sensor" in the way it can send order but not revceive them. (you can reproduce it if trying to change the device state using the combo)
I think you have a script/scene that use the device n°325 as "light".
Obelix
Posts: 8
Joined: Thursday 25 February 2021 15:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Strange response Aqara Opple switch Conbee

Post by Obelix »

Hi Thorgal789,

Thank you for your response.
I have checked my script but I don't see that I am 'setting' the opple.
I am setting a Dummy switch in my testscript.

This is my script:

--Declarations
local SwitchNum = 327

return {
on = {
devices = {
SwitchNum -- Schakelaar
}
},
execute = function(domoticz, device)
--Declarations
local Switch = domoticz.devices(SwitchNum) --Schakelaar
local Dummy = domoticz.devices('Status Woonkamer schakelaar')

domoticz.log(Switch.name .. ' ' .. Switch.state, domoticz.LOG_INFO)
domoticz.log(Dummy.name .. ' ' .. Dummy.state, domoticz.LOG_INFO)

--Function
if (Switch.state == 'B1') and (Dummy.state== 'Off') then
Dummy.switchSelector('Level1')
domoticz.log('Short Press Aqara Opple Schakelaar (B1) 1e keer')
elseif
(Switch.state == 'Off') then
domoticz.log('Aqara Opple Schakelaar (B6T Nothing)')
elseif
(Switch.state == '') then
domoticz.log('Aqara Opple Schakelaar (Nothing)')
end
end
}



And this is the log:
Can you maybe further assist?

2021-04-13 16:48:43.652 (Status Woonkamer schakelaar ) Light/Switch (Status Woonkamer schakelaar)
2021-04-13 16:48:43.618 Status: dzVents: Info: Handling events for: "deCONZ - OPPLE switch 2-gang", value: "B1"
2021-04-13 16:48:43.618 Status: dzVents: Info: ------ Start internal script: Test Opple: Device: "deCONZ - OPPLE switch 2-gang (deCONZ)", Index: 327
2021-04-13 16:48:43.619 Status: dzVents: Info: deCONZ - OPPLE switch 2-gang B1
2021-04-13 16:48:43.619 Status: dzVents: Info: Status Woonkamer schakelaar Off
2021-04-13 16:48:43.619 Status: dzVents: Info: Short Press Aqara Opple Schakelaar (B1) 1e keer
2021-04-13 16:48:43.619 Status: dzVents: Info: ------ Finished Test Opple
2021-04-13 16:48:43.619 Status: EventSystem: Script event triggered: /home/pi/domoticz/dzVents/runtime/dzVents.lua
2021-04-13 16:48:45.842 (deCONZ) onCommand called for Unit 13: Parameter 'Set Level', Level: 300, Hue:
2021-04-13 16:48:45.792 Status: User: Admin initiated a switch command (327/deCONZ - OPPLE switch 2-gang/Set Level)
2021-04-13 16:48:45.894 Status: dzVents: Info: Handling events for: "deCONZ - OPPLE switch 2-gang", value: "Off"
2021-04-13 16:48:45.894 Status: dzVents: Info: ------ Start internal script: Test Opple: Device: "deCONZ - OPPLE switch 2-gang (deCONZ)", Index: 327
2021-04-13 16:48:45.895 Status: dzVents: Info: deCONZ - OPPLE switch 2-gang Off
2021-04-13 16:48:45.895 Status: dzVents: Info: Status Woonkamer schakelaar Level1
2021-04-13 16:48:45.895 Status: dzVents: Info: Aqara Opple Schakelaar (B6T Nothing)
2021-04-13 16:48:45.895 Status: dzVents: Info: ------ Finished Test Opple
2021-04-13 16:48:45.843 Error: (deCONZ) This device don't support action

It looks like the switch is triggered twice, but I am only pushing once.
Thorgal789
Posts: 849
Joined: Wednesday 15 August 2018 14:38
Target OS: -
Domoticz version:
Contact:

Re: Strange response Aqara Opple switch Conbee

Post by Thorgal789 »

Can come from setting on the device too, but

Code: Select all

2021-04-13 16:48:45.842 (deCONZ) onCommand called for Unit 13: Parameter 'Set Level', Level: 300, Hue:
2021-04-13 16:48:45.792 Status: User: Admin initiated a switch command (327/deCONZ - OPPLE switch 2-gang/Set Level)
You have something that send a set level command at the sensor device (idx = 327)
No "link" beetween the vitual switch and the other ? try to switch manualy the level of the dummy switch to see if it impact too the oople one.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest