Osram Plug enter in loop on/off with Zigate

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
dondipietro
Posts: 19
Joined: Thursday 28 March 2019 11:11
Target OS: Linux
Domoticz version: 2021.1
Contact:

Osram Plug enter in loop on/off with Zigate

Post by dondipietro »

Hello,
Is seems that when I turn on the plug in domoticz, it turn on then off 1 to 3 times :
I try with a timer but it doesn t help.
It is like the status comming from the plug sent to domoticz make domoticz sending a switch command to the same plug in a loop :?:

Here is the log :



2019-03-16 09:52:57.472 (zigate1) onHeartbeat - busy = False
2019-03-16 09:52:57.964 Delaying switch [zigate1 - Plug 4 -84182600000c7707-03] action (On) for 2 seconds
2019-03-16 09:52:57.963 Status: User: Admin initiated a switch command (161/zigate1 - Plug 4 -84182600000c7707-03/On)
2019-03-16 09:53:00.032 (zigate1) onCommand - unit: 8, command: On, level: 0, color:
2019-03-16 09:53:00.032 (zigate1) onCommand called for Devices[8].Name: zigate1 - Plug 4 -84182600000c7707-03 SwitchType: 0 Command: On Level: 0 Color:
2019-03-16 09:53:00.032 (zigate1) mgtCommand - NWKID = 270d
2019-03-16 09:53:00.032 (zigate1) mgtCommand : found Device : 161 in Ep 03 Plug
2019-03-16 09:53:00.032 (zigate1) mgtCommand - List of TypeName : ['Plug']
2019-03-16 09:53:00.032 (zigate1) mgtCommand - DeviceType : Plug
2019-03-16 09:53:00.033 (zigate1) mgtCommand : Found Ep 03 for Device 161 Cluster 0006
2019-03-16 09:53:00.033 (zigate1) EPout = 03
2019-03-16 09:53:00.033 (zigate1) UpdateDevice_v2 for : 8 Battery Level = {} Signal Level = 100
2019-03-16 09:53:00.033 (zigate1) UpdateDevice_v2 for : 8 RSSI = 5
2019-03-16 09:53:00.033 (zigate1) UpdateDevice - (zigate1 - Plug 4 -84182600000c7707-03) 1:On
2019-03-16 09:53:00.034 (zigate1) Update Values 1:'On:' (zigate1 - Plug 4 -84182600000c7707-03)
2019-03-16 09:53:00.034 (zigate1 - Plug 4 -84182600000c7707-03) Updating device from 0:'Off' to have values 1:'On'.
2019-03-16 09:53:00.043 (zigate1) Sending 21 bytes of data
2019-03-16 09:53:00.044 (zigate1) 01 02 10 92 02 10 02 16 bf 02 12 27 02 1d 02 11 02 13 02 11 ...�....�..'........
2019-03-16 09:53:00.044 (zigate1) 03 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .
2019-03-16 09:53:00.144 (zigate1) Received 47 bytes of data
2019-03-16 09:53:00.144 (zigate1) 01 80 02 10 02 10 02 15 63 02 10 74 02 10 92 02 10 03 01 81 .�......c..t..�....�
2019-03-16 09:53:00.144 (zigate1) 02 12 02 10 02 1e db 02 13 27 02 1d 02 13 02 10 02 16 02 10 ......�..'..........
2019-03-16 09:53:00.144 (zigate1) 02 10 02 10 10 02 10 .. .. .. .. .. .. .. .. .. .. .. .. .. .......
2019-03-16 09:53:00.144 (zigate1) Received 6 bytes of data
2019-03-16 09:53:00.144 (zigate1) 02 11 02 11 6a 03 .. .. .. .. .. .. .. .. .. .. .. .. .. .. ....j.
2019-03-16 09:53:00.145 (zigate1) ZigateRead - decoded data : 018000000563007400920003 lenght : 24
2019-03-16 09:53:00.145 (zigate1) ZigateRead - MsgType: 8000, MsgLength: 0005, MsgCRC: 63, Data: 00740092; RSSI: 00
2019-03-16 09:53:00.145 (zigate1) ZigateRead - MsgType 8000 - reception status : 018000000563007400920003
2019-03-16 09:53:00.145 (zigate1) Decode8000_v2 - MsgData lenght is : 8 out of 8
2019-03-16 09:53:00.145 (zigate1) Decode8000_v2 - status: Success SEQ: 74 Packet Type: 0092
2019-03-16 09:53:00.146 (zigate1) ZigateRead - decoded data : 018102000edb03270d030006000000100001016a03 lenght : 42
2019-03-16 09:53:00.146 (zigate1) ZigateRead - MsgType: 8102, MsgLength: 000e, MsgCRC: db, Data: 03270d03000600000010000101; RSSI: 6a
2019-03-16 09:53:00.146 (zigate1) ZigateRead - MsgType 8102 - Report Individual Attribute response : 018102000edb03270d030006000000100001016a03
2019-03-16 09:53:00.146 (zigate1) Decode8102 - Individual Attribute response : [270d:03] ClusterID: 0006 AttributeID: 0000 Status: 00 Type: 10 Size: 0001 ClusterData: >01<
2019-03-16 09:53:00.146 (zigate1) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-16 09:53:00.146 (zigate1) Decode8102 : Attribute Report from 270d SQN = 03 ClusterID = 0006 AttrID = 0000 Attribute Data = 01
2019-03-16 09:53:00.146 (zigate1) Not the good Domoticz level for Touch
2019-03-16 09:53:00.147 (zigate1) Device : 270d MacCapa : 8e updating SQN to 03
2019-03-16 09:53:00.147 (zigate1) ReadCluster - MsgData lenght is: 26 out of 24+
2019-03-16 09:53:00.147 (zigate1) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-16 09:53:00.147 (zigate1) ReadCluster - 0006 NwkId: 270d Ep: 03 AttrId: 0000 AttyType: 10 Attsize: 0001 Status: 00 AttrValue: 01
2019-03-16 09:53:00.147 (zigate1) MajDomoDevice - Device ID : 84182600000c7707 - Device EP : 03 - Type : 0006 - Value : 01 - Hue : - Attribute_ :
2019-03-16 09:53:00.147 (zigate1) ClusterSearch - Cluster: 0006, ProfileID: , ZDeviceID: , create: False
2019-03-16 09:53:00.147 (zigate1) MajDomoDevice - Type = Switch
2019-03-16 09:53:00.147 (zigate1) MajDomoDevice - NWKID = 270d IEEE = 84182600000c7707 Unit = 161
2019-03-16 09:53:00.148 (zigate1) MajDomoDevice - {'0004': {}, '1000': {}, '0006': '00', 'ClusterType': {'161': 'Plug'}, '0003': {}, 'Type': 'Plug', '0005': {}, '0019': {}, '0000': {}}
2019-03-16 09:53:00.148 (zigate1) MajDomoDevice - We have 1 EPs with ClusterType
2019-03-16 09:53:00.148 (zigate1) MajDomoDevice - NWKID: 270d SwitchType: 0, DeviceType: Plug, ClusterType: Switch, old_nVal: 1 , old_sVal: On
2019-03-16 09:53:00.148 (zigate1) UpdateDevice_v2 for : 8 Battery Level = {} Signal Level = 106
2019-03-16 09:53:00.148 (zigate1) UpdateDevice_v2 for : 8 RSSI = 5
2019-03-16 09:53:00.148 (zigate1) ReadCluster - ClusterId=0006 - reception General: On/Off: 01
2019-03-16 09:53:02.052 (zigate1) onCommand - unit: 8, command: Off, level: 0, color:
2019-03-16 09:53:02.052 (zigate1) onCommand called for Devices[8].Name: zigate1 - Plug 4 -84182600000c7707-03 SwitchType: 0 Command: Off Level: 0 Color:
2019-03-16 09:53:02.052 (zigate1) mgtCommand - NWKID = 270d
2019-03-16 09:53:02.052 (zigate1) mgtCommand : found Device : 161 in Ep 03 Plug
2019-03-16 09:53:02.052 (zigate1) mgtCommand - List of TypeName : ['Plug']
2019-03-16 09:53:02.052 (zigate1) mgtCommand - DeviceType : Plug
2019-03-16 09:53:02.052 (zigate1) mgtCommand : Found Ep 03 for Device 161 Cluster 0006
2019-03-16 09:53:02.052 (zigate1) EPout = 03
2019-03-16 09:53:02.053 (zigate1) UpdateDevice_v2 for : 8 Battery Level = {} Signal Level = 106
2019-03-16 09:53:02.053 (zigate1) UpdateDevice_v2 for : 8 RSSI = 5
2019-03-16 09:53:02.053 (zigate1) UpdateDevice - (zigate1 - Plug 4 -84182600000c7707-03) 0:Off
2019-03-16 09:53:02.053 (zigate1) Update Values 0:'Off:' (zigate1 - Plug 4 -84182600000c7707-03)
2019-03-16 09:53:02.053 (zigate1 - Plug 4 -84182600000c7707-03) Updating device from 1:'On' to have values 0:'Off'.
2019-03-16 09:53:02.063 (zigate1) Sending 21 bytes of data
2019-03-16 09:53:02.063 (zigate1) 01 02 10 92 02 10 02 16 be 02 12 27 02 1d 02 11 02 13 02 10 ...�....�..'........
2019-03-16 09:53:02.063 (zigate1) 03 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .
2019-03-16 09:53:02.163 (zigate1) Received 18 bytes of data
2019-03-16 09:53:02.163 (zigate1) 01 80 02 10 02 10 02 15 62 02 10 75 02 10 92 02 10 03 .. .. .�......b..u..�...
2019-03-16 09:53:02.164 (zigate1) ZigateRead - decoded data : 018000000562007500920003 lenght : 24
2019-03-16 09:53:02.164 (zigate1) ZigateRead - MsgType: 8000, MsgLength: 0005, MsgCRC: 62, Data: 00750092; RSSI: 00
2019-03-16 09:53:02.164 (zigate1) ZigateRead - MsgType 8000 - reception status : 018000000562007500920003
2019-03-16 09:53:02.164 (zigate1) Decode8000_v2 - MsgData lenght is : 8 out of 8
2019-03-16 09:53:02.164 (zigate1) Decode8000_v2 - status: Success SEQ: 75 Packet Type: 0092
2019-03-16 09:53:02.465 (zigate1) onHeartbeat - busy = False
2019-03-16 09:53:08.739 (zigate1) ZigateRead - MsgType: 8140, MsgLength: 0005, MsgCRC: 83, Data: 01200001; RSSI: 67
2019-03-16 09:53:08.740 (zigate1) ZigateRead - MsgType 8140 - Reception Attribute discovery response : 018140000583012000016703
2019-03-16 09:53:08.740 (zigate1) ZigateRead - decoded data : 018140000581012100026703 lenght : 24
2019-03-16 09:53:08.740 (zigate1) ZigateRead - MsgType: 8140, MsgLength: 0005, MsgCRC: 81, Data: 01210002; RSSI: 67
2019-03-16 09:53:08.740 (zigate1) ZigateRead - MsgType 8140 - Reception Attribute discovery response : 018140000581012100026703
2019-03-16 09:53:08.741 (zigate1) ZigateRead - decoded data : 0181400005b1011000036703 lenght : 24
2019-03-16 09:53:08.741 (zigate1) ZigateRead - MsgType: 8140, MsgLength: 0005, MsgCRC: b1, Data: 01100003; RSSI: 67
2019-03-16 09:53:08.741 (zigate1) ZigateRead - MsgType 8140 - Reception Attribute discovery response : 0181400005b1011000036703
2019-03-16 09:53:08.742 (zigate1) ZigateRead - decoded data : 0181400005be011800046703 lenght : 24
2019-03-16 09:53:08.742 (zigate1) ZigateRead - MsgType: 8140, MsgLength: 0005, MsgCRC: be, Data: 01180004; RSSI: 67
2019-03-16 09:53:08.742 (zigate1) ZigateRead - MsgType 8140 - Reception Attribute discovery response : 0181400005be011800046703
2019-03-16 09:53:08.742 (zigate1) Sending 31 bytes of data
2019-03-16 09:53:08.742 (zigate1) 01 02 11 40 02 10 02 1c 81 02 12 27 02 1d 02 11 02 13 02 10 ...@....�..'........
2019-03-16 09:53:08.742 (zigate1) 19 02 10 02 10 02 10 02 10 ff 03 .. .. .. .. .. .. .. .. .. .........�.
2019-03-16 09:53:08.842 (zigate1) Received 39 bytes of data
2019-03-16 09:53:08.842 (zigate1) 01 80 02 10 02 10 02 15 46 02 10 82 02 11 40 02 10 03 01 81 .�......F..�..@....�
2019-03-16 09:53:08.843 (zigate1) 02 11 02 10 02 17 78 82 02 13 02 10 19 02 1c 02 11 6a 03 .. ......x�.........j.
2019-03-16 09:53:08.844 (zigate1) ZigateRead - decoded data : 018000000546008201400003 lenght : 24
2019-03-16 09:53:08.844 (zigate1) ZigateRead - MsgType: 8000, MsgLength: 0005, MsgCRC: 46, Data: 00820140; RSSI: 00
2019-03-16 09:53:08.844 (zigate1) ZigateRead - MsgType 8000 - reception status : 018000000546008201400003
2019-03-16 09:53:08.844 (zigate1) Decode8000_v2 - MsgData lenght is : 8 out of 8
2019-03-16 09:53:08.844 (zigate1) Decode8000_v2 - status: Success SEQ: 82 Packet Type: 0140
2019-03-16 09:53:08.844 (zigate1) ZigateRead - decoded data : 018101000778820300190c016a03 lenght : 28
2019-03-16 09:53:08.844 (zigate1) ZigateRead - MsgType: 8101, MsgLength: 0007, MsgCRC: 78, Data: 820300190c01; RSSI: 6a
2019-03-16 09:53:08.845 (zigate1) ZigateRead - MsgType 8101 - Default Response: 018101000778820300190c016a03
2019-03-16 09:53:08.845 (zigate1) Decode8101 - Default response - SQN: 82, EP: 03, ClusterID: 0019 , DataCommand: 0c, - Status: [01] Incorrect Parameters
2019-03-16 09:53:08.845 (zigate1) Sending 32 bytes of data
2019-03-16 09:53:08.845 (zigate1) 01 02 11 40 02 10 02 1c 98 02 12 27 02 1d 02 11 02 13 02 10 ...@....�..'........
2019-03-16 09:53:08.845 (zigate1) 02 10 02 10 02 10 02 10 02 10 ff 03 .. .. .. .. .. .. .. .. ..........�.
2019-03-16 09:53:08.945 (zigate1) Received 18 bytes of data
2019-03-16 09:53:08.945 (zigate1) 01 80 02 10 02 10 02 15 47 02 10 83 02 11 40 02 10 03 .. .. .�......G..�..@...
2019-03-16 09:53:08.945 (zigate1) Received 168 bytes of data
2019-03-16 09:53:08.945 (zigate1) 01 81 40 02 10 02 15 82 02 11 20 02 10 02 10 67 03 01 81 40 .�@....�.......g..�@
2019-03-16 09:53:08.945 (zigate1) 02 10 02 15 83 02 11 20 02 10 02 11 67 03 01 81 40 02 10 02 ....�.......g..�@...
2019-03-16 09:53:08.946 (zigate1) 15 80 02 11 20 02 10 02 12 67 03 01 81 40 02 10 02 15 81 02 .�.......g..�@....�.
2019-03-16 09:53:08.946 (zigate1) 11 20 02 10 02 13 67 03 01 81 40 02 10 02 15 e4 02 11 42 02 ......g..�@....�..B.
2019-03-16 09:53:08.946 (zigate1) 10 02 14 67 03 01 81 40 02 10 02 15 e5 02 11 42 02 10 02 15 ...g..�@....�..B....
2019-03-16 09:53:08.946 (zigate1) 67 03 01 81 40 02 10 02 15 e6 02 11 42 02 10 02 16 67 03 01 g..�@....�..B....g..
2019-03-16 09:53:08.946 (zigate1) 81 40 02 10 02 15 95 02 11 30 02 10 02 17 67 03 01 81 40 02 �@....�..0....g..�@.
2019-03-16 09:53:08.946 (zigate1) 10 02 15 a0 02 11 10 02 10 12 67 03 01 81 40 02 10 02 15 a0 ...�......g..�@....�
2019-03-16 09:53:08.946 (zigate1) 02 11 42 40 02 10 67 03 .. .. .. .. .. .. .. .. .. .. .. .. [email protected].
2019-03-16 09:53:08.946 (zigate1) ZigateRead - decoded data : 018000000547008301400003 lenght : 24
2019-03-16 09:53:08.947 (zigate1) ZigateRead - MsgType: 8000, MsgLength: 0005, MsgCRC: 47, Data: 00830140; RSSI: 00
2019-03-16 09:53:08.947 (zigate1) ZigateRead - MsgType 8000 - reception status : 018000000547008301400003
2019-03-16 09:53:08.947 (zigate1) Decode8000_v2 - MsgData lenght is : 8 out of 8
2019-03-16 09:53:08.947 (zigate1) Decode8000_v2 - status: Success SEQ: 83 Packet Type: 0140
2019-03-16 09:53:08.947 (zigate1) ZigateRead - decoded data : 018140000582012000006703 lenght : 24
2019-03-16 09:53:08.947 (zigate1) ZigateRead - MsgType: 8140, MsgLength: 0005, MsgCRC: 82, Data: 01200000; RSSI: 67
2019-03-16 09:53:08.948 (zigate1) ZigateRead - MsgType 8140 - Reception Attribute discovery response : 018140000582012000006703
2019-03-16 09:53:08.948 (zigate1) ZigateRead - decoded data : 018140000583012000016703 lenght : 24
2019-03-16 09:53:08.948 (zigate1) ZigateRead - MsgType: 8140, MsgLength: 0005, MsgCRC: 83, Data: 01200001; RSSI: 67
2019-03-16 09:53:08.948 (zigate1) ZigateRead - MsgType 8140 - Reception Attribute discovery response : 018140000583012000016703
2019-03-16 09:53:08.949 (zigate1) ZigateRead - decoded data : 018140000580012000026703 lenght : 24
2019-03-16 09:53:08.949 (zigate1) ZigateRead - MsgType: 8140, MsgLength: 0005, MsgCRC: 80, Data: 01200002; RSSI: 67
2019-03-16 09:53:08.949 (zigate1) ZigateRead - MsgType 8140 - Reception Attribute discovery response : 018140000580012000026703
2019-03-16 09:53:08.949 (zigate1) ZigateRead - decoded data : 018140000581012000036703 lenght : 24
2019-03-16 09:53:08.949 (zigate1) ZigateRead - MsgType: 8140, MsgLength: 0005, MsgCRC: 81, Data: 01200003; RSSI: 67
2019-03-16 09:53:08.950 (zigate1) ZigateRead - MsgType 8140 - Reception Attribute discovery response : 018140000581012000036703
2019-03-16 09:53:08.950 (zigate1) ZigateRead - decoded data : 0181400005e4014200046703 lenght : 24
2019-03-16 09:53:08.950 (zigate1) ZigateRead - MsgType: 8140, MsgLength: 0005, MsgCRC: e4, Data: 01420004; RSSI: 67
2019-03-16 09:53:08.950 (zigate1) ZigateRead - MsgType 8140 - Reception Attribute discovery response : 0181400005e4014200046703
2019-03-16 09:53:08.951 (zigate1) ZigateRead - decoded data : 0181400005e5014200056703 lenght : 24
2019-03-16 09:53:08.951 (zigate1) ZigateRead - MsgType: 8140, MsgLength: 0005, MsgCRC: e5, Data: 01420005; RSSI: 67
2019-03-16 09:53:08.951 (zigate1) ZigateRead - MsgType 8140 - Reception Attribute discovery response : 0181400005e5014200056703
2019-03-16 09:53:08.951 (zigate1) ZigateRead - decoded data : 0181400005e6014200066703 lenght : 24
2019-03-16 09:53:08.951 (zigate1) ZigateRead - MsgType: 8140, MsgLength: 0005, MsgCRC: e6, Data: 01420006; RSSI: 67
2019-03-16 09:53:08.952 (zigate1) ZigateRead - MsgType 8140 - Reception Attribute discovery response : 0181400005e6014200066703
2019-03-16 09:53:08.952 (zigate1) ZigateRead - decoded data : 018140000595013000076703 lenght : 24
2019-03-16 09:53:08.952 (zigate1) ZigateRead - MsgType: 8140, MsgLength: 0005, MsgCRC: 95, Data: 01300007; RSSI: 67
2019-03-16 09:53:08.952 (zigate1) ZigateRead - MsgType 8140 - Reception Attribute discovery response : 018140000595013000076703
2019-03-16 09:53:08.953 (zigate1) ZigateRead - decoded data : 0181400005a0011000126703 lenght : 24
2019-03-16 09:53:08.953 (zigate1) ZigateRead - MsgType: 8140, MsgLength: 0005, MsgCRC: a0, Data: 01100012; RSSI: 67
2019-03-16 09:53:08.953 (zigate1) ZigateRead - MsgType 8140 - Reception Attribute discovery response : 0181400005a0011000126703
2019-03-16 09:53:08.953 (zigate1) ZigateRead - decoded data : 0181400005a0014240006703 lenght : 24
2019-03-16 09:53:08.953 (zigate1) ZigateRead - MsgType: 8140, MsgLength: 0005, MsgCRC: a0, Data: 01424000; RSSI: 67
2019-03-16 09:53:08.954 (zigate1) ZigateRead - MsgType 8140 - Reception Attribute discovery response : 0181400005a0014240006703
2019-03-16 09:53:09.705 (zigate1) Received 35 bytes of data
2019-03-16 09:53:09.705 (zigate1) 01 81 02 12 02 10 02 1e d0 02 14 27 02 1d 02 13 02 10 02 16 .�......�..'........
2019-03-16 09:53:09.705 (zigate1) 02 10 02 10 02 10 10 02 10 02 11 02 10 67 03 .. .. .. .. .. .............g.
2019-03-16 09:53:09.706 (zigate1) ZigateRead - decoded data : 018102000ed004270d030006000000100001006703 lenght : 42
2019-03-16 09:53:09.706 (zigate1) ZigateRead - MsgType: 8102, MsgLength: 000e, MsgCRC: d0, Data: 04270d03000600000010000100; RSSI: 67
2019-03-16 09:53:09.706 (zigate1) ZigateRead - MsgType 8102 - Report Individual Attribute response : 018102000ed004270d030006000000100001006703
2019-03-16 09:53:09.706 (zigate1) Decode8102 - Individual Attribute response : [270d:03] ClusterID: 0006 AttributeID: 0000 Status: 00 Type: 10 Size: 0001 ClusterData: >00<
2019-03-16 09:53:09.706 (zigate1) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-16 09:53:09.706 (zigate1) Decode8102 : Attribute Report from 270d SQN = 04 ClusterID = 0006 AttrID = 0000 Attribute Data = 00
2019-03-16 09:53:09.706 (zigate1) Not the good Domoticz level for Touch
2019-03-16 09:53:09.707 (zigate1) Device : 270d MacCapa : 8e updating SQN to 04
2019-03-16 09:53:09.707 (zigate1) ReadCluster - MsgData lenght is: 26 out of 24+
2019-03-16 09:53:09.707 (zigate1) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-16 09:53:09.707 (zigate1) ReadCluster - 0006 NwkId: 270d Ep: 03 AttrId: 0000 AttyType: 10 Attsize: 0001 Status: 00 AttrValue: 00
2019-03-16 09:53:09.707 (zigate1) MajDomoDevice - Device ID : 84182600000c7707 - Device EP : 03 - Type : 0006 - Value : 00 - Hue : - Attribute_ :
2019-03-16 09:53:09.707 (zigate1) ClusterSearch - Cluster: 0006, ProfileID: , ZDeviceID: , create: False
2019-03-16 09:53:09.707 (zigate1) MajDomoDevice - Type = Switch
2019-03-16 09:53:09.707 (zigate1) MajDomoDevice - NWKID = 270d IEEE = 84182600000c7707 Unit = 161
2019-03-16 09:53:09.708 (zigate1) MajDomoDevice - {'0004': {}, '1000': {}, '0006': '01', 'ClusterType': {'161': 'Plug'}, '0003': {}, 'Type': 'Plug', '0005': {}, '0019': {}, '0000': {}}
2019-03-16 09:53:09.708 (zigate1) MajDomoDevice - We have 1 EPs with ClusterType
2019-03-16 09:53:09.708 (zigate1) MajDomoDevice - NWKID: 270d SwitchType: 0, DeviceType: Plug, ClusterType: Switch, old_nVal: 0 , old_sVal: Off
2019-03-16 09:53:09.708 (zigate1) UpdateDevice_v2 for : 8 Battery Level = {} Signal Level = 103
2019-03-16 09:53:09.708 (zigate1) UpdateDevice_v2 for : 8 RSSI = 5
2019-03-16 09:53:09.708 (zigate1) ReadCluster - ClusterId=0006 - reception General: On/Off: 00
2019-03-16 09:53:12.463 (zigate1) onHeartbeat - busy = True
2019-03-16 09:53:12.463 (zigate1) Skip LQI, ConfigureReporting and Networkscan du to Busy state: Busy: True, Enroll: False
2019-03-16 09:53:12.467 (zigate1) updateNotificationWidget - Zigate-02- 2 nValue: 1, sValue: Ready/Busy
2019-03-16 09:53:12.467 (zigate1 - Zigate Status 2) Updating device from 3:'Busy' to have values 1:'Ready'.
2019-03-16 09:53:17.479 (zigate1) onHeartbeat - busy = False
fredo
Posts: 16
Joined: Thursday 28 March 2019 21:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Osram Plug enter in loop on/off with Zigate

Post by fredo »

From your log I have extracted the following:

Don't know, what is Delaying switch . This doesn't sound as a plugin message
dondipietro wrote: Thursday 28 March 2019 11:14 2019-03-16 09:52:57.964 Delaying switch [zigate1 - Plug 4 -84182600000c7707-03] action (On) for 2 seconds
Here is the switch on , you have done it.
dondipietro wrote: Thursday 28 March 2019 11:14 2019-03-16 09:52:57.963 Status: User: Admin initiated a switch command (161/zigate1 - Plug 4 -84182600000c7707-03/On)
2019-03-16 09:53:00.032 (zigate1) onCommand - unit: 8, command: On, level: 0, color:
2019-03-16 09:53:00.032 (zigate1) onCommand called for Devices[8].Name: zigate1 - Plug 4 -84182600000c7707-03 SwitchType: 0 Command: On Level: 0 Color:
Here is a Switch Off command which seems to be triggered by Domoticz. Don't you have any LUA or dzVents scripts . Or some Timer created ?
dondipietro wrote: Thursday 28 March 2019 11:14 2019-03-16 09:53:02.052 (zigate1) onCommand - unit: 8, command: Off, level: 0, color:
2019-03-16 09:53:02.052 (zigate1) onCommand called for Devices[8].Name: zigate1 - Plug 4 -84182600000c7707-03 SwitchType: 0 Command: Off Level: 0 Color:
dondipietro
Posts: 19
Joined: Thursday 28 March 2019 11:11
Target OS: Linux
Domoticz version: 2021.1
Contact:

Re: Osram Plug enter in loop on/off with Zigate

Post by dondipietro »

Hello,
No I don't have any script.
I think that I send the on command from domoticz interface then the plug send back its status, and it seems that the status coming from the plug is interpreted by domoticz as an other command that make the plug switch again. => Switch Off command ???

Is it possible ?
fredo
Posts: 16
Joined: Thursday 28 March 2019 21:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Osram Plug enter in loop on/off with Zigate

Post by fredo »

I'm afraid that onCommand are coming from Domoticz
dondipietro
Posts: 19
Joined: Thursday 28 March 2019 11:11
Target OS: Linux
Domoticz version: 2021.1
Contact:

Re: Osram Plug enter in loop on/off with Zigate

Post by dondipietro »

Sorry double post
Last edited by dondipietro on Saturday 30 March 2019 8:07, edited 1 time in total.
dondipietro
Posts: 19
Joined: Thursday 28 March 2019 11:11
Target OS: Linux
Domoticz version: 2021.1
Contact:

Re: Osram Plug enter in loop on/off with Zigate

Post by dondipietro »

Hello,
Just made an other test,
If I push the physical butto on the plug, this happens :
The plug turn on then a few second later domoticz make it turn off ...

2019-03-30 07:52:39.693 (zigate1) Received 34 bytes of data
2019-03-30 07:52:39.694 (zigate1) 01 81 02 12 02 10 02 1e 25 02 16 eb 19 02 13 02 10 02 16 02 .?......%..?........
2019-03-30 07:52:39.694 (zigate1) 10 02 10 02 10 10 02 10 02 11 02 11 49 03 .. .. .. .. .. .. ............I.
2019-03-30 07:52:39.694 (zigate1) ZigateRead - decoded data : 018102000e2506eb19030006000000100001014903 lenght : 42
2019-03-30 07:52:39.694 (zigate1) ZigateRead - MsgType: 8102, MsgLength: 000e, MsgCRC: 25, Data: 06eb1903000600000010000101; RSSI: 49
2019-03-30 07:52:39.695 (zigate1) ZigateRead - MsgType 8102 - Report Individual Attribute response : 018102000e2506eb19030006000000100001014903
2019-03-30 07:52:39.695 (zigate1) Decode8102 - Individual Attribute response : [eb19:03] ClusterID: 0006 AttributeID: 0000 Status: 00 Type: 10 Size: 0001 ClusterData: >01<
2019-03-30 07:52:39.695 (zigate1) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-30 07:52:39.695 (zigate1) Decode8102 : Attribute Report from eb19 SQN = 06 ClusterID = 0006 AttrID = 0000 Attribute Data = 01
2019-03-30 07:52:39.695 (zigate1) Not the good Domoticz level for Touch
2019-03-30 07:52:39.695 (zigate1) Device : eb19 MacCapa : 8e updating SQN to 06
2019-03-30 07:52:39.695 (zigate1) ReadCluster - MsgData lenght is: 26 out of 24+
2019-03-30 07:52:39.696 (zigate1) DeviceExist - Found in ListOfDevices with status = inDB
2019-03-30 07:52:39.696 (zigate1) ReadCluster - 0006 NwkId: eb19 Ep: 03 AttrId: 0000 AttyType: 10 Attsize: 0001 Status: 00 AttrValue: 01
2019-03-30 07:52:39.696 (zigate1) MajDomoDevice - Device ID : 84182600000c89d4 - Device EP : 03 - Type : 0006 - Value : 01 - Hue : - Attribute_ :
2019-03-30 07:52:39.696 (zigate1) ClusterSearch - Cluster: 0006, ProfileID: , ZDeviceID: , create: False
2019-03-30 07:52:39.696 (zigate1) MajDomoDevice - Type = Switch
2019-03-30 07:52:39.696 (zigate1) MajDomoDevice - NWKID = eb19 IEEE = 84182600000c89d4 Unit = 162
2019-03-30 07:52:39.696 (zigate1) MajDomoDevice - {'0000': {}, '0004': {}, '1000': {}, '0006': '01', 'ClusterType': {'162': 'Plug'}, '0003': {}, 'Type': 'Plug', '0019': {}, '0005': {}}
2019-03-30 07:52:39.696 (zigate1) MajDomoDevice - We have 1 EPs with ClusterType
2019-03-30 07:52:39.696 (zigate1) MajDomoDevice - NWKID: eb19 SwitchType: 0, DeviceType: Plug, ClusterType: Switch, old_nVal: 0 , old_sVal: Off
2019-03-30 07:52:39.696 (zigate1) UpdateDevice_v2 for : 9 Battery Level = {} Signal Level = 73
2019-03-30 07:52:39.696 (zigate1) UpdateDevice_v2 for : 9 RSSI = 3
2019-03-30 07:52:39.697 (zigate1) UpdateDevice - (zigate1 - Plug 3-84182600000c89d4-03) 1:On
2019-03-30 07:52:39.697 (zigate1) Update Values 1:'On:' (zigate1 - Plug 3-84182600000c89d4-03)
2019-03-30 07:52:39.697 (zigate1 - Plug 3-84182600000c89d4-03) Updating device from 0:'Off' to have values 1:'On'.
2019-03-30 07:52:39.707 (zigate1) ReadCluster - ClusterId=0006 - reception General: On/Off: 01
2019-03-30 07:52:40.759 (zigate1) onCommand - unit: 9, command: Off, level: 0, color:
2019-03-30 07:52:40.759 (zigate1) onCommand called for Devices[9].Name: zigate1 - Plug 3-84182600000c89d4-03 SwitchType: 0 Command: Off Level: 0 Color:
2019-03-30 07:52:40.759 (zigate1) mgtCommand - NWKID = eb19
2019-03-30 07:52:40.759 (zigate1) mgtCommand : found Device : 162 in Ep 03 Plug
2019-03-30 07:52:40.759 (zigate1) mgtCommand - List of TypeName : ['Plug']
2019-03-30 07:52:40.759 (zigate1) mgtCommand - DeviceType : Plug
2019-03-30 07:52:40.760 (zigate1) mgtCommand : Found Ep 03 for Device 162 Cluster 0006
2019-03-30 07:52:40.760 (zigate1) EPout = 03
2019-03-30 07:52:40.760 (zigate1) UpdateDevice_v2 for : 9 Battery Level = {} Signal Level = 73
2019-03-30 07:52:40.760 (zigate1) UpdateDevice_v2 for : 9 RSSI = 3
2019-03-30 07:52:40.760 (zigate1) UpdateDevice - (zigate1 - Plug 3-84182600000c89d4-03) 0:Off
2019-03-30 07:52:40.760 (zigate1) Update Values 0:'Off:' (zigate1 - Plug 3-84182600000c89d4-03)
2019-03-30 07:52:40.761 (zigate1 - Plug 3-84182600000c89d4-03) Updating device from 1:'On' to have values 0:'Off'.
2019-03-30 07:52:40.770 (zigate1) Sending 20 bytes of data

