[Solved] Unknown device or GrpMgr not enabled after Zigate IP change

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

Moderator: leecollings

Post Reply
kassoum
Posts: 6
Joined: Wednesday 12 February 2020 10:02
Target OS: Linux
Domoticz version:
Contact:

[Solved] Unknown device or GrpMgr not enabled after Zigate IP change

Post by kassoum »

Hi all,

I needed to change my WIFI Zigate public IP , so I did it in the Setting Hardware menu.
Once done no more request where seen on port 9999
I had a bunch of weird SQL disk error IO messages, I decided to reboot domoticz since I wanted to have some traffic from my domoticz to the zigate.
After the reboot the communication came back however i can't pass any order anymore
Here is a log when I try to open a light manually :

Code: Select all

févr. 12 09:58:40 domo.tk domoticz[333]: 2020-02-12 09:58:40.849  Status: User: kacem initiated a switch command (5/Bureau-Interrupteur/On)
févr. 12 09:58:40 domo.tk domoticz[333]: 2020-02-12 09:58:40.879  Error: (Zigate) onCommand - Unknown device or GrpMgr not enabled Bureau-Interrupteur, unit 5 , id 00158d00026a0d2c
I guess some relationship was broken, could you help me fix that?

I also see this kind of messages :

Code: Select all

févr. 12 10:12:49 domo.tk domoticz[333]: 2020-02-12 10:12:49.237  Status: (Zigate) [07] DevID = 09 Network addr = a31e IEEE = 00158d000233eecb LQI = 114 Power = 00 not found in ListOfDevices
févr. 12 10:12:49 domo.tk domoticz[333]: 2020-02-12 10:12:49.237  Status: (Zigate) [08] DevID = 28 Network addr = 715b IEEE = 00124b001e728cca LQI = 076 Power = 01 not found in ListOfDevices
févr. 12 10:12:49 domo.tk domoticz[333]: 2020-02-12 10:12:49.338  Error: (Zigate) Decode8102 - Receiving a message from unknown device : 77c8 with Data : 5377c80104000000002100020082
févr. 12 10:12:49 domo.tk domoticz[333]: 2020-02-12 10:12:49.338  Error: (Zigate) Decode8102 - Receiving a message from unknown device : 77c8 with Data : 5477c801040600000018000101

Thanks a lot for your help
Last edited by kassoum on Sunday 23 February 2020 8:52, edited 1 time in total.
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Unknown device or GrpMgr not enabled after Zigate IP change

Post by pipiche »

How di you change the IP address ? Did you do Update or Add ?
How many zigate plugin do you have in the Domoticz Hardware ?
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
kassoum
Posts: 6
Joined: Wednesday 12 February 2020 10:02
Target OS: Linux
Domoticz version:
Contact:

Re: Unknown device or GrpMgr not enabled after Zigate IP change

Post by kassoum »

How di you change the IP address ? Did you do Update or Add ?
=>Update also, I notice that the names in the hardware list are strange :
1 Zigate Zigate-02- 2 1 ZigateW
2 Zigate Zigate-03- 2 2 Zigate - Zigate Notifications 2

I don't recall seeing those "Zigate-02" and "-03" before.
Also I didn't do any modification since my post yesterday and this morning the logs are different :

Code: Select all

