Errors on start and no new devices

Hallo everyone,

fist thanks for this awesome piece of software.

I have done a mistake and forgot to disable permit_join.
Last week I tried to add new HUE bulbs to my HUE Bridge. You know what happend :smiley:
All new Bulbs were added to the zigbee2mqtt network. Took me a while to figure this out.
I disabled the service reseted the bulbs and all went fine. Except I forgot to remove the elements
from zigbee2mqtt.
Only thing that worked was a force remove because the device was not able to answer anymore.
After this action all acitentaly added bulbs were gone from configuration.yaml

Problem is, when I now start with sudo systemctl start zigbee2mqtt.service
I get the following output:

info  2019-12-23 18:30:17: MQTT publish: topic 'zigbee2mqtt/Door_second_Floor', payload '{"contact":true,"linkquality":23,"battery":100,"voltage":3015}'
info  2019-12-23 18:30:17: MQTT publish: topic 'zigbee2mqtt/Temp_Floor_external', payload '{"temperature":17.6,"linkquality":60,"humidity":51.78,"pressure":1004,"battery":100,"voltage":3005}'
info  2019-12-23 18:30:17: MQTT publish: topic 'zigbee2mqtt/Temp_Basement_Serverroom', payload '{"temperature":21.15,"linkquality":63,"humidity":41.28,"pressure":1005.3,"battery":100,"voltage":3005}'
info  2019-12-23 18:30:17: MQTT publish: topic 'zigbee2mqtt/Door_Basement', payload '{"battery":97,"voltage":2995,"contact":false,"linkquality":68}'
error 2019-12-23 18:30:17: '0x00178801043295f2' does not exist, skipping publish
error 2019-12-23 18:30:17: '0x00178801043295f5' does not exist, skipping publish
error 2019-12-23 18:30:17: '0x0017880106bd5996' does not exist, skipping publish
error 2019-12-23 18:30:17: '0x0017880106bd59a4' does not exist, skipping publish
error 2019-12-23 18:30:17: '0x0017880102c05f98' does not exist, skipping publish
info  2019-12-23 18:30:17: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.8.0","commit":"da4d26a","coordinator":{"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":6,"maintrel":3,"revision":20190109}},"log_level":"info","permit_join":true}'
error 2019-12-23 18:30:17: Device '' does not exist
error 2019-12-23 18:30:17: Cannot remove, device '' does not exist
error 2019-12-23 18:30:17: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:17: Cannot remove, device '' does not exist
error 2019-12-23 18:30:17: Cannot force remove, device '0x0017880106bd59a4' does not exist
info  2019-12-23 18:30:20: MQTT publish: topic 'zigbee2mqtt/ZigBee_Router_1', payload '{"state":true,"linkquality":78,"led_state":true}'
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist
error 2019-12-23 18:30:21: Cannot force remove, device '0x0017880106bd59a4' does not exist
error 2019-12-23 18:30:21: Cannot remove, device '' does not exist

this repeats a lot more lines. …
After all this messages, the Service is running fine, exept I am not able to add any new devices :frowning:
Atm I have 27 devices, 2 Router and one coordinator in this network.

Do you have any tips for me regarding this problems?

Thank you all :slight_smile:

Regards

Dennis

Ok found a solution for the errors.
I stoped the service an removed all devices from db and json.

But I am stil not able to join a new device.
Ramped up the debuging and found this:

 zigbee-herdsman:controller:log Permit joining +25s
  zigbee-herdsman:adapter:zStack:znp:SREQ --> ZDO - mgmtPermitJoinReq - {"addrmode":15,"dstaddr":65532,"duration":254,"tcsignificance":0} +25s
  zigbee-herdsman:adapter:zStack:unpi:writer --> frame [254,5,37,54,15,252,255,254,0,228] +25s
  zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,1,101,54,0,82] +25s
  zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,1,101,54,0,82] +1ms
  zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 1 - 3 - 5 - 54 - [0] - 82 +1ms
  zigbee-herdsman:adapter:zStack:znp:SRSP <-- ZDO - mgmtPermitJoinReq - {"status":0} +25s
  zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [] +1ms
  zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,3,69,182,0,0,0,240] +7ms
  zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,3,69,182,0,0,0,240] +1ms
  zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 3 - 2 - 5 - 182 - [0,0,0] - 240 +1ms
  zigbee-herdsman:adapter:zStack:znp:AREQ <-- ZDO - mgmtPermitJoinRsp - {"srcaddr":0,"status":0} +25s
  zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [] +1ms
  zigbee-herdsman:adapter:zStack:unpi:parser <-- [254,27,68,129,0,0,6,0,9,64,8,1,0,84,0,177,109,34,0,0,7,0,93,10,0,0,32,0,9,64,29,22] +1s
  zigbee-herdsman:adapter:zStack:unpi:parser --- parseNext [254,27,68,129,0,0,6,0,9,64,8,1,0,84,0,177,109,34,0,0,7,0,93,10,0,0,32,0,9,64,29,22] +0ms
  zigbee-herdsman:adapter:zStack:unpi:parser --> parsed 27 - 2 - 4 - 129 - [0,0,6,0,9,64,8,1,0,84,0,177,109,34,0,0,7,0,93,10,0,0,32,0,9,64,29] - 22 +1ms
  zigbee-herdsman:adapter:zStack:znp:AREQ <-- AF - incomingMsg - {"groupid":0,"clusterid":6,"srcaddr":16393,"srcendpoint":8,"dstendpoint":1,"wasbroadcast":0,"linkquality":84,"securityuse":0,"timestamp":2256305,"transseqnumber":0,"len":7,"data":{"type":"Buffer","data":[0,93,10,0,0,32,0]}} +1s

I have no clue what this message is about.

Please help :slight_smile: