Smanar / Domoticz-deCONZ

deCONZ plugin for Domoticz (Zigbee application)
GNU General Public License v3.0
36 stars 27 forks source link

Devices cannot be created #29

Closed czasas closed 4 years ago

czasas commented 4 years ago

After configuring deconz and adding hardware , devices are no creating. I have an error :

2019-09-26 20:51:35.685 Error: (Conbee) Wrong startup, retrying !!

Full logs:

2019-09-26 20:51:35.651 (Conbee) Pushing 'onHeartbeatCallback' on to queue 2019-09-26 20:51:35.670 (Conbee) Processing 'onHeartbeatCallback' message 2019-09-26 20:51:35.670 (Conbee) Calling message handler 'onHeartbeat'. 2019-09-26 20:51:35.670 (Conbee) onHeartbeat called 2019-09-26 20:51:35.670 (Conbee) ### Initialisation > config 2019-09-26 20:51:35.670 (Conbee) ### Request config 2019-09-26 20:51:35.670 (Conbee) Send Command /api/49F1F1BBE9/config/ with None (0 in buffer) 2019-09-26 20:51:35.670 (Conbee) Making Request : http://192.168.0.110:80/api/49F1F1BBE9/config/ with params None 2019-09-26 20:51:35.684 (Conbee) Request Return : {"UTC":"2019-09-26T18:51:20","apiversion":"1.16.0","backup":{"errorcode":0,"status":"idle"},"bridgeid":"00212EFFFF04F2F2","datastoreversion":"60","dhcp":true,"factorynew":false,"fwversion":"0x00000000","gateway":"192.168.0.1","internetservices":{"remoteaccess":"disconnected"},"ipaddress":"192.168.0.110","linkbutton":false,"localtime":"2019-09-26T20:51:20","mac":"d0:7e:35:00:e2:36","modelid":"deCONZ","name":"deconz","netmask":"255.255.255.0","networkopenduration":60,"panid":0,"portalconnection":"disconnected","portalservices":false,"portalstate":{"communication":"disconnected","incoming":false,"outgoing":false,"signedon":false},"proxyaddress":"none","proxyport":0,"replacesbridgeid":null,"rfconnected":false,"starterkitid":"","swupdate":{"checkforupdate":false,"devicetypes":{"bridge":false,"lights":[],"sensors":[]},"notify":false,"text":"","updatestate":0,"url":""},"swupdate2":{"autoinstall":{"on":false,"updatetime":""},"bridge":{"lastinstall":"2019-09-06T16:58:29","state":"noupdates"},"checkforupdate":false,"install":false,"lastchange":"","lastinstall":"","state":"noupdates"},"swversion":"2.5.69","timeformat":"12h","timezone":"none","uuid":"5c297ffb-261a-4db3-8207-7c415b607c4e","websocketnotifyall":true,"websocketport":443,"whitelist":{"2923BE84E1":{"create date":"2019-09-26T16:51:36","last use date":"2019-09-26T18:41:04","name":"Phoscon#B980x1087"},"49F1F1BBE9":{"create date":"2019-09-26T17:36:13","last use date":"2019-09-26T18:51:20","name":"Domoticz"},"6CD6AE5290":{"create date":"2019-09-26T17:16:24","last use date":"2019-09-26T17:36:41","name":"Domoticz"},"DB3C870C3E":{"create date":"2019-09-26T10:10:01","last use date":"2019-09-26T11:12:37","name":"Phoscon#B1366x625"}},"zigbeechannel":0} 2019-09-26 20:51:35.685 (Conbee) Classic Data : {'replacesbridgeid': None, 'proxyport': 0, 'portalservices': False, 'name': 'deconz', 'timezone': 'none', 'websocketport': 443, 'swupdate': {'checkforupdate': False, 'text': '', 'updatestate': 0, 'devicetypes': {'lights': [], 'sensors': [], 'bridge': False}, 'notify': False, 'url': ''}, 'zigbeechannel': 0, 'portalconnection': 'disconnected', 'apiversion': '1.16.0', 'whitelist': {'49F1F1BBE9': {'name': 'Domoticz', 'create date': '2019-09-26T17:36:13', 'last use date': '2019-09-26T18:51:20'}, 'DB3C870C3E': {'name': 'Phoscon#B1366x625', 'create date': '2019-09-26T10:10:01', 'last use date': '2019-09-26T11:12:37'}, '2923BE84E1': {'name': 'Phoscon#B980x1087', 'create date': '2019-09-26T16:51:36', 'last use date': '2019-09-26T18:41:04'}, '6CD6AE5290': {'name': 'Domoticz', 'create date': '2019-09-26T17:16:24', 'last use date': '2019-09-26T17:36:41'}}, 'timeformat': '12h', 'rfconnected': False, 'backup': {'status': 'idle', 'errorcode': 0}, 'localtime': '2019-09-26T20:51:20', 'swupdate2': {'checkforupdate': False, 'install': False, 'autoinstall': {'updatetime': '', 'on': False}, 'lastchange': '', 'lastinstall': '', 'bridge': {'lastinstall': '2019-09-06T16:58:29', 'state': 'noupdates'}, 'state': 'noupdates'}, 'portalstate': {'outgoing': False, 'signedon': False, 'communication': 'disconnected', 'incoming': False}, 'uuid': '5c297ffb-261a-4db3-8207-7c415b607c4e', 'internetservices': {'remoteaccess': 'disconnected'}, 'panid': 0, 'modelid': 'deCONZ', 'ipaddress': '192.168.0.110', 'bridgeid': '00212EFFFF04F2F2', 'UTC': '2019-09-26T18:51:20', 'linkbutton': False, 'proxyaddress': 'none', 'swversion': '2.5.69', 'mac': 'd0:7e:35:00:e2:36', 'gateway': '192.168.0.1', 'factorynew': False, 'fwversion': '0x00000000', 'networkopenduration': 60, 'datastoreversion': '60', 'starterkitid': '', 'netmask': '255.255.255.0', 'websocketnotifyall': True, 'dhcp': True}

2019-09-26 20:51:35.685 Error: (Conbee) Wrong startup, retrying !!

Smanar commented 4 years ago

Hello, This is something normal, I m checking the firmware value value to check if deconz is running. In your situation > "fwversion":"0x00000000" mean deconz is not ready, so the plugin wait for 10s, retry, and if all fine (10s is enought for deconz starting) continu the process. If you have this error a second time, it's not normal, check if deconz is correctly running, or if your version is up to date.

BTW, I m sure you have some problem with your config, lot of error in your config, like ,"zigbeechannel":0

Are you using headless version or GUI version ? Have you already try to run Phoscon at least one time ?

czasas commented 4 years ago

Devices added , topić van be closed