Zigbee2MQTT firmware upgrade.

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

Moderator: leecollings

Post Reply
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Zigbee2MQTT firmware upgrade.

Post by EddyG »

Is it possible to upgrade coordinator en router firmware in an existing network without losing anything?
Or has the network be rebuild again?
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Zigbee2MQTT firmware upgrade.

Post by EddyG »

I did already the router, and that can be done without loss of devices.
The coordinator is a little bit trickier for me (more devices).
So does anybody know if the firmware of the coordinator can be upgrade without loss?
ben53252642
Posts: 543
Joined: Saturday 02 July 2016 5:17
Target OS: Linux
Domoticz version: Beta
Contact:

Re: Zigbee2MQTT firmware upgrade.

Post by ben53252642 »

I've done it before and some of my devices were still connected, I believe it has to do with keeping the same PAN ID which I have set manually in my configuration.yaml. That said I did still have to re-join some devices but not all, eg my Xiaomi Temp Hum sensor kept working fine.

This is the top of my configuration.yaml

Code: Select all

homeassistant: false
permit_join: true
advanced:
  log_level: debug
  pan_id: 7172
  channel: 11
  baudrate: 115200
  rtscts: true
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Zigbee2MQTT firmware upgrade.

Post by EddyG »

Tnx, will try next weekend.
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Zigbee2MQTT firmware upgrade.

Post by EddyG »

Unfortunately after the firmware update of the coordinator I have to include all my devices again, except for the CC2531 router stick.
Friendlynames are kept, but it is a hell of job to include them all again.
And most of my devices come back with:

Code: Select all

warn: Device with modelID 'undefined' is not supported.
All those device where included before without a problem.
And also a lot of this errors:

Code: Select all

error: Cannot get the Node Descriptor of the Device: 0x00158d0001b192fd (Error: Timed out after 10000s)
After more then 1 hour I only got 3 devices included, what a nightmare.
Smiggel
Posts: 36
Joined: Friday 23 March 2018 17:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Contact:

Re: Zigbee2MQTT firmware upgrade.

Post by Smiggel »

Hmmm, that sucks. I ordered the hardware to make a Zigbee stick to replace my Xiaomi hub. Hopefully it will work.

Can you not downgrade your stick to the previous version that was working?
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Zigbee2MQTT firmware upgrade.

Post by EddyG »

Finally after aprox. 2 hours i got it working again, due to the fact that not every sensor is easy at hand,
It should be easier, like with the router.
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Zigbee2MQTT firmware upgrade.

Post by EddyG »

I am lost, who can help.
There is 1 smoke device (JTYJ-GD-01LM/BW) which will not be added.
What is the right procedure?
When I push the button I get:

Code: Select all

2019-1-30 14:53:38 - debug: Received zigbee message of type 'statusChange' with data '{"cid":"ssIasZone","zoneStatus":0}' of device 'undefined' (0x00158d0001d64498)
2019-1-30 14:53:38 - warn: Device with modelID 'undefined' is not supported.
2019-1-30 14:53:38 - warn: Please see: https://koenkk.github.io/zigbee2mqtt/how_tos/how_to_support_new_devices.html
2019-1-30 14:53:38 - debug: Received zigbee message of type 'attReport' with data '{"cid":"genBasic","data":{"65281":{"1":3045,"3":32,"4":5032,"5":30,"6":[0,9],"8":4100,"10":0,"100":0,"150":0}}}' of device 'undefined' (0x00158d0001d64498)
2019-1-30 14:53:38 - warn: Device with modelID 'undefined' is not supported.
2019-1-30 14:53:38 - warn: Please see: https://koenkk.github.io/zigbee2mqtt/how_tos/how_to_support_new_devices.html
2019-1-30 14:53:38 - debug: Received zigbee message of type 'devChange' with data '{"cid":"genBasic","data":{"65281":[null,null,null,null,null,null,[null,9]]}}' of device 'undefined' (0x00158d0001d64498)
2019-1-30 14:53:38 - warn: Device with modelID 'undefined' is not supported.
2019-1-30 14:53:38 - warn: Please see: https://koenkk.github.io/zigbee2mqtt/how_tos/how_to_support_new_devices.html
Before the new firmware this smoke sensor included fine.
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Zigbee2MQTT firmware upgrade.

Post by EddyG »

After the upgrade I have this configuration.
2019-02-02_09-45-19.png
2019-02-02_09-45-19.png (62 KiB) Viewed 2557 times
This is different from my previous configuration.
I see 16 lines towards the Coordinator. Does this mean that I am towards the limit and that might be the reason that nothing more can be added?
The total is only 13 real devices and that's below the limit.
Remarkable is also that due to physical circumstances the Powerplug should only connect to the Router, but Powerplug connects to the 2 other routers and the coordinator. I suppose that the numbers are the signallevels.
Can anyone enlighten me how to get more devices connected?
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Zigbee2MQTT firmware upgrade.

Post by EddyG »

I managed to get 2 devices (Smoke and DoubleSwitch) into the network.
But Now I get Domoticz error

Code: Select all

2019-02-02 16:22:07.445 (Zigbee) Device 0x00158d0001d64498 (Smoke) doesn't have "model" attribute, skipped
2019-02-02 16:22:07.445 (Zigbee) Device 0x00158d0001641b87 (DoubleSwitch) doesn't have "model" attribute, skipped
and Zigbee2MQTT error

Code: Select all

2019-2-2 16:16:51 - info: Smoke (0x00158d0001d64498): unkown - undefined unknown (EndDevice)
2019-2-2 16:16:51 - info: DoubleSwitch (0x00158d0001641b87): unkown - undefined unknown (EndDevice)
B.t.w. There is a little typo "unkown"

Anyone any idea?
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Zigbee2MQTT firmware upgrade.

Post by EddyG »

Finally I got things running again.
Should have known this earlier: https://koenkk.github.io/zigbee2mqtt/in ... iring.html :( :( :(
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest