Page 1 of 2
ZiGate Receiving NACK on all bulbs and power switches
Posted: Saturday 22 February 2020 16:55
by waltervl
Hi, I upgraded from Plugin version: 4.7.001 to Plugin version: 4.7.005.
I already had some NACK messages after upgrading firmware to 3.1c and Plugin version: 4.7.001 but now none of my bulbs or powered switches is reacting on ZiGate. They all log Receive NACK from ..device.. Also power switching them off and on again does not help. It helped during my first NACK messages.
I have in total 22 devices (added 2 battery today...) so should be in the safe zone here.
I only see the battery powered sensors, none of the switches or bulbs.
What could this be?
I already saw this topic
https://www.domoticz.com/forum/viewtopi ... 68&t=31367 but that was more related to firmware updates.
I did nothing other than adding 2 battery devices and updated and restarted plugin.I also restart the complete device (computer and Zigate) with power down. but still no luck.
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Saturday 22 February 2020 18:11
by waltervl
After re-pair the devices with ZiGate they are working now, at least the switches and the Led driver. The other bulbs I have tried to re pair but after a few minutes the NACK came back
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Saturday 22 February 2020 19:03
by waltervl
After some further repairing and bringing the Ikea bulbs closer to the ZiGate it is working now. Now to setup the group again with the Ikea Remote.
Still wondering what has happened here because it took me a couple of hours to setup everything again.
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Saturday 22 February 2020 19:19
by waltervl
And now I have added 3 bulbs to the group (by pairing them to the ikea remote) and all 3 give NACK!
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Saturday 22 February 2020 19:53
by pipiche
NACK is the due to no communication between the Zigate and the device. In other words, the device is not on the network anymore.
Reasons could be:
- The device has been powered off
- The device is too far and the link quality is not good
- The network is getting interferences or is poor
- Check the Wifi 2.4 versus the Zigate Channel (
https://github.com/pipiche38/Domoticz-Z ... -Zigbee.md )
--> Be aware that if you plan to change the Zigate channel, you will have to redo the pairing.
- Increase the number of routers (usally main powered devices) in order to increase the density and get a good mesh network.
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Saturday 22 February 2020 23:11
by waltervl
I will try again but it is very stranga that after I paired the Ikea bulbs to the Ikea remote they stopped working with ZiGate (giving NACK).
They are on some distance 7-8 meters but in between is a router.
I can put the Ikea Remote next to the ZiGate and the bulbs are still reacting, so it does not look like a zigbee network issue. It looks more like the ZiGate for some reason does not want to talk with them (or the other way around). But I suspect the ZiGate being part of the 031(a,b,c) firmware. Perhaps something wrong in the NACK implementation.
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Sunday 23 February 2020 8:59
by pipiche
If this happens when you paired the remote, this makes sense.
You need to make sure the remote is correctly paired to zigate first.
Envoyé de mon iPhone en utilisant Tapatalk
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Sunday 23 February 2020 11:18
by waltervl
Well, after also resetting the Ikea Remote and doing the group pair dance again they all work fine now. Fingers crossed.
Well the lasts NACK's are explainable, but why suddenly all my powered devices were lost in the beginning? Could have been the ZiGate changed channel due to interferences?
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Sunday 23 February 2020 13:01
by waltervl
What I see now is that ZiGate is stopping sometimes accepting new hardware (blue led always on, little bit flashing). If then a existing device wants to enter the network again it will not be accepted (no response in log). If I Disable/Enable the pairing process with ZiGate it will again accept reentries of existing devices.
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Monday 24 February 2020 20:19
by waltervl
And again today a NACK on one of my Bulbs, I had to switch it off and on again to have it working again.
Edit: added energy scan picture
ZiGate informations:
Channel : 0f (remark Walter: decimal 15, Plugin setting = 0 (=let the ZiGate figure it out by itself))
Firmware Version : 0003 - 031c
Tx-Attenuation : 0
Tx-Power : 00
Certification = CE
Other settings:
- Spoiler: show
- [{"ListOfSettings":[{"Advanced":false,"DataType":"bool","Name":"enablegroupmanagement","current_value":1,"default_value":0,"restart_need":true},{"Advanced":false,"DataType":"bool","Name":"enableReadAttributes","current_value":1,"default_value":0,"restart_need":false},{"Advanced":false,"DataType":"bool","Name":"enableWebServer","current_value":1,"default_value":1,"restart_need":true},{"Advanced":false,"DataType":"bool","Name":"internetAccess","current_value":1,"default_value":1,"restart_need":false},{"Advanced":false,"DataType":"bool","Name":"allowOTA","current_value":0,"default_value":0,"restart_need":true},{"Advanced":false,"DataType":"bool","Name":"pingDevices","current_value":1,"default_value":1,"restart_need":true}],"_Order":1,"_Theme":"Services"},{"ListOfSettings":[{"Advanced":false,"DataType":"str","Name":"port","current_value":"8080","default_value":"8080","restart_need":false}],"_Order":2,"_Theme":"DomoticzEnvironment"},{"ListOfSettings":[{"Advanced":true,"DataType":"bool","Name":"enableGzip","current_value":1,"default_value":1,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"enableDeflate","current_value":1,"default_value":1,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"enableChunk","current_value":1,"default_value":1,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"enableKeepalive","current_value":1,"default_value":1,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"enableCache","current_value":1,"default_value":1,"restart_need":false}],"_Order":3,"_Theme":"WebInterface"},{"ListOfSettings":[{"Advanced":true,"DataType":"int","Name":"pingDevicesFeq","current_value":3600,"default_value":3600,"restart_need":false},{"Advanced":true,"DataType":"int","Name":"pollingONOFF","current_value":900,"default_value":900,"restart_need":false},{"Advanced":true,"DataType":"int","Name":"pollingLvlControl","current_value":900,"default_value":900,"restart_need":false},{"Advanced":true,"DataType":"int","Name":"polling0100","current_value":3600,"default_value":3600,"restart_need":false},{"Advanced":true,"DataType":"int","Name":"polling0102","current_value":900,"default_value":900,"restart_need":false},{"Advanced":true,"DataType":"int","Name":"polling0201","current_value":900,"default_value":900,"restart_need":false},{"Advanced":true,"DataType":"int","Name":"polling0702","current_value":900,"default_value":900,"restart_need":false}],"_Order":4,"_Theme":"DevicePolling"},{"ListOfSettings":[{"Advanced":true,"DataType":"bool","Name":"forcePollingAfterAction","current_value":1,"default_value":1,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"forcePassiveWidget","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"resetConfigureReporting","current_value":0,"default_value":0,"restart_need":true},{"Advanced":true,"DataType":"bool","Name":"resetReadAttributes","current_value":0,"default_value":0,"restart_need":true},{"Advanced":false,"DataType":"int","Name":"resetMotiondelay","current_value":30,"default_value":30,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"allowGroupMembership","current_value":1,"default_value":1,"restart_need":true},{"Advanced":true,"DataType":"bool","Name":"doUnbindBind","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"allowReBindingClusters","current_value":1,"default_value":1,"restart_need":false}],"_Order":5,"_Theme":"DeviceManagement"},{"ListOfSettings":[{"Advanced":true,"DataType":"bool","Name":"allowRemoveZigateDevice","current_value":0,"default_value":0,"restart_need":false},{"Advanced":false,"DataType":"bool","Name":"blueLedOnOff","current_value":1,"default_value":1,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"Ping","current_value":1,"default_value":1,"restart_need":false},{"Advanced":false,"DataType":"str","Name":"Certification","current_value":"CE","default_value":"CE","restart_need":true},{"Advanced":false,"DataType":"str","Name":"channel","current_value":"0","default_value":"0","restart_need":true},{"Advanced":true,"DataType":"int","Name":"TXpower_set","current_value":0,"default_value":0,"restart_need":true},{"Advanced":true,"DataType":"hex","Name":"extendedPANID","current_value":"0","default_value":0,"restart_need":true}],"_Order":6,"_Theme":"ZigateConfiguration"},{"ListOfSettings":[],"_Order":7,"_Theme":"CommandTransition"},{"ListOfSettings":[{"Advanced":false,"DataType":"bool","Name":"batteryOTA","current_value":0,"default_value":0,"restart_need":true},{"Advanced":false,"DataType":"int","Name":"waitingOTA","current_value":3600,"default_value":3600,"restart_need":true}],"_Order":7,"_Theme":"OverTheAirUpgrade"},{"ListOfSettings":[{"Advanced":false,"DataType":"int","Name":"numDeviceListVersion","current_value":12,"default_value":12,"restart_need":false},{"Advanced":true,"DataType":"path","Name":"pluginData","current_value":"/home/udoox86/domoticz/plugins/Domoticz-Zigate/Data/","default_value":"","restart_need":true},{"Advanced":true,"DataType":"path","Name":"pluginConfig","current_value":"/home/udoox86/domoticz/plugins/Domoticz-Zigate/Conf/","default_value":"","restart_need":true},{"Advanced":true,"DataType":"path","Name":"pluginOTAFirmware","current_value":"/home/udoox86/domoticz/plugins/Domoticz-Zigate/OTAFirmware/","default_value":"","restart_need":true},{"Advanced":true,"DataType":"path","Name":"pluginReports","current_value":"/home/udoox86/domoticz/plugins/Domoticz-Zigate/Reports/","default_value":"","restart_need":true},{"Advanced":true,"DataType":"path","Name":"pluginWWW","current_value":"/home/udoox86/domoticz/plugins/Domoticz-Zigate/www/","default_value":"","restart_need":true}],"_Order":10,"_Theme":"PluginConfiguration"},{"ListOfSettings":[{"Advanced":true,"DataType":"str","Name":"debugMatchId","current_value":"ffff","default_value":"ffff","restart_need":false},{"Advanced":false,"DataType":"bool","Name":"logDeviceUpdate","current_value":1,"default_value":1,"restart_need":false},{"Advanced":false,"DataType":"bool","Name":"capturePairingInfos","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"debugInput","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"debugOutput","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"debugCluster","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"debugHeartbeat","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"debugWidget","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"debugPlugin","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"debugDatabase","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"debugCommand","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"debugPairing","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"debugNetworkMap","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"debugNetworkEnergy","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"debugGroups","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"debugOTA","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"debugIAS","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"debugAPS","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"debugDZDB","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"debugWebServer","current_value":0,"default_value":0,"restart_need":false}],"_Order":11,"_Theme":"VerboseLogging"},{"ListOfSettings":[{"Advanced":false,"DataType":"bool","Name":"EnableLedIfOn","current_value":1,"default_value":1,"restart_need":false},{"Advanced":false,"DataType":"bool","Name":"EnableLedInDark","current_value":0,"default_value":0,"restart_need":false},{"Advanced":false,"DataType":"bool","Name":"EnableDimmer","current_value":0,"default_value":0,"restart_need":false},{"Advanced":false,"DataType":"bool","Name":"EnableReleaseButton","current_value":0,"default_value":0,"restart_need":false},{"Advanced":true,"DataType":"bool","Name":"LegrandFilPilote","current_value":1,"default_value":1,"restart_need":false}],"_Order":12,"_Theme":"Legrand"},{"ListOfSettings":[{"Advanced":false,"DataType":"bool","Name":"enableSchneiderWiser","current_value":0,"default_value":0,"restart_need":false}],"_Order":13,"_Theme":"Schneider Wiser"},{"ListOfSettings":[{"Advanced":false,"DataType":"int","Name":"alarmDuration","current_value":1,"default_value":1,"restart_need":false},{"Advanced":false,"DataType":"int","Name":"numTopologyReports","current_value":4,"default_value":4,"restart_need":false},{"Advanced":false,"DataType":"int","Name":"numEnergyReports","current_value":4,"default_value":4,"restart_need":false},{"Advanced":false,"DataType":"int","Name":"TradfriKelvinStep","current_value":51,"default_value":51,"restart_need":false},{"Advanced":false,"DataType":"str","Name":"vibrationAqarasensitivity","current_value":"medium","default_value":"medium","restart_need":false}],"_Order":14,"_Theme":"Others"},{"ListOfSettings":[],"_Order":15,"_Theme":"Experimental"}]
My Wifi channels, Zigbee channel 15 should be between wifi channel 3 and 4 so in my case there is a little bit overlap from a device running on Wifi channel 2

- Screenshot from 2020-02-24 19-58-34.png (28.85 KiB) Viewed 1031 times
The device ("Schemerlamp dressoir") that dissapeared this evening at approx 18.09 hr was yesterday afternoon just fine according energy scan

- Screenshot from 2020-02-24 20-23-43.png (16.81 KiB) Viewed 1030 times
As a reference the Wiofi/Zigbee channel drawing

Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Monday 24 February 2020 22:42
by pipiche
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Monday 24 February 2020 23:35
by waltervl
Moved one AP from channel 2 to 1, see what happens. The other 2 bulbs of the same group I also lost this evening. They all switched off as group on 22.30 as programmed but when switching them on again manualy a half hour later only the bulb I repaired earlier this evening reacted. The other 2 NACK-ed again and I had to power switch them off and on again te reconnect.

- Screenshot from 2020-02-24 23-32-21.png (32.95 KiB) Viewed 1017 times
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Monday 24 February 2020 23:38
by waltervl
The only real thing I saw here was the switching of of the Hub (ZiGate?) for 20 minutes in order to force the Zigbee network to optimize the mesh.
Do you advise that?
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Tuesday 25 February 2020 8:16
by waltervl
Just for the record. Another bulb 2 mtr from the Zigate apperantly went NACK as it did not switch off as programmed. This morning I had to power cycle it to have it reenter again.
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Tuesday 25 February 2020 18:25
by pipiche
Do you have any messages like that one ?
Decode8102 - Receiving a message from unknown device
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Tuesday 25 February 2020 18:48
by waltervl
Yes I have those Decode messages but the last one was on sunday the 23th. After that no more.
Edit: Not excact the same. But I can remember those from the past. I have now these:
- Spoiler: show
- 2020-02-23 10:45:35.207 Status: (ZiGate) Device Announcement Addr: 2139, IEEE: d0cf5efffe291ddf Join Flag: 0x00 - join a network through association RSSI: 0
2020-02-23 10:45:41.318 Status: (ZiGate) Device Announcement Addr: ea87, IEEE: d0cf5efffe291ddf Join Flag: 0x00 - join a network through association RSSI: 0
2020-02-23 10:45:41.319 Status: (ZiGate) NetworkID : ea87 is replacing 2139 and is attached to IEEE : d0cf5efffe291ddf
2020-02-23 10:45:41.392 Status: (ZiGate) Device Announcement Addr: ea87, IEEE: d0cf5efffe291ddf Join Flag: 0x00 - join a network through association RSSI: 84
2020-02-23 10:45:44.908 Status: (ZiGate) Device Announcement Addr: ea87, IEEE: d0cf5efffe291ddf Join Flag: 0x00 - join a network through association RSSI: 72
2020-02-23 10:45:46.120 Status: (ZiGate) Device Announcement Addr: ea87, IEEE: d0cf5efffe291ddf Join Flag: 0x00 - join a network through association RSSI: 120
2020-02-23 10:45:46.126 (ZiGate) WARNING - ZigateCmd: 0120 02ea87010103000000000001002100040001012C00000001 ZigateQueue: 16
2020-02-23 10:45:46.127 (ZiGate) WARNING - ZigateCmd: 0120 02ea87010103000000000001003000080001012C000001 ZigateQueue: 17
2020-02-23 10:45:46.129 (ZiGate) WARNING - ZigateCmd: 0100 02ea8701010000000000000200000001 ZigateQueue: 18
2020-02-23 10:45:46.130 (ZiGate) WARNING - ZigateCmd: 0100 02ea87010100000000000003000200030004 ZigateQueue: 19
2020-02-23 10:45:46.130 (ZiGate) WARNING - ZigateCmd: 0042 ea87 ZigateQueue: 20
2020-02-23 10:45:46.443 (ZiGate) Decode8702 - Unknown Address 2139 : (None,None)
2020-02-23 10:45:47.215 Status: (ZiGate) Device Announcement Addr: ea87, IEEE: d0cf5efffe291ddf Join Flag: 0x00 - join a network through association RSSI: 123
2020-02-23 10:45:48.229 Status: (ZiGate) Device Announcement Addr: ea87, IEEE: d0cf5efffe291ddf Join Flag: 0x00 - join a network through association RSSI: 75
2020-02-23 10:45:48.335 (ZiGate) Decode8702 - Unknown Address 2139 : (None,None)
2020-02-23 10:45:49.301 Status: (ZiGate) Device Announcement Addr: ea87, IEEE: d0cf5efffe291ddf Join Flag: 0x00 - join a network through association RSSI: 78
2020-02-23 10:45:50.364 Status: (ZiGate) Device Announcement Addr: ea87, IEEE: d0cf5efffe291ddf Join Flag: 0x00 - join a network through association RSSI: 183
2020-02-23 10:45:50.574 (ZiGate) Decode8702 - Unknown Address 2139 : (None,None)
2020-02-23 10:46:05.556 (ZiGate) Receive NACK from Tuinlamp (ea87)
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Tuesday 25 February 2020 18:51
by waltervl
Sorry did not look good, but only 1 from saterday till now.
2020-02-23 11:53:23.887 Error: (ZiGate) Decode8102 - Receiving a message from unknown device : 8feb with Data : bf8feb010000ff010042002b6410000328219839000000009539d2e0013f052115009a2000082122130727000000000000000009210108
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Tuesday 25 February 2020 18:57
by waltervl
I have also sometimes these errors were the portnumber (after IP) seems to change.
2020-02-24 19:36:19.585 Error: (ZiGate) No transport, write directive to '192.168.8.119:50194' ignored.
2020-02-24 19:36:19.585 Error: (ZiGate) No transport, write directive to '192.168.8.119:50200' ignored.
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Tuesday 25 February 2020 19:04
by waltervl
I also have made some energy scans the last days and see that the energy levels are dropping:

- first scan
- Screenshot from 2020-02-25 19-01-35.png (63.44 KiB) Viewed 992 times

- last scan
- Screenshot from 2020-02-25 19-01-15.png (47.99 KiB) Viewed 992 times
Re: ZiGate Receiving NACK on all bulbs and power switches
Posted: Friday 28 February 2020 18:26
by abroeders
Hi Walter,
I'm still experiencing the same issues as you do. First I had more as 40 devices on my network, so I ordered an extra Zigate. I made sure there is least possible interference with WiFi, I even disabled 2.4 GHz for a day with no noticable effect. Wifi scan with my Unifi AP's shows clean WiFi channels

- WiFi interference.png (62.73 KiB) Viewed 958 times
with -96dBm interference on all channels, what's very low in my opinion. I now have 2 zigbee networks, on channel 11 and 25 with WiFi on channel 6 in between to have the least possible interference. The network on channel 11 will be setup as new network on channel 26 and then the Wifi channel is going to move to channel 1. But first i want to be sure on what firmware i'll set the Zigate.
Every day I'll lose some device (sometimes close to the zigate, even at 3 meters distance) and have to power-cycle them to resume it to work. When i had the issue at first, powercycling didn't work, but at that time I had 48 devices on my Zigate. My energy scans show for the Tradfri devices strenghts between 165 and 199. My Hue bulbs show a lot lower in comparision to the Tradfri's, they always had even when very close to the Zigate but never have any communication failure before.
On firmware 3.1a I never had this symptom and didn't change Wifi settings when upgrading to 3.1c. I hope that more people who are experiencing this will share this to the community.
I know ronaldbro, also active on this forum and experiencing same problems, is mailing with the producer of the Zigate to have his PiZigate fully reset and downgraded to 3.1a. I'm curious if that will solve this problem at his site. At the moment i'll wait for his results before downgrading to 3.1a, meanwhile powercycling everyday some device