2020-02-13 08:52:07.622  Status: (Zigate) [2] NEW OBJECT: 7305 Model Name: lumi.ctrl_neutral1
2020-02-13 08:52:07.622  Error: (Zigate) processNotinDBDevices - Devices already exist. Bureau-Interrupteur with {'Version': '3', 'ZDeviceName': '', 'Status': '8043', 'SQN': '', 'Heartbeat': '16014', 'RIA': '2', 'RSSI': 171, 'Battery': {}, 'Model': 'lumi.ctrl_neutral1', 'MacCapa': '04', 'IEEE': '00158d00026a0d2c', 'Type': '', 'ProfileID': '0104', 'ZDeviceID': '0053', 'App Version': '21', 'Attributes List': {}, 'DeviceType': '', 'HW Version': '38', 'Last Cmds': [], 'LogicalType': '', 'Manufacturer': '', 'Maufacturer Name': '', 'NbEp': '7', 'PowerSource': '', 'ReadAttributes': {'Ep': {'01': {'0000': {'0000': '00', '0001': '00', '0002': '00', '0003': '00', '0004': '00', '0005': '00', '0006': '00', '0007': '00', '000a': '86', '000f': '86', '0010': '00', '0015': '86', '4000': '86', 'ff01': '00'}}}, 'TimeStamps': {'01-0000': 1581500234}}, 'ReceiveOnIdle': '', 'Stack Version': '2', 'Stamp': {'Time': '2020-02-12 10:49:56', 'MsgType': '8102', 'LastSeen': 1581500996}, 'ZCL Version': '0', 'Health': 'Live', 'Capability': ['Reduced-Function Device', 'Main Powered', 'Standard security', 'NwkAddr need to be allocated'], 'ConfigSource': 'DeviceConf', 'Manufacturer Name': 'LUMI', 'Ep': {'01': {'0019': {}, '0001': {}, '000a': {}, '0003': {}, '0002': {}, '0006': {}, '0000': {}, 'Type': ''}, '02': {'0010': {}, '0006': '01', '0004': {}, '0005': {}, 'Type': 'Switch'}, '03': {'0010': {}, '0006': {}, '0004': {}, '0005': {}, 'Type': ''}, '04': {'0012': {}, '0006': {}, 'Type': ''}, '05': {'0012': {}, '0006': {}, 'Type': ''}, '06': {'0012': {}, '0006': {}, 'Type': ''}, '08': {'000c': {}, 'Type': ''}}, 'SWBUILD_1': '11-25-2017', 'Location': 'None'}
2020-02-13 08:52:07.622  Error: (Zigate) processNotinDBDevices - Please cross check the consistency of the Domoticz and Plugin database.
Also the connection with the zigate is lost, i don't see any traffic on port 9999 with a tcpdump.

How many zigate plugin do you have in the Domoticz Hardware ?
23


My domoticz is a virtual machine I can do snapshots and any tests you'd like.
Thank you for your help
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Unknown device or GrpMgr not enabled after Zigate IP change

Post by pipiche »

I don't know what you did when changing the IP address but I suspect that you create a new Hardware or something like that.
- Could you check what files are in plugins/Domoticz-Zigate/Data ?
- Could you go to Domoticz -> Setup -> Hardware (not Devices)
- This is where you enable/disable/add/update plugins ?
- How many Zigate instances do you have ?
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
kassoum
Posts: 6
Joined: Wednesday 12 February 2020 10:02
Target OS: Linux
Domoticz version:
Contact:

Re: Unknown device or GrpMgr not enabled after Zigate IP change

Post by kassoum »

- Could you check what files are in plugins/Domoticz-Zigate/Data ?

Code: Select all

root@domo:/home/domoticz/domoticz/plugins/Domoticz-Zigate/Data# ls -l
total 196
-rw-r--r-- 1 domoticz domoticz  1670 févr. 13 10:01 DeviceList-2.txt
-rw-r--r-- 1 domoticz domoticz     0 févr. 12 09:35 DeviceList-2.txt-01
-rw-r--r-- 1 domoticz domoticz 18816 févr. 12 09:35 DeviceList-2.txt-02
-rw-r--r-- 1 domoticz domoticz 17758 févr. 12 09:35 DeviceList-2.txt-03
-rw-r--r-- 1 domoticz domoticz 16864 févr. 12 09:35 DeviceList-2.txt-04
-rw-r--r-- 1 domoticz domoticz 14827 févr. 12 09:35 DeviceList-2.txt-05
-rw-r--r-- 1 domoticz domoticz 13537 févr. 12 09:35 DeviceList-2.txt-06
-rw-r--r-- 1 domoticz domoticz 13367 févr. 12 09:35 DeviceList-2.txt-07
-rw-r--r-- 1 domoticz domoticz 13184 févr. 12 09:35 DeviceList-2.txt-08
-rw-r--r-- 1 domoticz domoticz 13221 févr. 12 09:35 DeviceList-2.txt-09
-rw-r--r-- 1 domoticz domoticz 13221 févr. 12 09:35 DeviceList-2.txt-10
-rw-r--r-- 1 domoticz domoticz 13185 févr. 12 09:35 DeviceList-2.txt-11
-rw-r--r-- 1 domoticz domoticz 16215 févr. 12 09:35 DeviceList-2.txt-12
-rw-r--r-- 1 domoticz domoticz     0 févr.  1 17:01 empty
-rw-r--r-- 1 domoticz domoticz   186 févr. 12 10:12 Zigate.json
- Could you go to Domoticz -> Setup -> Hardware (not Devices)
- This is where you enable/disable/add/update plugins ?
Yes, I selected the existing zigate and changed the IP then pushed "Update"
- How many Zigate instances do you have ?
one and IDX is "2"... same thing I am pretty sure it was 1 before...
I have automatic domoticz backups, should I try to reforce an old one (before ip change) and redo the procedure?
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Unknown device or GrpMgr not enabled after Zigate IP change

Post by pipiche »

It looks like a number of devices have been removed from the Plugin.
May be you delete the Hardware and then Added

The files DeviceList-2.txt-01 .... 12 are previous version and you can see that the size has changed from around 18K to 0 !

This is why you have some error messages of devices which are paired with Zigate, but not known from the plugin and then are most-likely existing in Domoticz !

If you have a backup ( domoticz including the plugins directory ) I think that would be the best.

Then you'll have to update the IP address of Zigate and in that case make sure that you do Update
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
kassoum
Posts: 6
Joined: Wednesday 12 February 2020 10:02
Target OS: Linux
Domoticz version:
Contact:

Re: Unknown device or GrpMgr not enabled after Zigate IP change

Post by kassoum »

Thanks so far for your help,
Here's my trial

After backup restoration

Code: Select all

root@domo:~# ls -l /home/domoticz/domoticz/plugins/Domoticz-Zigate/Data/
total 184
-rw-r--r-- 1 domoticz domoticz  1670 févr. 13 22:32 DeviceList-2.txt
-rw-r--r-- 1 domoticz domoticz  1670 févr. 13 22:32 DeviceList-2.txt-01
-rw-r--r-- 1 domoticz domoticz     0 févr. 13 22:32 DeviceList-2.txt-02
-rw-r--r-- 1 domoticz domoticz 18816 févr. 13 22:32 DeviceList-2.txt-03
-rw-r--r-- 1 domoticz domoticz 17758 févr. 13 22:32 DeviceList-2.txt-04
-rw-r--r-- 1 domoticz domoticz 16864 févr. 13 22:32 DeviceList-2.txt-05
-rw-r--r-- 1 domoticz domoticz 14827 févr. 13 22:32 DeviceList-2.txt-06
-rw-r--r-- 1 domoticz domoticz 13537 févr. 13 22:32 DeviceList-2.txt-07
-rw-r--r-- 1 domoticz domoticz 13367 févr. 13 22:32 DeviceList-2.txt-08
-rw-r--r-- 1 domoticz domoticz 13184 févr. 13 22:32 DeviceList-2.txt-09
-rw-r--r-- 1 domoticz domoticz 13221 févr. 13 22:32 DeviceList-2.txt-10
-rw-r--r-- 1 domoticz domoticz 13221 févr. 13 22:32 DeviceList-2.txt-11
-rw-r--r-- 1 domoticz domoticz 13185 févr. 13 22:32 DeviceList-2.txt-12
-rw-r--r-- 1 domoticz domoticz     0 févr.  1 17:01 empty
-rw-r--r-- 1 domoticz domoticz   186 févr. 12 10:12 Zigate.json

Zigate Idx was actually 2.

