I am trying to go from the ConbeeII to the SLZB-06P7.
I already found out that i cant migrate without the need to re-pair my devices.
Luckily I do not have that many devices yet.
My first attempt failed to get the new adapter working over ethernet.
I couldn’t get the old one back online so I did a backup restore.
Its been so long ago that I installed homeassistant on the nuc that I don’t know how I installed it.
The instructions at zigbee2mqtt mention to delete the data/database.db but it seems like I have no data folder.
I do have a share folder in the root which contains an zigbee2mqtt which contain the next files and folders.
I assume that this is the main folder.
the config file here contains the following.
devices:
- devices.yaml
groups:- groups.yaml
homeassistant:
enabled: true
mqtt:
base_topic: zigbee2mqtt
server: mqtt://xxxxxxxx
user: xxxxxxxx
password: xxxxxxxxx
serial:
port: >-
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2234842-if00
adapter: deconz
advanced:
log_level: debug
pan_id: 6754
channel: 11
network_key:
- 1
- 3
- 5
- 7
- 9
- 11
- 13
- 15
- 0
- 2
- 4
- 6
- 8
- 10
- 12
- 13
device_options: {}
blocklist:- ‘0x001xxxxx6c9f6’
passlist:
queue: {}
frontend:
enabled: true
port: 8099
version: 4
But I also have a folder in the homeassistant folder that is also called zigbee2mqtt.
In this folder there is only a configuration.yaml but that is totally different from the one in the share folder.
It contains the following.
homeassistant: true
advanced:
network_key:
- 76
- 152
- 128
- 61
- 176
- 180
- 241
- 26
- 212
- 207
- 12
- 252
- 163
- 6
- 14
- 183
pan_id: 34730
ext_pan_id:
- 13
- 53
- 231
- 66
- 72
- 65
- 194
- 102
mqtt:
server: mqtt://core-mosquitto:1883
user: xxxxx
password: xxxxxxxxxx
frontend:
port: 8099
Are they both used?
To get the adapter working, One guide shows to set the value of the pan_id, the ext_pan_id and the network_key to GENERATE. but in which config file should this be done.
Since I have to re-pai every device, wouldn’t it be easier and cleaner to just start from scratch with a new instance? Give each device the same name as before shouldn’t mess up my dashboards and automations I assume?
But if I want to start from scratch how do I delete all of the old zigee2mqtt files and folders without screwing up Homeassistant.