dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.88k stars 483 forks source link

ConBee2 is not visible inside deconz or firmware updater #3766

Closed queeek closed 3 years ago

queeek commented 3 years ago

Describe the bug

deCONZ doesn't properly connect the conbee2 gateway and as a result can not connect to ZigBEe devices.

Steps to reproduce the behavior

plugin a new ConBee II stick (no firmware update was done on my side) install the latest version of deCONZ on a Raspberry Pi 3 without Docker following the installation instructions. start with: deCONZ --dev=/dev/ttyACM0 -platform minimal --http-port=80 --dbg-info=2 --dbg-zcl=1 --dbg-error=2 dbg-aps=2 (if I don't select the device it blocks fhem from using /dev/ttyAMA0)

Issue appears with other connected USB devices and one additional Homematic gateway connected to the GPIOs (/dev/ttyAMA0) and without (removed all and tested it again) also with running fhem in parallel and without fhem running deCONZ recognizes the other gateway as RaspBee and it seems it tries to install the firmware on it.

read access rights for /dev/ttyACM0 are set I can see the device also with lsusb and dmesg

response from GCFFlasher_internal -l GCFFlasher V3_16 (c) dresden elektronik ingenieurtechnik gmbh Path | Vendor | Product | Serial | Type -----------------+--------+---------+------------+------- /dev/ttyAMA0 | 0x0000 | 0x0000 | | RaspBee -> this is the HomeMatic gateway, not a RaspBee ... /dev/ttyUSB1 | 0x0403 | 0x6001 | A4035xxx | Generic FTDI -> another Gateway connected through USB /dev/ttyACM0 | 0x1CF1 | 0x0030 | DE2259xxx | ConBee II -> this is the real ConBee II

In Phoscon I can see the Gateway but it only shows the Product, Vendor and Version. In Firmware i get "Not connected" Reset gateway through Phoscon fails

if I try to install the latest firmware I get the following error message GCFFlasher_internal -t 60 -d /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2259xxx-if00 -f deCONZ_ConBeeII_0x26660700.bin.GCF GCFFlasher V3_16 (c) dresden elektronik ingenieurtechnik gmbh retry, failed

GCFFlasher_internal -t 60 -d /dev/ttyACM0 -f deCONZ_ConBeeII_0x26660700.bin.GCF GCFFlasher V3_16 (c) dresden elektronik ingenieurtechnik gmbh retry, failed

Expected behavior

ConBee2 should be visible as connected and it should be possible to add ZigBee Devices

Screenshots

Environment

deCONZ Logs

log message directly after start (in this case with --auto-connect as additional parameter, removed it for later tests) deCONZ --dev=/dev/ttyACM0 --auto-connect -platform minimal --http-port=80 --dbg-info=2 --dbg-zcl=1 --dbg-error=2 dbg-aps=2 17:21:38:259 HTTP Server listen on address 0.0.0.0, port: 80, root: /usr/share/deCONZ/webapp/ 17:21:38:270 CTRL. 3.8.7.117:21:38:436 COM: use stable device path /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2259xxx-if00 17:21:38:463 COM: /dev/ttyAMA0 : (0x0000/0x0000) 17:21:38:463 dev /dev/ttyAMA0 (/dev/ttyAMA0) 17:21:38:464 COM: /dev/ttyS0 : (0x0000/0x0000) 17:21:38:464 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 17:21:38:465 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 17:21:38:465 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 17:21:38:466 COM: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2259xxx-if00 / serialno: DE2259088, ConBee II 17:21:38:466 ZCLDB init file /home/pi/.local/share/dresden-elektronik/deCONZ/zcldb.txt 17:21:39:082 Invalid app argument --auto-connect 17:21:39:084 parent process -bash 17:21:39:084 gw run mode: normal 17:21:39:084 GW sd-card image version file does not exist: /home/pi/.local/share/dresden-elektronik/deCONZ/gw-version 17:21:39:086 sd-card cid: 035344534533324780ffffffff0111ef 17:21:39:118 DB sqlite version 3.8.7.1 17:21:39:125 DB PRAGMA page_count: 42 17:21:39:125 DB PRAGMA page_size: 1024 17:21:39:125 DB PRAGMA freelist_count: 0 17:21:39:125 DB file size 43008 bytes, free pages 0 17:21:39:126 DB PRAGMA user_version: 7 17:21:39:126 DB cleanup

the following log messages are produced continuously: (without other Devices) 22:43:20:764 failed to reconnect to network try=3 22:43:25:763 failed to reconnect to network try=4 22:43:25:785 COM: /dev/ttyAMA0 : (0x0000/0x0000) 22:43:25:785 dev /dev/ttyAMA0 (/dev/ttyAMA0) 22:43:25:785 COM: /dev/ttyS0 : (0x0000/0x0000) 22:43:25:786 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 22:43:25:786 GW firmware update select USB device 22:43:25:786 GW update firmware not found: 22:43:30:764 Daylight now: nightStart, status: 230, daylight: 0, dark: 1 22:43:30:764 failed to reconnect to network try=5

With other devices 22:43:50:501 COM: /dev/ttyAMA0 : (0x0000/0x0000) 22:43:50:502 dev /dev/ttyAMA0 (/dev/ttyAMA0) 22:43:50:502 COM: /dev/ttyS0 : (0x0000/0x0000) 22:43:50:503 COM: /dev/ttyUSB0 : USB2.0-Serial ... 22:43:50:503 COM: /dev/ttyUSB1 : FT232R USB UART ... 22:43:50:504 COM: /dev/ttyACM1 : ConBee II (0x1CF1/0x0030) 22:43:50:504 GW firmware update select USB device 22:43:50:504 GW update firmware not found: 22:43:53:478 failed to reconnect to network try=7

when I start a scan for lights the following message appears in the log API error 950, /sensors, Not connected

Additional context

queeek commented 3 years ago

firmware update worked in the meantime

GCFFlasher_internal -t 60 -d /dev/ttyACM0 -f deCONZ_ConBeeII_0x26660700.bin.GCF GCFFlasher V3_16 (c) dresden elektronik ingenieurtechnik gmbh Reboot device /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2259xxx-if00 (ConBee II) deCONZ firmware version 26580700 R21B18 Bootloader Vers: 2.07 build: Jun 17 2019 flashing 164106 bytes: |==============================| verify: . SUCCESS Wait 10 seconds until application starts deCONZ firmware version 26660700

but everything else is still the same

queeek commented 3 years ago

same with version 26670700

Mimiix commented 3 years ago

Hi

Can you provide a full log file?

SwoopX commented 3 years ago

Also, do you use HA or docker?

queeek commented 3 years ago

no HA or Docker

queeek commented 3 years ago

Hi

Can you provide a full log file?

which part are you in special looking for? Its getting quite long, but I added the beginning, and the repeating part already in the original ticket. So if you let me know which part you are additionally interested in I could add it here

SwoopX commented 3 years ago

Thanks for coming back. With regard to the log file, it might sound a bit strange, but we don't know yet what we're looking for so a log of 5 mins should do. By that, we also caught a pretty rare bug already which has only occurred every now and then.

I'd say just redirect everything to a file and share it here. One additional thing maybe: are you sure neither deconz nor deconz-gui service was running? From the information above I'd conclude that you run the deconz binary via command line previously. Starting it twice has pretty much the experienced effect.

Mimiix commented 3 years ago

which part are you in special looking for? Its getting quite long, but I added the beginning, and the repeating part already in the original ticket. So if you let me know which part you are additionally interested in I could add it here

Exactly what Swoop says :) Most of the time, we don't know what we are looking for yet. Some events just look fine alone, but together they look odd. That's why a full log helps best :)