2019-03-30 07:52:40.771 (zigate1) 01 02 10 92 02 10 02 16 66 02 12 eb 19 02 11 02 13 02 10 03 ...?....f..?........
2019-03-30 07:52:40.871 (zigate1) Received 53 bytes of data
2019-03-30 07:52:40.871 (zigate1) 01 80 02 10 02 10 02 15 13 02 10 02 14 02 10 92 02 10 03 01 .?.............?....
2019-03-30 07:52:40.871 (zigate1) 87 02 12 02 10 02 1e e4 e9 02 11 02 13 02 12 eb 19 02 10 02 ?......??......?....
2019-03-30 07:52:40.871 (zigate1) 10 02 10 02 10 02 10 02 10 74 02 10 03 .. .. .. .. .. .. .. .........t...
2019-03-30 07:52:40.872 (zigate1) ZigateRead - decoded data : 018000000513000400920003 lenght : 24
2019-03-30 07:52:40.872 (zigate1) ZigateRead - MsgType: 8000, MsgLength: 0005, MsgCRC: 13, Data: 00040092; RSSI: 00
2019-03-30 07:52:40.872 (zigate1) ZigateRead - MsgType 8000 - reception status : 018000000513000400920003
2019-03-30 07:52:40.872 (zigate1) Decode8000_v2 - MsgData lenght is : 8 out of 8
2019-03-30 07:52:40.872 (zigate1) Decode8000_v2 - status: Success SEQ: 04 Packet Type: 0092
2019-03-30 07:52:40.873 (zigate1) ZigateRead - decoded data : 018702000ee4e9010302eb19000000000000740003 lenght : 42
2019-03-30 07:52:40.873 (zigate1) ZigateRead - MsgType: 8702, MsgLength: 000e, MsgCRC: e4, Data: e9010302eb1900000000000074; RSSI: 00
2019-03-30 07:52:40.873 (zigate1) ZigateRead - MsgType 8702 - Reception APS Data confirm fail : 018702000ee4e9010302eb19000000000000740003
2019-03-30 07:52:41.274 (zigate1) onHeartbeat - busy = False
dondipietro
Posts: 19
Joined: Thursday 28 March 2019 11:11
Target OS: Linux
Domoticz version: 2021.1
Contact:

Re: Osram Plug enter in loop on/off with Zigate

Post by dondipietro »

This part in particular is special :

Where does the 2019-03-30 07:59:21.390 (zigate1) onCommand called for Devices[9].Name: zigate1 - Plug 3-84182600000c89d4-03 SwitchType: 0 Command: Off Level: 0 Color:
comes from ?


2019-03-30 07:59:20.323 (zigate1 - Plug 3-84182600000c89d4-03) Updating device from 0:'Off' to have values 1:'On'.
2019-03-30 07:59:20.333 (zigate1) ReadCluster - ClusterId=0006 - reception General: On/Off: 01
2019-03-30 07:59:21.335 (zigate1) onHeartbeat - busy = False
2019-03-30 07:59:21.390 (zigate1) onCommand - unit: 9, command: Off, level: 0, color:
2019-03-30 07:59:21.390 (zigate1) onCommand called for Devices[9].Name: zigate1 - Plug 3-84182600000c89d4-03 SwitchType: 0 Command: Off Level: 0 Color:
2019-03-30 07:59:21.390 (zigate1) mgtCommand - NWKID = eb19
2019-03-30 07:59:21.390 (zigate1) mgtCommand : found Device : 162 in Ep 03 Plug
2019-03-30 07:59:21.390 (zigate1) mgtCommand - List of TypeName : ['Plug']
2019-03-30 07:59:21.390 (zigate1) mgtCommand - DeviceType : Plug
2019-03-30 07:59:21.390 (zigate1) mgtCommand : Found Ep 03 for Device 162 Cluster 0006
2019-03-30 07:59:21.390 (zigate1) EPout = 03
2019-03-30 07:59:21.391 (zigate1) UpdateDevice_v2 for : 9 Battery Level = {} Signal Level = 76
2019-03-30 07:59:21.391 (zigate1) UpdateDevice_v2 for : 9 RSSI = 4
2019-03-30 07:59:21.391 (zigate1) UpdateDevice - (zigate1 - Plug 3-84182600000c89d4-03) 0:Off
2019-03-30 07:59:21.391 (zigate1) Update Values 0:'Off:' (zigate1 - Plug 3-84182600000c89d4-03)
2019-03-30 07:59:21.391 (zigate1 - Plug 3-84182600000c89d4-03) Updating device from 1:'On' to have values 0:'Off'.
2019-03-30 07:59:21.401 (zigate1) Sending 20 bytes of data
dondipietro
Posts: 19
Joined: Thursday 28 March 2019 11:11
Target OS: Linux
Domoticz version: 2021.1
Contact:

Re: Osram Plug enter in loop on/off with Zigate

Post by dondipietro »

fredo wrote: Thursday 28 March 2019 21:21 Don't you have any LUA or dzVents scripts . Or some Timer created ?
How can I double check that ?
Thank you very much for your help. (y)
fredo
Posts: 16
Joined: Thursday 28 March 2019 21:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Osram Plug enter in loop on/off with Zigate

Post by fredo »

From your last log, there is indeed a effect-cause which is when the value is updated to On, then you get immediatly a onCOmmand to switch it off.

Domoticz scripts are under scripts folder (and you can also have Blocky scripts from domoticz Web interface)

As regards to to timer .. this is directly under the Domoticz device
dondipietro
Posts: 19
Joined: Thursday 28 March 2019 11:11
Target OS: Linux
Domoticz version: 2021.1
Contact:

Re: Osram Plug enter in loop on/off with Zigate

Post by dondipietro »

Hello,
I've check :
-No timer on device
-Blocky is empty

This is what I have in script folder :
pi@raspberrypi:~/domoticz/scripts $ ls
buienradar_rain_example.pl dzVents readme.txt
domoticz.conf logrotate restart_domoticz
_domoticz_main lua templates
_domoticz_main.bat lua_parsers update_domoticz
download_update.sh python
dondipietro
Posts: 19
Joined: Thursday 28 March 2019 11:11
Target OS: Linux
Domoticz version: 2021.1
Contact:

Re: Osram Plug enter in loop on/off with Zigate

Post by dondipietro »

I'have made a full reinstall of domoticz and zigate plugin etc .
Now everything is ok. Thank veru much for your support.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest