Page 1 of 1

Konke switch and Zigate

Posted: Friday 12 March 2021 11:10
by JanZorz
I'm observing somehow strange behaviour with Konke button switch (Model 3AFE170100510001). Every 5 minutes I see update in the log:

2021-03-07 19:34:13.591 Python Plugin System: (Zigate) UpdateDevice - (Konke switch) 0:00
2021-03-07 19:39:15.959 Python Plugin System: (Zigate) UpdateDevice - (Konke switch) 0:00
2021-03-07 19:44:18.324 Python Plugin System: (Zigate) UpdateDevice - (Konke switch) 0:00
2021-03-07 19:49:20.686 Python Plugin System: (Zigate) UpdateDevice - (Konke switch) 0:00
2021-03-07 19:54:23.051 Python Plugin System: (Zigate) UpdateDevice - (Konke switch) 0:00
2021-03-07 19:59:25.402 Python Plugin System: (Zigate) UpdateDevice - (Konke switch) 0:00
2021-03-07 20:04:27.769 Python Plugin System: (Zigate) UpdateDevice - (Konke switch) 0:00
2021-03-07 20:09:30.131 Python Plugin System: (Zigate) UpdateDevice - (Konke switch) 0:00

This is "Single click" state and that means that also action that is set for "Single click" will be executed every 5 minutes despite the fact that nobody is touching the button.

If I then press it twice (double click, value 1:00) and leave the button alone - this starts happening:
2021-03-12 10:38:14.826 Python Plugin System: (Zigate) UpdateDevice - (Konke switch) 1:10
2021-03-12 10:43:17.147 Python Plugin System: (Zigate) UpdateDevice - (Konke switch) 1:10
2021-03-12 10:48:19.484 Python Plugin System: (Zigate) UpdateDevice - (Konke switch) 1:10
2021-03-12 10:53:21.821 Python Plugin System: (Zigate) UpdateDevice - (Konke switch) 1:10
2021-03-12 10:58:24.152 Python Plugin System: (Zigate) UpdateDevice - (Konke switch) 1:10
2021-03-12 11:03:26.483 Python Plugin System: (Zigate) UpdateDevice - (Konke switch) 1:10
2021-03-12 11:08:28.822 Python Plugin System: (Zigate) UpdateDevice - (Konke switch) 1:10

It starts repeating the last state and "simulating" that I pressed the button.

I have several Aqara switches connected to the same Zigate controller, but their behaviour is "update when you press it". Is this a normal behaviour for Konke device?

Connected to Zigate controller, Plugin: 4.12.203 Firmware: 031d

Cheers, Jan

Re: Konke switch and Zigate

Posted: Friday 12 March 2021 11:25
by pipiche
looks strange, something like the switch is sending status update ...

could you kindly attached the export.json from "Plugin Device List RAW (json)" this is from Web UI Tools

Re: Konke switch and Zigate

Posted: Monday 15 March 2021 10:18
by JanZorz
{"App Version":"23","Battery":80,"ConsistencyCheck":"ok","DeviceType":"RFD","Ep":[{"ClusterList":[{"0000":"Basic"},{"0001":"Power Configuration"},{"0003":"Identify"},{"0004":"Groups"},{"0005":"Scenes"},{"0006":"On/Off"}],"Ep":"01"}],"HW Version":"1","Health":"Live","IEEE":"086bd7fffe91577a","LQI":96,"LastCmds":[],"LastSeen":"15/03/2021 10:11:40","LogicalType":"End Device","Manufacturer":"","Model":"3AFE170100510001","PowerSource":"Battery","ProfileID":"0104","ReceiveOnIdle":"","Stack Version":"1","Stamp":{"LastSeen":"15/03/2021 10:11:40","MsgType":"8011","Time":"2021-03-15 10:11:40","time":1615799500.4898803},"Status":"inDB","Type":"SwitchAQ2","WidgetList":[{"WidgetName":"Okrogel gumb - biljard Konke","WidgetType":"SwitchAQ2","_WidgetID":"625"}],"ZDeviceID":"0002","ZDeviceName":"Konke - gumb","_NwkId":"4f27"}

Re: Konke switch and Zigate

Posted: Monday 15 March 2021 10:20
by JanZorz
If I press the Konke button - it reacts and works (device switches on or off), problem is just that regular 5 minutes updates that are spontaneously switching that light on and off - and that might get a little bit annoying over time :)

Cheers and thnx, Jan

Re: Konke switch and Zigate

Posted: Monday 15 March 2021 12:11
by pipiche
Jan can you try the following

1/update to the latest version of beta branch: 4.12.209

2/ Remove the the device widget from Domoticz to get it fully removed

3/ In the plugin Advanced Settings enable: 'doUnbindBind'

4/ Switch the Pairing mode 'Accept new Hardware' On

and pair the the Konke switch

Re: Konke switch and Zigate

Posted: Friday 19 March 2021 14:43
by JanZorz
Much better now, thnx!

Plugin version is 4.12.217 and all works as expected... well, One click (0:00) and Two clicks (1:10) works as expected, Three Clicks doesn't work if you press three times - but you need to do a long press and then you get 2:20 value out of it.

Cheers and thnx, Jan