queeek commented 3 years ago

Hi, i disabled the service fully (had issues upfront with blocked device from deconz with fhem) and started it manually to directly get the logs without saving everything to the SD-card. So it was not running (the GUI version was even never running cause I run the pi fully headless.) will create the full log later today for you

queeek commented 3 years ago

Tested it with and without extension cable, and made sure upfront that no other instance is running started the scan for lights after the startup finished (to make sure the issue is not because of a broken extension cable)

without extension cable

deCONZ --dev=/dev/ttyACM0 -platform minimal --http-port=80 --dbg-info=2 --dbg-zcl=1 --dbg-error=2 dbg-aps=2 --auto-connect=1 15:15:22:339 HTTP Server listen on address 0.0.0.0, port: 80, root: /usr/share/deCONZ/webapp/ 15:15:22:342 CTRL. 3.8.7.115:15:22:454 COM: use stable device path /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2259088-if00 15:15:22:477 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:15:22:477 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:15:22:478 COM: /dev/ttyS0 : (0x0000/0x0000) 15:15:22:478 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:15:22:479 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:15:22:479 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:15:22:480 COM: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2259088-if00 / serialno: DE2259088, ConBee II 15:15:22:480 ZCLDB init file /home/pi/.local/share/dresden-elektronik/deCONZ/zcldb.txt 15:15:22:998 parent process -bash 15:15:22:999 gw run mode: normal 15:15:22:999 GW sd-card image version file does not exist: /home/pi/.local/share/dresden-elektronik/deCONZ/gw-version 15:15:22:999 sd-card cid: 035344534533324780ffffffff0111ef 15:15:23:002 DB sqlite version 3.8.7.1 15:15:23:006 DB PRAGMA page_count: 44 15:15:23:006 DB PRAGMA page_size: 1024 15:15:23:006 DB PRAGMA freelist_count: 0 15:15:23:006 DB file size 45056 bytes, free pages 0 15:15:23:006 DB PRAGMA user_version: 7 15:15:23:006 DB cleanup 15:15:23:008 DB create temporary views 15:15:23:013 DB view [0] created 15:15:23:014 DB view [1] created 15:15:23:017 DB view [2] created 15:15:23:019 DB view [3] created 15:15:23:019 sql exec SELECT apikey,devicetype,createdate,lastusedate,useragent FROM auth 15:15:23:025 sql exec SELECT key FROM config2 15:15:23:026 sql exec SELECT key,value FROM config2 15:15:23:026 Load config UTC: 2020-11-28T01:09:06 from db. 15:15:23:026 Load config announceinterval: 45 from db. 15:15:23:027 Load config announceurl: https://phoscon.de/discover from db. 15:15:23:027 Load config apiversion: 2.05.88 from db. 15:15:23:027 Load config bridgeid: 0000000000000000 from db. 15:15:23:027 Load config datastoreversion: 93 from db. 15:15:23:027 Load config devicename: ConBee II from db. 15:15:23:027 Load config dhcp: true from db. 15:15:23:027 Load config disablePermitJoinAutoOff: false from db. 15:15:23:028 Load config discovery: false from db. 15:15:23:028 Load config factorynew: false from db. 15:15:23:028 Load config fwneedupdate: false from db. 15:15:23:028 Load config fwupdatestate: idle from db. 15:15:23:028 Load config fwversion: 0x00000000 from db. 15:15:23:028 Load config gateway: 127.0.0.1 from db. 15:15:23:028 Load config group0: 65520 from db. 15:15:23:029 Load config groupdelay: 50 from db. 15:15:23:029 Load config gwpassword: $1$8282jdkm$Y2eozq4GsUxizARIedB4j. from db. 15:15:23:029 Load config gwusername: delight from db. 15:15:23:029 Load config homebridge: not-managed from db. 15:15:23:029 Load config homebridge-pin: from db. 15:15:23:029 Load config homebridgepin: from db. 15:15:23:029 Load config homebridgeupdate: false from db. 15:15:23:029 Load config homebridgeupdateversion: from db. 15:15:23:030 Load config homebridgeversion: from db. 15:15:23:030 Load config ipaddress: 192.168.8.26 from db. 15:15:23:030 Load config linkbutton: false from db. 15:15:23:030 Load config localtime: 2020-11-28T02:09:06 from db. 15:15:23:030 Load config mac: 38:60:77:7c:53:18 from db. 15:15:23:030 Load config modelid: deCONZ from db. 15:15:23:030 Load config name: ConBee from db. 15:15:23:030 Load config netmask: 255.0.0.0 from db. 15:15:23:031 Load config networkopenduration: 180 from db. 15:15:23:031 Load config ntp: synced from db. 15:15:23:031 Load config otauactive: false from db. 15:15:23:031 Load config otaustate: off from db. 15:15:23:031 Load config panid: 0 from db. 15:15:23:031 Load config permitjoin: 0 from db. 15:15:23:031 Load config permitjoinfull: 0 from db. 15:15:23:031 Load config port: 80 from db. 15:15:23:032 Load config portalservices: false from db. 15:15:23:032 Load config proxyaddress: none from db. 15:15:23:032 Load config proxyport: 0 from db. 15:15:23:032 Load config rfconnect: 1 from db. 15:15:23:032 Load config rfconnected: false from db. 15:15:23:032 Load config rgbwdisplay: 1 from db. 15:15:23:032 Load config runmode: normal from db. 15:15:23:032 Load config starterkitid: from db. 15:15:23:033 Load config swcommit: f1740c4a4426c9ec6990387e5a845d1f1d7ede92 from db. 15:15:23:033 Load config swupdatestate: allreadytoinstall from db. 15:15:23:033 Load config swversion: 2.05.88 from db. 15:15:23:033 Load config system: linux-gw from db. 15:15:23:033 Load config timeformat: 24h from db. 15:15:23:033 Load config timezone: Europe/Berlin from db. 15:15:23:033 Load config updatechannel: stable from db. 15:15:23:033 Load config uuid: 65e58921-7dd8-4079-8ff9-269d3f63aaa0 from db. 15:15:23:034 Load config websocketnotifyall: true from db. 15:15:23:034 Load config websocketport: 443 from db. 15:15:23:034 Load config wifi: not-configured from db. 15:15:23:034 Load config wifibackupname: from db. 15:15:23:034 Load config wifibackuppw: from db. 15:15:23:034 Load config wifibackuppwenc: from db. 15:15:23:034 Load config wifichannel: 1 from db. 15:15:23:034 Load config wificlientname: from db. 15:15:23:035 Load config wificlientpw: from db. 15:15:23:035 Load config wifiip: 192.168.8.1 from db. 15:15:23:035 Load config wifilastupdated: 0 from db. 15:15:23:035 Load config wifimgmt: 0 from db. 15:15:23:035 Load config wifiname: from db. 15:15:23:035 Load config wifipageactive: false from db. 15:15:23:035 Load config wifipw: from db. 15:15:23:035 Load config wifipwenc: from db. 15:15:23:036 Load config wifitype: accesspoint from db. 15:15:23:036 Load config workingname: from db. 15:15:23:036 Load config workingpw: from db. 15:15:23:036 Load config workingpwenc: from db. 15:15:23:036 Load config workingtype: from db. 15:15:23:036 Load config zclvaluemaxage: 0 from db. 15:15:23:036 Load config zigbeechannel: 0 from db. 15:15:23:037 sql exec SELECT key,value FROM userparameter 15:15:23:037 sql exec SELECT FROM groups 15:15:23:038 Sqlite group: gid = 0xFFF0 15:15:23:038 Sqlite group: name = All 15:15:23:038 Sqlite group: state = normal 15:15:23:039 Sqlite group: hidden = false 15:15:23:039 Sqlite group: type = LightGroup 15:15:23:039 Sqlite group: class = Other 15:15:23:039 DB found group All 0xFFF0 15:15:23:039 Sqlite group: gid = 0x0001 15:15:23:040 Sqlite group: name = Wohnzimmer 15:15:23:040 Sqlite group: state = normal 15:15:23:040 Sqlite group: hidden = false 15:15:23:040 Sqlite group: type = LightGroup 15:15:23:040 Sqlite group: class = Other 15:15:23:040 DB found group Wohnzimmer 0x0001 15:15:23:041 sql exec SELECT FROM resourcelinks 15:15:23:041 sql exec SELECT FROM scenes 15:15:23:042 sql exec SELECT FROM rules 15:15:23:043 sql exec SELECT FROM schedules 15:15:23:043 sql exec SELECT FROM sensors 15:15:23:044 Sqlite sensors: sid = 1 15:15:23:044 Sqlite sensors: name = Daylight 15:15:23:044 Sqlite sensors: type = Daylight 15:15:23:045 Sqlite sensors: modelid = PHDL00 15:15:23:045 Sqlite sensors: manufacturername = Philips 15:15:23:045 Sqlite sensors: uniqueid = 00:00:00:00:00:00:00:00-01 15:15:23:045 Sqlite sensors: swversion = 1.0 15:15:23:045 Sqlite sensors: state = {"dark":false,"daylight":true,"lastupdated":"2020-12-02T11:25:25.119","status":170,"sunrise":"2020-12-02T07:19:19","sunset":"2020-12-02T15:31:11"} 15:15:23:045 Sqlite sensors: config = {"configured":true,"lat":"51.1854","long":"6.4417","on":true,"sunriseoffset":30,"sunsetoffset":-30} 15:15:23:045 Sqlite sensors: deletedState = normal 15:15:23:046 Sqlite sensors: mode = 1 15:15:23:046 DB found sensor Daylight 1 15:15:23:047 sql exec SELECT * FROM gateways 15:15:23:061 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:15:23:063 started websocket server at port 443 15:15:23:065 <?xml version="1.0" encoding="UTF-8" ?> 15:15:23:065 15:15:23:066 15:15:23:066 1 15:15:23:066 0 15:15:23:066 15:15:23:066 http://192.168.8.26:80/ 15:15:23:066 15:15:23:067 urn:schemas-upnp-org:device:Basic:1 15:15:23:067 ConBee (192.168.8.26) 15:15:23:067 Royal Philips Electronics 15:15:23:067 http://www.dresden-elektronik.de 15:15:23:067 Philips hue compatible Personal Wireless Lighting 15:15:23:067 Philips hue bridge 2015 15:15:23:067 BSB002 15:15:23:067 http://www.dresden-elektronik.de 15:15:23:068 000000000000 15:15:23:068 uuid:65e58921-7dd8-4079-8ff9-269d3f63aaa0 15:15:23:068 index.html 15:15:23:068 15:15:23:068 15:15:23:068 image/png 15:15:23:068 48 15:15:23:069 48 15:15:23:069 24 15:15:23:069 hue_logo_0.png 15:15:23:069 15:15:23:069 15:15:23:069 15:15:23:069 15:15:23:070 <?xml version="1.0" encoding="UTF-8" ?> 15:15:23:070 15:15:23:070 15:15:23:070 1 15:15:23:070 0 15:15:23:070 15:15:23:070 http://192.168.8.26:80/ 15:15:23:071 15:15:23:071 urn:schemas-upnp-org:device:Basic:1 15:15:23:071 ConBee (192.168.8.26) 15:15:23:071 Royal Philips Electronics 15:15:23:071 http://www.dresden-elektronik.de 15:15:23:071 Philips hue compatible Personal Wireless Lighting 15:15:23:071 Philips hue bridge 2015 15:15:23:071 BSB002 15:15:23:071 http://www.dresden-elektronik.de 15:15:23:072 000000000000 15:15:23:072 uuid:65e58921-7dd8-4079-8ff9-269d3f63aaa0 15:15:23:072 index.html 15:15:23:072 15:15:23:072 15:15:23:072 image/png 15:15:23:072 48 15:15:23:073 48 15:15:23:073 24 15:15:23:073 hue_logo_0.png 15:15:23:073 15:15:23:073 15:15:23:073 15:15:23:073 15:15:23:086 [INFO] - Found file containing button maps. Parsing data... 15:15:23:098 [ERROR] - Button map 'sunricherCCTMap' in JSON file has no assigned ModelIDs. Skip loading button map... 15:15:23:128 [INFO] - Button maps loaded. 15:15:23:132 dlg action: Read binding table 15:15:23:132 found node plugin: libde_rest_plugin.so - REST API Plugin 15:15:23:138 found node plugin: libde_signal_plugin.so - Signal Monitor Plugin 15:15:23:145 Otau image path does not exist: /home/pi/otau 15:15:23:206 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin 15:15:23:231 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:15:23:231 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:15:23:232 COM: /dev/ttyS0 : (0x0000/0x0000) 15:15:23:233 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:15:23:233 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:15:23:234 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:15:23:234 COM: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2259088-if00 / serialno: DE2259088, ConBee II This plugin does not support propagateSizeHints() This plugin does not support propagateSizeHints() 15:15:23:308 discard sensor state push for 1: state/dark (already pushed) 15:15:23:311 discard sensor state push for 1: state/status (already pushed) 15:15:23:313 discard sensor state push for 1: state/lastupdated (already pushed) 15:15:24:119 UPNP socket not bound, state: 0 15:15:24:261 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:15:24:262 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:15:24:263 COM: /dev/ttyS0 : (0x0000/0x0000) 15:15:24:264 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:15:24:265 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:15:24:266 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:15:24:267 COM: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2259088-if00 / serialno: DE2259088, ConBee II 15:15:24:271 auto connect com /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2259088-if00 15:15:24:757 New websocket 192.168.8.70:60056 (state: 3) 15:15:28:149 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:15:28:150 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:15:28:151 COM: /dev/ttyS0 : (0x0000/0x0000) 15:15:28:152 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:15:28:153 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:15:28:154 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:15:28:154 GW firmware update select USB device 15:15:28:157 GW update firmware not found: 15:15:28:457 Announced to internet https://phoscon.de/discover 15:15:28:458 discovery server date: Wed, 02 Dec 2020 14:15:28 GMT 15:15:28:458 local time seems to be ok 15:15:28:458 discovery found version 2.04.35 for update channel stable 15:15:33:119 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:15:38:141 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:15:38:141 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:15:38:142 COM: /dev/ttyS0 : (0x0000/0x0000) 15:15:38:142 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:15:38:143 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:15:38:143 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:15:38:144 GW firmware update select USB device 15:15:38:144 GW update firmware not found: 15:15:43:119 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:15:43:119 networkState: CC_ReconnectNetwork 15:15:43:119 start reconnect to network 15:15:48:119 failed to reconnect to network try=1 15:15:48:156 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:15:48:156 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:15:48:157 COM: /dev/ttyS0 : (0x0000/0x0000) 15:15:48:158 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:15:48:159 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:15:48:160 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:15:48:160 GW firmware update select USB device 15:15:48:161 GW update firmware not found: 15:15:53:119 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:15:53:119 failed to reconnect to network try=2 15:15:56:902 New websocket 127.0.0.1:59658 (state: 3) 15:15:58:119 failed to reconnect to network try=3 15:15:58:142 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:15:58:142 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:15:58:143 COM: /dev/ttyS0 : (0x0000/0x0000) 15:15:58:143 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:15:58:144 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:15:58:144 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:15:58:144 GW firmware update select USB device 15:15:58:145 GW update firmware not found: 15:16:03:119 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:16:03:119 failed to reconnect to network try=4 15:16:04:358 Remove websocket 192.168.8.70:60056 after error Unknown error, close-code: 1000, reason: 15:16:05:760 New websocket 192.168.8.70:60089 (state: 3) 15:16:08:118 failed to reconnect to network try=5 15:16:08:149 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:16:08:149 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:16:08:150 COM: /dev/ttyS0 : (0x0000/0x0000) 15:16:08:151 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:16:08:151 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:16:08:151 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:16:08:152 GW firmware update select USB device 15:16:08:152 GW update firmware not found: 15:16:13:119 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:16:13:119 failed to reconnect to network try=6 15:16:14:262 Remove websocket 192.168.8.70:60089 after error Unknown error, close-code: 1000, reason: 15:16:15:443 New websocket 192.168.8.70:60138 (state: 3) 15:16:18:119 failed to reconnect to network try=7 15:16:18:146 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:16:18:147 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:16:18:149 COM: /dev/ttyS0 : (0x0000/0x0000) 15:16:18:150 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:16:18:151 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:16:18:152 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:16:18:153 GW firmware update select USB device 15:16:18:154 GW update firmware not found: 15:16:23:118 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:16:23:119 failed to reconnect to network try=8 15:16:25:382 API error 950, /sensors, Not connected 15:16:25:894 API error 950, /sensors, Not connected 15:16:26:376 API error 950, /sensors, Not connected 15:16:26:872 API error 950, /sensors, Not connected 15:16:27:373 API error 950, /sensors, Not connected 15:16:27:881 API error 950, /sensors, Not connected 15:16:28:119 failed to reconnect to network try=9 15:16:28:148 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:16:28:149 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:16:28:151 COM: /dev/ttyS0 : (0x0000/0x0000) 15:16:28:152 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:16:28:154 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:16:28:155 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:16:28:156 GW firmware update select USB device 15:16:28:157 GW update firmware not found: 15:16:28:426 API error 950, /sensors, Not connected 15:16:28:875 API error 950, /sensors, Not connected 15:16:29:435 API error 950, /sensors, Not connected 15:16:29:883 API error 950, /sensors, Not connected 15:16:30:399 API error 950, /sensors, Not connected 15:16:30:891 API error 950, /sensors, Not connected 15:16:31:390 API error 950, /sensors, Not connected 15:16:31:892 API error 950, /sensors, Not connected 15:16:32:392 API error 950, /sensors, Not connected 15:16:32:893 API error 950, /sensors, Not connected 15:16:33:119 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:16:33:119 failed to reconnect to network try=10 15:16:33:394 API error 950, /sensors, Not connected 15:16:33:918 API error 950, /sensors, Not connected 15:16:34:397 API error 950, /sensors, Not connected 15:16:34:901 API error 950, /sensors, Not connected 15:16:35:400 API error 950, /sensors, Not connected 15:16:35:903 API error 950, /sensors, Not connected 15:16:36:403 API error 950, /sensors, Not connected 15:16:36:905 API error 950, /sensors, Not connected 15:16:37:408 API error 950, /sensors, Not connected 15:16:37:909 API error 950, /sensors, Not connected 15:16:38:119 reconnect network failed, try later 15:16:38:119 networkState: CC_ReconnectNetwork 15:16:38:119 start reconnect to network 15:16:38:147 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:16:38:147 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:16:38:148 COM: /dev/ttyS0 : (0x0000/0x0000) 15:16:38:149 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:16:38:149 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:16:38:150 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:16:38:151 GW firmware update select USB device 15:16:38:151 GW update firmware not found: 15:16:38:433 API error 950, /sensors, Not connected 15:16:38:910 API error 950, /sensors, Not connected 15:16:39:415 API error 950, /sensors, Not connected 15:16:39:915 API error 950, /sensors, Not connected 15:16:40:418 API error 950, /sensors, Not connected 15:16:40:918 API error 950, /sensors, Not connected 15:16:41:424 API error 950, /sensors, Not connected 15:16:41:929 API error 950, /sensors, Not connected 15:16:42:450 API error 950, /sensors, Not connected 15:16:42:945 API error 950, /sensors, Not connected 15:16:43:119 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:16:43:119 failed to reconnect to network try=1 15:16:43:434 API error 950, /sensors, Not connected 15:16:43:939 API error 950, /sensors, Not connected 15:16:44:430 API error 950, /sensors, Not connected 15:16:44:930 API error 950, /sensors, Not connected 15:16:45:435 API error 950, /sensors, Not connected 15:16:45:937 API error 950, /sensors, Not connected 15:16:46:435 API error 950, /sensors, Not connected 15:16:47:777 API error 950, /sensors, Not connected 15:16:48:118 failed to reconnect to network try=2 15:16:48:150 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:16:48:150 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:16:48:152 COM: /dev/ttyS0 : (0x0000/0x0000) 15:16:48:153 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:16:48:153 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:16:48:154 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:16:48:155 GW firmware update select USB device 15:16:48:156 GW update firmware not found: 15:16:48:459 API error 950, /sensors, Not connected 15:16:50:915 API error 950, /sensors, Not connected 15:16:53:119 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:16:53:120 failed to reconnect to network try=3 15:16:58:118 failed to reconnect to network try=4 15:16:58:141 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:16:58:142 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:16:58:142 COM: /dev/ttyS0 : (0x0000/0x0000) 15:16:58:143 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:16:58:143 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:16:58:144 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:16:58:144 GW firmware update select USB device 15:16:58:144 GW update firmware not found: 15:17:00:942 API error 950, /sensors, Not connected 15:17:03:119 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:17:03:119 failed to reconnect to network try=5 15:17:06:352 API error 950, /sensors, Not connected 15:17:08:118 failed to reconnect to network try=6 15:17:08:149 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:17:08:149 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:17:08:150 COM: /dev/ttyS0 : (0x0000/0x0000) 15:17:08:151 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:17:08:151 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:17:08:152 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:17:08:152 GW firmware update select USB device 15:17:08:152 GW update firmware not found: 15:17:10:604 API error 950, /sensors, Not connected 15:17:13:119 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:17:13:120 failed to reconnect to network try=7 15:17:18:118 failed to reconnect to network try=8 15:17:18:143 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:17:18:144 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:17:18:145 COM: /dev/ttyS0 : (0x0000/0x0000) 15:17:18:147 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:17:18:148 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:17:18:149 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:17:18:150 GW firmware update select USB device 15:17:18:151 GW update firmware not found: 15:17:19:751 API error 950, /sensors, Not connected 15:17:20:253 API error 950, /sensors, Not connected 15:17:20:752 API error 950, /sensors, Not connected 15:17:21:382 API error 950, /sensors, Not connected 15:17:21:809 API error 950, /sensors, Not connected 15:17:22:261 API error 950, /sensors, Not connected 15:17:23:118 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:17:23:119 failed to reconnect to network try=9 ^C15:17:26:311 shutdown after signal(2) 15:17:26:349 saved node state in 0 ms 15:17:26:367 sync() in 18 ms 15:17:26:368 REST API plugin shutting down 15:17:26:368 DB save zll database items 0x000000C1 15:17:26:369 DB sql exec REPLACE INTO sensors (sid, name, type, modelid, manufacturername, uniqueid, swversion, state, config, fingerprint, deletedState, mode) VALUES ('1', 'Daylight', 'Daylight', 'PHDL00', 'Philips', '00:00:00:00:00:00:00:00-01', '1.0', '{"dark":false,"daylight":true,"lastupdated":"2020-12-02T14:15:23.061","status":170,"sunrise":"2020-12-02T07:19:19","sunset":"2020-12-02T15:31:11"}', '{"configured":true,"lat":"51.1854","long":"6.4417","on":true,"sunriseoffset":30,"sunsetoffset":-30}', '', 'normal', '1') 15:17:26:389 DB saved in 20 ms 15:17:26:405 sync() in 14 ms

with extension cable

deCONZ --dev=/dev/ttyACM0 -platform minimal --http-port=80 --dbg-info=2 --dbg-zcl=1 --dbg-error=2 dbg-aps=2 --auto-connect=1 15:19:58:371 HTTP Server listen on address 0.0.0.0, port: 80, root: /usr/share/deCONZ/webapp/ 15:19:58:376 CTRL. 3.8.7.115:19:58:525 COM: use stable device path /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2259088-if00 15:19:58:551 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:19:58:551 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:19:58:552 COM: /dev/ttyS0 : (0x0000/0x0000) 15:19:58:553 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:19:58:553 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:19:58:554 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:19:58:554 COM: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2259088-if00 / serialno: DE2259088, ConBee II 15:19:58:555 ZCLDB init file /home/pi/.local/share/dresden-elektronik/deCONZ/zcldb.txt 15:19:58:986 parent process -bash 15:19:58:986 gw run mode: normal 15:19:58:987 GW sd-card image version file does not exist: /home/pi/.local/share/dresden-elektronik/deCONZ/gw-version 15:19:58:987 sd-card cid: 035344534533324780ffffffff0111ef 15:19:58:991 DB sqlite version 3.8.7.1 15:19:58:995 DB PRAGMA page_count: 44 15:19:58:995 DB PRAGMA page_size: 1024 15:19:58:996 DB PRAGMA freelist_count: 0 15:19:58:996 DB file size 45056 bytes, free pages 0 15:19:58:996 DB PRAGMA user_version: 7 15:19:58:996 DB cleanup 15:19:58:998 DB create temporary views 15:19:59:000 DB view [0] created 15:19:59:002 DB view [1] created 15:19:59:004 DB view [2] created 15:19:59:006 DB view [3] created 15:19:59:006 sql exec SELECT apikey,devicetype,createdate,lastusedate,useragent FROM auth 15:19:59:009 sql exec SELECT key FROM config2 15:19:59:010 sql exec SELECT key,value FROM config2 15:19:59:010 Load config UTC: 2020-11-28T01:09:06 from db. 15:19:59:010 Load config announceinterval: 45 from db. 15:19:59:011 Load config announceurl: https://phoscon.de/discover from db. 15:19:59:011 Load config apiversion: 2.05.88 from db. 15:19:59:011 Load config bridgeid: 0000000000000000 from db. 15:19:59:011 Load config datastoreversion: 93 from db. 15:19:59:011 Load config devicename: ConBee II from db. 15:19:59:011 Load config dhcp: true from db. 15:19:59:011 Load config disablePermitJoinAutoOff: false from db. 15:19:59:011 Load config discovery: false from db. 15:19:59:011 Load config factorynew: false from db. 15:19:59:011 Load config fwneedupdate: false from db. 15:19:59:011 Load config fwupdatestate: idle from db. 15:19:59:012 Load config fwversion: 0x00000000 from db. 15:19:59:012 Load config gateway: 127.0.0.1 from db. 15:19:59:012 Load config group0: 65520 from db. 15:19:59:012 Load config groupdelay: 50 from db. 15:19:59:012 Load config gwpassword: $1$8282jdkm$Y2eozq4GsUxizARIedB4j. from db. 15:19:59:012 Load config gwusername: delight from db. 15:19:59:012 Load config homebridge: not-managed from db. 15:19:59:012 Load config homebridge-pin: from db. 15:19:59:012 Load config homebridgepin: from db. 15:19:59:012 Load config homebridgeupdate: false from db. 15:19:59:012 Load config homebridgeupdateversion: from db. 15:19:59:013 Load config homebridgeversion: from db. 15:19:59:013 Load config ipaddress: 192.168.8.26 from db. 15:19:59:013 Load config linkbutton: false from db. 15:19:59:013 Load config localtime: 2020-11-28T02:09:06 from db. 15:19:59:013 Load config mac: 38:60:77:7c:53:18 from db. 15:19:59:013 Load config modelid: deCONZ from db. 15:19:59:013 Load config name: ConBee from db. 15:19:59:013 Load config netmask: 255.0.0.0 from db. 15:19:59:013 Load config networkopenduration: 180 from db. 15:19:59:013 Load config ntp: synced from db. 15:19:59:013 Load config otauactive: false from db. 15:19:59:013 Load config otaustate: off from db. 15:19:59:014 Load config panid: 0 from db. 15:19:59:014 Load config permitjoin: 0 from db. 15:19:59:014 Load config permitjoinfull: 0 from db. 15:19:59:014 Load config port: 80 from db. 15:19:59:014 Load config portalservices: false from db. 15:19:59:014 Load config proxyaddress: none from db. 15:19:59:014 Load config proxyport: 0 from db. 15:19:59:014 Load config rfconnect: 1 from db. 15:19:59:014 Load config rfconnected: false from db. 15:19:59:014 Load config rgbwdisplay: 1 from db. 15:19:59:014 Load config runmode: normal from db. 15:19:59:014 Load config starterkitid: from db. 15:19:59:015 Load config swcommit: f1740c4a4426c9ec6990387e5a845d1f1d7ede92 from db. 15:19:59:015 Load config swupdatestate: allreadytoinstall from db. 15:19:59:015 Load config swversion: 2.05.88 from db. 15:19:59:015 Load config system: linux-gw from db. 15:19:59:015 Load config timeformat: 24h from db. 15:19:59:015 Load config timezone: Europe/Berlin from db. 15:19:59:015 Load config updatechannel: stable from db. 15:19:59:015 Load config uuid: 65e58921-7dd8-4079-8ff9-269d3f63aaa0 from db. 15:19:59:015 Load config websocketnotifyall: true from db. 15:19:59:015 Load config websocketport: 443 from db. 15:19:59:015 Load config wifi: not-configured from db. 15:19:59:016 Load config wifibackupname: from db. 15:19:59:016 Load config wifibackuppw: from db. 15:19:59:016 Load config wifibackuppwenc: from db. 15:19:59:016 Load config wifichannel: 1 from db. 15:19:59:016 Load config wificlientname: from db. 15:19:59:016 Load config wificlientpw: from db. 15:19:59:016 Load config wifiip: 192.168.8.1 from db. 15:19:59:016 Load config wifilastupdated: 0 from db. 15:19:59:016 Load config wifimgmt: 0 from db. 15:19:59:016 Load config wifiname: from db. 15:19:59:016 Load config wifipageactive: false from db. 15:19:59:016 Load config wifipw: from db. 15:19:59:017 Load config wifipwenc: from db. 15:19:59:017 Load config wifitype: accesspoint from db. 15:19:59:017 Load config workingname: from db. 15:19:59:017 Load config workingpw: from db. 15:19:59:017 Load config workingpwenc: from db. 15:19:59:017 Load config workingtype: from db. 15:19:59:017 Load config zclvaluemaxage: 0 from db. 15:19:59:017 Load config zigbeechannel: 0 from db. 15:19:59:017 sql exec SELECT key,value FROM userparameter 15:19:59:018 sql exec SELECT FROM groups 15:19:59:019 Sqlite group: gid = 0xFFF0 15:19:59:019 Sqlite group: name = All 15:19:59:019 Sqlite group: state = normal 15:19:59:019 Sqlite group: hidden = false 15:19:59:019 Sqlite group: type = LightGroup 15:19:59:020 Sqlite group: class = Other 15:19:59:020 DB found group All 0xFFF0 15:19:59:020 Sqlite group: gid = 0x0001 15:19:59:020 Sqlite group: name = Wohnzimmer 15:19:59:020 Sqlite group: state = normal 15:19:59:021 Sqlite group: hidden = false 15:19:59:021 Sqlite group: type = LightGroup 15:19:59:021 Sqlite group: class = Other 15:19:59:021 DB found group Wohnzimmer 0x0001 15:19:59:021 sql exec SELECT FROM resourcelinks 15:19:59:022 sql exec SELECT FROM scenes 15:19:59:022 sql exec SELECT FROM rules 15:19:59:023 sql exec SELECT FROM schedules 15:19:59:024 sql exec SELECT FROM sensors 15:19:59:025 Sqlite sensors: sid = 1 15:19:59:025 Sqlite sensors: name = Daylight 15:19:59:025 Sqlite sensors: type = Daylight 15:19:59:025 Sqlite sensors: modelid = PHDL00 15:19:59:025 Sqlite sensors: manufacturername = Philips 15:19:59:025 Sqlite sensors: uniqueid = 00:00:00:00:00:00:00:00-01 15:19:59:025 Sqlite sensors: swversion = 1.0 15:19:59:025 Sqlite sensors: state = {"dark":false,"daylight":true,"lastupdated":"2020-12-02T14:15:23.061","status":170,"sunrise":"2020-12-02T07:19:19","sunset":"2020-12-02T15:31:11"} 15:19:59:026 Sqlite sensors: config = {"configured":true,"lat":"51.1854","long":"6.4417","on":true,"sunriseoffset":30,"sunsetoffset":-30} 15:19:59:026 Sqlite sensors: deletedState = normal 15:19:59:026 Sqlite sensors: mode = 1 15:19:59:026 DB found sensor Daylight 1 15:19:59:028 sql exec SELECT * FROM gateways 15:19:59:030 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:19:59:031 started websocket server at port 443 15:19:59:033 <?xml version="1.0" encoding="UTF-8" ?> 15:19:59:033 15:19:59:033 15:19:59:033 1 15:19:59:033 0 15:19:59:033 15:19:59:033 http://192.168.8.26:80/ 15:19:59:033 15:19:59:033 urn:schemas-upnp-org:device:Basic:1 15:19:59:034 ConBee (192.168.8.26) 15:19:59:034 Royal Philips Electronics 15:19:59:034 http://www.dresden-elektronik.de 15:19:59:034 Philips hue compatible Personal Wireless Lighting 15:19:59:034 Philips hue bridge 2015 15:19:59:034 BSB002 15:19:59:034 http://www.dresden-elektronik.de 15:19:59:034 000000000000 15:19:59:034 uuid:65e58921-7dd8-4079-8ff9-269d3f63aaa0 15:19:59:035 index.html 15:19:59:035 15:19:59:035 15:19:59:035 image/png 15:19:59:035 48 15:19:59:035 48 15:19:59:035 24 15:19:59:035 hue_logo_0.png 15:19:59:035 15:19:59:035 15:19:59:036 15:19:59:036 15:19:59:036 <?xml version="1.0" encoding="UTF-8" ?> 15:19:59:036 15:19:59:036 15:19:59:037 1 15:19:59:037 0 15:19:59:037 15:19:59:037 http://192.168.8.26:80/ 15:19:59:037 15:19:59:037 urn:schemas-upnp-org:device:Basic:1 15:19:59:037 ConBee (192.168.8.26) 15:19:59:037 Royal Philips Electronics 15:19:59:037 http://www.dresden-elektronik.de 15:19:59:037 Philips hue compatible Personal Wireless Lighting 15:19:59:038 Philips hue bridge 2015 15:19:59:038 BSB002 15:19:59:038 http://www.dresden-elektronik.de 15:19:59:038 000000000000 15:19:59:038 uuid:65e58921-7dd8-4079-8ff9-269d3f63aaa0 15:19:59:038 index.html 15:19:59:038 15:19:59:038 15:19:59:038 image/png 15:19:59:039 48 15:19:59:039 48 15:19:59:039 24 15:19:59:039 hue_logo_0.png 15:19:59:039 15:19:59:039 15:19:59:039 15:19:59:039 15:19:59:043 [INFO] - Found file containing button maps. Parsing data... 15:19:59:051 [ERROR] - Button map 'sunricherCCTMap' in JSON file has no assigned ModelIDs. Skip loading button map... 15:19:59:082 [INFO] - Button maps loaded. 15:19:59:086 dlg action: Read binding table 15:19:59:086 found node plugin: libde_rest_plugin.so - REST API Plugin 15:19:59:092 found node plugin: libde_signal_plugin.so - Signal Monitor Plugin 15:19:59:096 Otau image path does not exist: /home/pi/otau 15:19:59:132 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin 15:19:59:156 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:19:59:156 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:19:59:157 COM: /dev/ttyS0 : (0x0000/0x0000) 15:19:59:157 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:19:59:158 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:19:59:158 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:19:59:159 COM: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2259088-if00 / serialno: DE2259088, ConBee II This plugin does not support propagateSizeHints() This plugin does not support propagateSizeHints() 15:19:59:222 discard sensor state push for 1: state/dark (already pushed) 15:19:59:224 discard sensor state push for 1: state/status (already pushed) 15:19:59:226 discard sensor state push for 1: state/lastupdated (already pushed) 15:20:00:090 UPNP socket not bound, state: 0 15:20:00:183 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:20:00:183 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:20:00:184 COM: /dev/ttyS0 : (0x0000/0x0000) 15:20:00:184 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:20:00:185 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:20:00:185 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:20:00:185 COM: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2259088-if00 / serialno: DE2259088, ConBee II 15:20:00:189 auto connect com /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2259088-if00 15:20:01:338 New websocket 192.168.8.70:60463 (state: 3) 15:20:04:144 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:20:04:144 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:20:04:145 COM: /dev/ttyS0 : (0x0000/0x0000) 15:20:04:146 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:20:04:146 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:20:04:146 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:20:04:147 GW firmware update select USB device 15:20:04:149 GW update firmware not found: 15:20:04:450 Announced to internet https://phoscon.de/discover 15:20:04:450 discovery server date: Wed, 02 Dec 2020 14:20:04 GMT 15:20:04:451 local time seems to be ok 15:20:04:451 discovery found version 2.04.35 for update channel stable 15:20:08:927 New websocket 127.0.0.1:33562 (state: 3) 15:20:09:118 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:20:13:222 Remove websocket 192.168.8.70:60463 after error Unknown error, close-code: 1000, reason: 15:20:14:142 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:20:14:143 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:20:14:143 COM: /dev/ttyS0 : (0x0000/0x0000) 15:20:14:144 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:20:14:144 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:20:14:145 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:20:14:145 GW firmware update select USB device 15:20:14:145 GW update firmware not found: 15:20:14:367 New websocket 192.168.8.70:60509 (state: 3) 15:20:16:261 Remove websocket 192.168.8.70:60509 after error Unknown error, close-code: 1000, reason: 15:20:17:302 New websocket 192.168.8.70:60513 (state: 3) 15:20:19:120 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:20:19:120 networkState: CC_ReconnectNetwork 15:20:19:120 start reconnect to network 15:20:24:119 failed to reconnect to network try=1 15:20:24:146 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:20:24:146 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:20:24:147 COM: /dev/ttyS0 : (0x0000/0x0000) 15:20:24:147 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:20:24:148 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:20:24:148 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:20:24:149 GW firmware update select USB device 15:20:24:149 GW update firmware not found: 15:20:29:118 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:20:29:119 failed to reconnect to network try=2 15:20:32:320 API error 950, /sensors, Not connected 15:20:32:808 API error 950, /sensors, Not connected 15:20:33:309 API error 950, /sensors, Not connected 15:20:33:801 API error 950, /sensors, Not connected 15:20:34:118 failed to reconnect to network try=3 15:20:34:145 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:20:34:145 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:20:34:146 COM: /dev/ttyS0 : (0x0000/0x0000) 15:20:34:146 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:20:34:147 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:20:34:147 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:20:34:148 GW firmware update select USB device 15:20:34:148 GW update firmware not found: 15:20:34:338 API error 950, /sensors, Not connected 15:20:34:829 API error 950, /sensors, Not connected 15:20:35:512 API error 950, /sensors, Not connected 15:20:35:839 API error 950, /sensors, Not connected 15:20:36:336 API error 950, /sensors, Not connected 15:20:36:813 API error 950, /sensors, Not connected 15:20:37:314 API error 950, /sensors, Not connected 15:20:37:818 API error 950, /sensors, Not connected 15:20:38:324 API error 950, /sensors, Not connected 15:20:38:821 API error 950, /sensors, Not connected 15:20:39:118 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:20:39:119 failed to reconnect to network try=4 15:20:39:330 API error 950, /sensors, Not connected 15:20:39:824 API error 950, /sensors, Not connected 15:20:40:329 API error 950, /sensors, Not connected 15:20:40:837 API error 950, /sensors, Not connected 15:20:41:332 API error 950, /sensors, Not connected 15:20:41:856 API error 950, /sensors, Not connected 15:20:42:495 API error 950, /sensors, Not connected 15:20:42:856 API error 950, /sensors, Not connected 15:20:43:361 API error 950, /sensors, Not connected 15:20:43:861 API error 950, /sensors, Not connected 15:20:44:119 failed to reconnect to network try=5 15:20:44:146 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:20:44:147 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:20:44:148 COM: /dev/ttyS0 : (0x0000/0x0000) 15:20:44:149 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:20:44:150 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:20:44:151 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:20:44:152 GW firmware update select USB device 15:20:44:152 GW update firmware not found: 15:20:44:402 API error 950, /sensors, Not connected 15:20:44:878 API error 950, /sensors, Not connected 15:20:45:354 API error 950, /sensors, Not connected 15:20:45:857 API error 950, /sensors, Not connected 15:20:46:369 API error 950, /sensors, Not connected 15:20:46:851 API error 950, /sensors, Not connected 15:20:47:374 API error 950, /sensors, Not connected 15:20:47:927 API error 950, /sensors, Not connected 15:20:48:365 API error 950, /sensors, Not connected 15:20:48:868 API error 950, /sensors, Not connected 15:20:49:119 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:20:49:119 failed to reconnect to network try=6 15:20:49:383 API error 950, /sensors, Not connected 15:20:50:016 API error 950, /sensors, Not connected 15:20:50:389 API error 950, /sensors, Not connected 15:20:50:880 API error 950, /sensors, Not connected 15:20:51:392 API error 950, /sensors, Not connected 15:20:51:904 API error 950, /sensors, Not connected 15:20:52:372 API error 950, /sensors, Not connected 15:20:53:033 API error 950, /sensors, Not connected 15:20:53:479 API error 950, /sensors, Not connected 15:20:53:900 API error 950, /sensors, Not connected 15:20:54:119 failed to reconnect to network try=7 15:20:54:150 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:20:54:150 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:20:54:151 COM: /dev/ttyS0 : (0x0000/0x0000) 15:20:54:152 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:20:54:153 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:20:54:153 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:20:54:154 GW firmware update select USB device 15:20:54:154 GW update firmware not found: 15:20:54:394 API error 950, /sensors, Not connected 15:20:54:920 API error 950, /sensors, Not connected 15:20:55:445 API error 950, /sensors, Not connected 15:20:55:911 API error 950, /sensors, Not connected 15:20:56:403 API error 950, /sensors, Not connected 15:20:56:942 API error 950, /sensors, Not connected 15:20:57:394 API error 950, /sensors, Not connected 15:20:57:924 API error 950, /sensors, Not connected 15:20:58:413 API error 950, /sensors, Not connected 15:20:58:917 API error 950, /sensors, Not connected 15:20:59:118 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:20:59:118 failed to reconnect to network try=8 15:20:59:437 API error 950, /sensors, Not connected 15:20:59:981 API error 950, /sensors, Not connected 15:21:00:420 API error 950, /sensors, Not connected 15:21:01:084 API error 950, /sensors, Not connected 15:21:01:415 API error 950, /sensors, Not connected 15:21:01:912 API error 950, /sensors, Not connected 15:21:02:425 API error 950, /sensors, Not connected 15:21:02:926 API error 950, /sensors, Not connected 15:21:03:436 API error 950, /sensors, Not connected 15:21:03:920 API error 950, /sensors, Not connected 15:21:04:118 failed to reconnect to network try=9 15:21:04:145 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:21:04:145 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:21:04:146 COM: /dev/ttyS0 : (0x0000/0x0000) 15:21:04:146 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:21:04:147 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:21:04:148 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:21:04:148 GW firmware update select USB device 15:21:04:149 GW update firmware not found: 15:21:04:437 API error 950, /sensors, Not connected 15:21:04:932 API error 950, /sensors, Not connected 15:21:05:424 API error 950, /sensors, Not connected 15:21:06:173 API error 950, /sensors, Not connected 15:21:06:443 API error 950, /sensors, Not connected 15:21:06:944 API error 950, /sensors, Not connected 15:21:07:432 API error 950, /sensors, Not connected 15:21:07:932 API error 950, /sensors, Not connected 15:21:08:435 API error 950, /sensors, Not connected 15:21:08:936 API error 950, /sensors, Not connected 15:21:09:119 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:21:09:119 failed to reconnect to network try=10 15:21:09:438 API error 950, /sensors, Not connected 15:21:09:939 API error 950, /sensors, Not connected 15:21:10:441 API error 950, /sensors, Not connected 15:21:10:942 API error 950, /sensors, Not connected 15:21:11:448 API error 950, /sensors, Not connected 15:21:11:949 API error 950, /sensors, Not connected 15:21:12:445 API error 950, /sensors, Not connected 15:21:12:948 API error 950, /sensors, Not connected 15:21:13:448 API error 950, /sensors, Not connected 15:21:13:954 API error 950, /sensors, Not connected 15:21:14:119 reconnect network failed, try later 15:21:14:120 networkState: CC_ReconnectNetwork 15:21:14:121 start reconnect to network 15:21:14:149 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:21:14:150 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:21:14:151 COM: /dev/ttyS0 : (0x0000/0x0000) 15:21:14:152 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:21:14:153 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:21:14:155 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:21:14:156 GW firmware update select USB device 15:21:14:157 GW update firmware not found: 15:21:14:452 API error 950, /sensors, Not connected 15:21:14:956 API error 950, /sensors, Not connected 15:21:15:459 API error 950, /sensors, Not connected 15:21:15:962 API error 950, /sensors, Not connected 15:21:16:506 API error 950, /sensors, Not connected 15:21:16:968 API error 950, /sensors, Not connected 15:21:17:463 API error 950, /sensors, Not connected 15:21:17:974 API error 950, /sensors, Not connected 15:21:18:583 API error 950, /sensors, Not connected 15:21:18:967 API error 950, /sensors, Not connected 15:21:19:118 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:21:19:119 failed to reconnect to network try=1 15:21:19:495 API error 950, /sensors, Not connected 15:21:20:015 API error 950, /sensors, Not connected 15:21:20:475 API error 950, /sensors, Not connected 15:21:20:994 API error 950, /sensors, Not connected 15:21:21:495 API error 950, /sensors, Not connected 15:21:21:998 API error 950, /sensors, Not connected 15:21:22:496 API error 950, /sensors, Not connected 15:21:23:002 API error 950, /sensors, Not connected 15:21:23:516 API error 950, /sensors, Not connected 15:21:24:001 API error 950, /sensors, Not connected 15:21:24:118 failed to reconnect to network try=2 15:21:24:149 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:21:24:150 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:21:24:153 COM: /dev/ttyS0 : (0x0000/0x0000) 15:21:24:155 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:21:24:157 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:21:24:159 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:21:24:160 GW firmware update select USB device 15:21:24:161 GW update firmware not found: 15:21:24:499 API error 950, /sensors, Not connected 15:21:24:991 API error 950, /sensors, Not connected 15:21:25:502 API error 950, /sensors, Not connected 15:21:25:991 API error 950, /sensors, Not connected 15:21:26:495 API error 950, /sensors, Not connected 15:21:26:993 API error 950, /sensors, Not connected 15:21:27:498 API error 950, /sensors, Not connected 15:21:27:996 API error 950, /sensors, Not connected 15:21:28:497 API error 950, /sensors, Not connected 15:21:29:003 API error 950, /sensors, Not connected 15:21:29:120 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:21:29:120 failed to reconnect to network try=3 15:21:29:502 API error 950, /sensors, Not connected 15:21:30:004 API error 950, /sensors, Not connected 15:21:30:510 API error 950, /sensors, Not connected 15:21:31:013 API error 950, /sensors, Not connected 15:21:31:511 API error 950, /sensors, Not connected 15:21:32:012 API error 950, /sensors, Not connected 15:21:32:639 API error 950, /sensors, Not connected 15:21:33:040 API error 950, /sensors, Not connected 15:21:33:562 API error 950, /sensors, Not connected 15:21:34:027 API error 950, /sensors, Not connected 15:21:34:119 failed to reconnect to network try=4 15:21:34:146 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:21:34:147 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:21:34:148 COM: /dev/ttyS0 : (0x0000/0x0000) 15:21:34:149 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:21:34:150 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:21:34:151 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:21:34:152 GW firmware update select USB device 15:21:34:152 GW update firmware not found: 15:21:34:545 API error 950, /sensors, Not connected 15:21:35:051 API error 950, /sensors, Not connected 15:21:35:532 API error 950, /sensors, Not connected 15:21:36:037 API error 950, /sensors, Not connected 15:21:36:534 API error 950, /sensors, Not connected 15:21:37:034 API error 950, /sensors, Not connected 15:21:37:538 API error 950, /sensors, Not connected 15:21:38:171 API error 950, /sensors, Not connected 15:21:38:622 API error 950, /sensors, Not connected 15:21:39:118 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:21:39:119 failed to reconnect to network try=5 15:21:39:147 API error 950, /sensors, Not connected 15:21:39:592 API error 950, /sensors, Not connected 15:21:40:044 API error 950, /sensors, Not connected 15:21:40:664 API error 950, /sensors, Not connected 15:21:41:046 API error 950, /sensors, Not connected 15:21:41:571 API error 950, /sensors, Not connected 15:21:42:093 API error 950, /sensors, Not connected 15:21:42:662 API error 950, /sensors, Not connected 15:21:43:205 API error 950, /sensors, Not connected 15:21:43:672 API error 950, /sensors, Not connected 15:21:44:089 API error 950, /sensors, Not connected 15:21:44:119 failed to reconnect to network try=6 15:21:44:148 COM: /dev/ttyAMA0 : (0x0000/0x0000) 15:21:44:149 dev /dev/ttyAMA0 (/dev/ttyAMA0) 15:21:44:151 COM: /dev/ttyS0 : (0x0000/0x0000) 15:21:44:152 COM: /dev/ttyUSB0 : USB2.0-Serial (0x1A86/0x7523) 15:21:44:153 COM: /dev/ttyUSB1 : FT232R USB UART (0x0403/0x6001) 15:21:44:154 COM: /dev/ttyACM0 : ConBee II (0x1CF1/0x0030) 15:21:44:155 GW firmware update select USB device 15:21:44:156 GW update firmware not found: 15:21:44:583 API error 950, /sensors, Not connected 15:21:45:100 API error 950, /sensors, Not connected 15:21:45:580 API error 950, /sensors, Not connected 15:21:46:061 API error 950, /sensors, Not connected 15:21:46:562 API error 950, /sensors, Not connected 15:21:47:488 API error 950, /sensors, Not connected 15:21:47:570 API error 950, /sensors, Not connected 15:21:48:069 API error 950, /sensors, Not connected 15:21:48:625 API error 950, /sensors, Not connected 15:21:49:073 API error 950, /sensors, Not connected 15:21:49:119 Daylight now: solarNoon, status: 170, daylight: 1, dark: 0 15:21:49:120 failed to reconnect to network try=7 15:21:49:595 API error 950, /sensors, Not connected ^C15:21:51:918 shutdown after signal(2) 15:21:51:959 saved node state in 0 ms 15:21:51:968 sync() in 8 ms 15:21:51:969 REST API plugin shutting down 15:21:51:969 DB save zll database items 0x000000C1 15:21:51:971 DB sql exec REPLACE INTO sensors (sid, name, type, modelid, manufacturername, uniqueid, swversion, state, config, fingerprint, deletedState, mode) VALUES ('1', 'Daylight', 'Daylight', 'PHDL00', 'Philips', '00:00:00:00:00:00:00:00-01', '1.0', '{"dark":false,"daylight":true,"lastupdated":"2020-12-02T14:19:59.030","status":170,"sunrise":"2020-12-02T07:19:19","sunset":"2020-12-02T15:31:11"}', '{"configured":true,"lat":"51.1854","long":"6.4417","on":true,"sunriseoffset":30,"sunsetoffset":-30}', '', 'normal', '1') 15:21:51:989 DB saved in 19 ms 15:21:52:006 sync() in 16 ms

queeek commented 3 years ago

just reinstalled it, and still the same

Smanar commented 3 years ago

Can you make the try on another machine, a PC, windows or ubuntu ? And try to update the firmware again with it ?

queeek commented 3 years ago

no Windows PC available, could try it on a vanilla Raspbian

queeek commented 3 years ago

issue was related to raspbian version (used Jessie, now after upgrade to stretch it works)