I update the IP(Go to Setup/Hardware/Select Zigate / Change IP / push "UPDATE" not "Add", connection is done again on port 9999

Code: Select all

root@domo:~# systemctl status domoticz
● domoticz.service - domoticz_service
   Loaded: loaded (/etc/systemd/system/domoticz.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2020-02-12 09:35:16 CET; 1 day 12h ago
 Main PID: 333 (domoticz)
    Tasks: 18 (limit: 1147)
   Memory: 157.4M
   CGroup: /system.slice/domoticz.service
           └─333 /home/domoticz/domoticz/domoticz -sslwww 4443 -sslcert /home/domoticz/domoticz/server_cert.pem -log /tmp/domoticz.log

Code: Select all

févr. 13 22:34:35 domo.tk domoticz[333]: 2020-02-13 22:34:35.081  Status: (Zigate) Plugin with Zigate firmware 031a correctly initialized
févr. 13 22:34:35 domo.tk domoticz[333]: context.c:55: warning: mpd_setminalloc: ignoring request to set MPD_MINALLOC a second time
févr. 13 22:34:35 domo.tk domoticz[333]: 2020-02-13 22:34:35.112  Status: (Zigate) checkPluginVersion - Upgrade available: 4.7.001
févr. 13 22:34:35 domo.tk domoticz[333]: 2020-02-13 22:34:35.112  Status: (Zigate) There is a newer plugin version available on gitHub
févr. 13 22:34:35 domo.tk domoticz[333]: 2020-02-13 22:34:35.113  Status: (Zigate) checkFirmwareUpdate - Firmware update available
févr. 13 22:34:35 domo.tk domoticz[333]: 2020-02-13 22:34:35.113  Status: (Zigate) There is a newer Zigate Firmware version available
févr. 13 22:34:35 domo.tk domoticz[333]: 2020-02-13 22:34:35.113  Status: (Zigate) [2] NEW OBJECT: 7305 Model Name: lumi.ctrl_neutral1
févr. 13 22:34:35 domo.tk domoticz[333]: 2020-02-13 22:34:35.113  Error: (Zigate) processNotinDBDevices - Devices already exist. Bureau-Interrupteur with {'Version': '3', 'ZDeviceName': '', 'Status': '804
févr. 13 22:34:35 domo.tk domoticz[333]: 2020-02-13 22:34:35.114  Error: (Zigate) processNotinDBDevices - Please cross check the consistency of the Domoticz and Plugin database.
févr. 13 22:34:35 domo.tk domoticz[333]: 2020-02-13 22:34:35.221  (Zigate) TxPower set to: 00


Try to light up something

Code: Select all

févr. 13 22:36:04 domo.tk domoticz[333]: 2020-02-13 22:36:04.525  Error: (Zigate) mgtCommand - no ClusterType found !  {'Version': '3', 'ZDeviceName': '', 'Status': '8043', 'SQN': '', 'Ep': {'01': {'0019'
févr. 13 22:36:05 domo.tk domoticz[333]: 2020-02-13 22:36:05.126  Status: (Zigate) [2] NEW OBJECT: 7305 Model Name: lumi.ctrl_neutral1
févr. 13 22:36:05 domo.tk domoticz[333]: 2020-02-13 22:36:05.127  Error: (Zigate) processNotinDBDevices - Devices already exist. Bureau-Interrupteur with {'Version': '3', 'ZDeviceName': '', 'Status': '804
févr. 13 22:36:05 domo.tk domoticz[333]: 2020-02-13 22:36:05.127  Error: (Zigate) processNotinDBDevices - Please cross check the consistency of the Domoticz and Plugin database.
févr. 13 22:36:10 domo.tk domoticz[333]: 2020-02-13 22:36:10.140  Status: (Zigate) [2] NEW OBJECT: 7305 Model Name: lumi.ctrl_neutral1
févr. 13 22:36:10 domo.tk domoticz[333]: 2020-02-13 22:36:10.142  Error: (Zigate) processNotinDBDevices - Devices already exist. Bureau-Interrupteur with {'Version': '3', 'ZDeviceName': '', 'Status': '804
févr. 13 22:36:10 domo.tk domoticz[333]: 2020-02-13 22:36:10.142  Error: (Zigate) processNotinDBDevices - Please cross check the consistency of the Domoticz and Plugin database.

restarting domoticz

Code: Select all

[...]
févr. 13 22:36:55 domo.tk domoticz[8342]: 2020-02-13 22:36:55.501  Status: (Zigate) [08] DevID = 08 Network addr = 3582 IEEE = 00158d000237d212 LQI = 113 Power = 00 not found in ListOfDevices
févr. 13 22:36:55 domo.tk domoticz[8342]: 2020-02-13 22:36:55.501  Status: (Zigate) [09] DevID = 09 Network addr = a31e IEEE = 00158d000233eecb LQI = 096 Power = 00 not found in ListOfDevices
févr. 13 22:36:55 domo.tk domoticz[8342]: 2020-02-13 22:36:55.501  Status: (Zigate) [10] DevID = 0a Network addr = e037 IEEE = 00158d0002a1c915 LQI = 179 Power = 01 not found in ListOfDevices
févr. 13 22:36:55 domo.tk domoticz[8342]: 2020-02-13 22:36:55.501  Status: (Zigate) [11] DevID = 28 Network addr = 715b IEEE = 00124b001e728cca LQI = 099 Power = 01 not found in ListOfDevices

Code: Select all

root@domo:~# ls -l /home/domoticz/domoticz/plugins/Domoticz-Zigate/Data/
total 160
-rw-r--r-- 1 domoticz domoticz  1528 févr. 13 22:36 DeviceList-2.txt
-rw-r--r-- 1 domoticz domoticz  1528 févr. 13 22:36 DeviceList-2.txt-01
-rw-r--r-- 1 domoticz domoticz  1397 févr. 13 22:36 DeviceList-2.txt-02
-rw-r--r-- 1 domoticz domoticz  1670 févr. 13 22:36 DeviceList-2.txt-03
-rw-r--r-- 1 domoticz domoticz     0 févr. 13 22:36 DeviceList-2.txt-04
-rw-r--r-- 1 domoticz domoticz 18816 févr. 13 22:36 DeviceList-2.txt-05
-rw-r--r-- 1 domoticz domoticz 17758 févr. 13 22:36 DeviceList-2.txt-06
-rw-r--r-- 1 domoticz domoticz 16864 févr. 13 22:36 DeviceList-2.txt-07
-rw-r--r-- 1 domoticz domoticz 14827 févr. 13 22:36 DeviceList-2.txt-08
-rw-r--r-- 1 domoticz domoticz 13537 févr. 13 22:36 DeviceList-2.txt-09
-rw-r--r-- 1 domoticz domoticz 13367 févr. 13 22:36 DeviceList-2.txt-10
-rw-r--r-- 1 domoticz domoticz 13184 févr. 13 22:36 DeviceList-2.txt-11
-rw-r--r-- 1 domoticz domoticz 13221 févr. 13 22:36 DeviceList-2.txt-12
-rw-r--r-- 1 domoticz domoticz     0 févr.  1 17:01 empty
-rw-r--r-- 1 domoticz domoticz   186 févr. 13 22:36 Zigate.json
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Unknown device or GrpMgr not enabled after Zigate IP change

Post by pipiche »

After backup restoration from what I see the plugin Data folder was not restore , it was the same as before restoration


Envoyé de mon iPhone en utilisant Tapatalk
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Unknown device or GrpMgr not enabled after Zigate IP change

Post by pipiche »

what you can try is the following:
1/ Stop Domoticz
2/ copy Data/DeviceList-2.txt-05 ( or an other number as it changes after each start but the one of size 18816 ) to Data/DeviceList-2.txt
3/Restart Domoticz

This is going to restore a previous version which seems to have all device entries
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
kassoum
Posts: 6
Joined: Wednesday 12 February 2020 10:02
Target OS: Linux
Domoticz version:
Contact:

Re: Unknown device or GrpMgr not enabled after Zigate IP change

Post by kassoum »

Hi pipiche,
Indeed doing this works now.
Why do I have that much txt files?
Would you like me to do a snapshot and try to reproduce in order to confirm if it was a misconfiguration from me or not?
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Unknown device or GrpMgr not enabled after Zigate IP change

Post by pipiche »

Basically the plugin is configured by default to have the 12 last version of the DeviceList (which is the plugin Database).
The 12 is a configurable in the Web Admin -> Settings
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest