Deconz for Hass.io

Ok that’s a bit weird. Might be a conbee issie? But my second indicator is that I don’t see the log containing a message of the selected channel and netwerk id.

Perhaps this logging is disabled, but it can also be verified in the advanced option in the phoscon app. From what I know if the network id is blank or 0 the raspbee is not detected or cannot be accessed. I’ve had exactly that issue in the past.

It’s a Raspbee not a Conbee.

I think you need to set info=2

[pydeconz.utils] HTTP status 403, response [{“error”:{“address”:"/",“description”:“link button not pressed”,“type”:101}}].

It doesn’t seem like you have opened up to allow api key requests

@Robban

20:07:36:489 sql exec SELECT * FROM resourcelinks
20:07:36:489 sql exec SELECT * FROM scenes
20:07:36:489 sql exec SELECT * FROM rules
20:07:36:489 sql exec SELECT * FROM schedules
20:07:36:489 sql exec SELECT * FROM sensors
20:07:36:490 ~ResourceItem() attr/name -- str 0x14f7e68
20:07:36:490 ~ResourceItem() attr/name -- str 0x14f7ff8
20:07:36:490 ~ResourceItem() attr/modelid -- str 0x14f7e68
20:07:36:490 ~ResourceItem() attr/name -- str 0x14bbd78
20:07:36:490 ~ResourceItem() attr/modelid -- str 0x14eae38
20:07:36:490 ~ResourceItem() attr/type -- str 0x14f7e68
20:07:36:490 ~ResourceItem() config/on -- str (nil)
20:07:36:490 ~ResourceItem() attr/name -- str 0x11fff18
20:07:36:490 ~ResourceItem() attr/modelid -- str 0x14f2de8
20:07:36:490 ~ResourceItem() attr/type -- str 0x14cd090
20:07:36:490 ~ResourceItem() config/on -- str (nil)
20:07:36:490 ~ResourceItem() config/reachable -- str (nil)
20:07:36:490 ~ResourceItem() state/lastupdated -- str 0x14cd090
20:07:36:490 Sqlite sensors: sid = 1
20:07:36:490 Sqlite sensors: name = Daylight
20:07:36:490 Sqlite sensors: type = Daylight
20:07:36:490 Sqlite sensors: modelid = PHDL00
20:07:36:490 Sqlite sensors: manufacturername = Philips
20:07:36:490 Sqlite sensors: uniqueid = 00:00:00:00:00:00:00:00-01
20:07:36:490 ~ResourceItem() attr/uniqueid -- str 0x157d510
20:07:36:490 Sqlite sensors: swversion = 1.0
20:07:36:490 Sqlite sensors: state = {"daylight":true,"lastupdated":"2018-05-15T14:24:22","status":170}
20:07:36:490 Sqlite sensors: config = {"configured":true,"lat":"38.722252","long":"-9.139337","on":true,"sunriseoffset":30,"sunsetoffset":-30}
20:07:36:490 Sqlite sensors: deletedState = normal
20:07:36:490 Sqlite sensors: mode = 1
20:07:36:490 DB found sensor Daylight 1
20:07:36:490 ~ResourceItem() attr/uniqueid -- str 0x14b05a0
20:07:36:490 ~ResourceItem() config/configured -- str (nil)
20:07:36:490 ~ResourceItem() config/sunriseoffset -- str (nil)
20:07:36:494 ~ResourceItem() attr/name -- str 0x14ed218
20:07:36:494 ~ResourceItem() attr/modelid -- str 0x158f7e8
20:07:36:494 ~ResourceItem() attr/type -- str 0x15921f0
20:07:36:494 ~ResourceItem() config/on -- str (nil)
20:07:36:494 ~ResourceItem() attr/uniqueid -- str 0x157d510
20:07:36:494 ~ResourceItem() state/lastupdated -- str 0x11fff18
20:07:36:494 ~ResourceItem() config/configured -- str (nil)
20:07:36:494 ~ResourceItem() config/sunriseoffset -- str (nil)
20:07:36:494 ~ResourceItem() config/sunsetoffset -- str (nil)
20:07:36:494 ~ResourceItem() config/lat -- str 0x11fff18
20:07:36:494 ~ResourceItem() config/long -- str 0x11fff18
20:07:36:494 ~ResourceItem() state/daylight -- str (nil)
20:07:36:494 ~ResourceItem() state/status -- str (nil)
20:07:36:495 ~ResourceItem() attr/name -- str 0x113bb78
20:07:36:495 ~ResourceItem() attr/modelid -- str 0x1028600
20:07:36:495 ~ResourceItem() attr/type -- str 0x10288f8
20:07:36:495 ~ResourceItem() config/on -- str (nil)
20:07:36:495 ~ResourceItem() attr/uniqueid -- str 0x114f090
20:07:36:495 ~ResourceItem() state/lastupdated -- str 0x114f928
20:07:36:495 ~ResourceItem() config/configured -- str (nil)
20:07:36:495 ~ResourceItem() config/sunriseoffset -- str (nil)
20:07:36:495 ~ResourceItem() config/sunsetoffset -- str (nil)
20:07:36:495 ~ResourceItem() config/lat -- str 0x15921f0
20:07:36:495 ~ResourceItem() config/long -- str 0x14ed218
20:07:36:495 ~ResourceItem() state/daylight -- str (nil)
20:07:36:495 ~ResourceItem() state/status -- str (nil)
20:07:36:495 sql exec SELECT * FROM gateways
20:07:36:496 don't close database yet, keep open for 900 seconds
20:07:36:496 Daylight now: goldenHour2, status: 180
20:07:36:496 ~ResourceItem() attr/name -- str 0x1592f90
20:07:36:496 ~ResourceItem() attr/name -- str 0x123f338
20:07:36:496 ~ResourceItem() state/all_on -- str (nil)
20:07:36:496 ~ResourceItem() attr/name -- str 0x1422700
20:07:36:496 ~ResourceItem() state/all_on -- str (nil)
20:07:36:496 ~ResourceItem() state/any_on -- str (nil)
20:07:36:496 ~ResourceItem() action/scene -- str 0x1422700
20:07:36:496 ~ResourceItem() attr/name -- str 0x1422190
20:07:36:496 ~ResourceItem() state/all_on -- str (nil)
20:07:36:496 ~ResourceItem() state/any_on -- str (nil)
20:07:36:496 ~ResourceItem() action/scene -- str 0x1599618
20:07:36:496 ~ResourceItem() attr/type -- str 0x1422700
20:07:36:496 ~ResourceItem() attr/class -- str 0x1422700
20:07:36:497 <?xml version="1.0"?>
20:07:36:497 <root xmlns="urn:schemas-upnp-org:device-1-0">
20:07:36:497   <specVersion>
20:07:36:497     <major>1</major>
20:07:36:497     <minor>0</minor>
20:07:36:497   </specVersion>
20:07:36:497   <URLBase>http://192.168.1.71:8080/</URLBase>
20:07:36:497   <device>
20:07:36:497     <deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>
20:07:36:497     <friendlyName>Philips hue (192.168.1.71) compatible Wireless Light Control Gateway</friendlyName>
20:07:36:497     <manufacturer>Royal Philips Electronics</manufacturer>
20:07:36:497     <manufacturerURL>http://www.dresden-elektronik.de</manufacturerURL>
20:07:36:497     <modelDescription>dresden elektronik Wireless Light Control</modelDescription>
20:07:36:497     <modelName>Philips hue bridge 2012</modelName>
20:07:36:497     <modelNumber>929000226503</modelNumber>
20:07:36:497     <modelURL>http://www.dresden-elektronik.de</modelURL>
20:07:36:497     <serialNumber>0000000000000000</serialNumber>
20:07:36:497     <UDN>uuid:35a54a66-430a-4302-9827-5e4198c5ff60</UDN>
20:07:36:497     <gatewayName>deCONZ-GW</gatewayName>
20:07:36:497     <presentationURL>index.html</presentationURL>
20:07:36:497     <iconList>
20:07:36:497       <icon>
This plugin does not support propagateSizeHints()
This plugin does not support propagateSizeHints()

20:07:36:497         <mimetype>image/png</mimetype>
20:07:36:498         <height>48</height>
20:07:36:498         <width>48</width>
20:07:36:498         <depth>24</depth>
20:07:36:498         <url>hue_logo_0.png</url>
20:07:36:498       </icon>
20:07:36:498       <icon>
20:07:36:498         <mimetype>image/png</mimetype>
20:07:36:498         <height>120</height>
20:07:36:498         <width>120</width>
20:07:36:498         <depth>24</depth>
20:07:36:498         <url>hue_logo_3.png</url>
20:07:36:498       </icon>
20:07:36:498     </iconList>
20:07:36:498   </device>
20:07:36:498 </root>
20:07:36:498 
20:07:36:499 started websocket server at port 8443
20:07:36:502 discovery updated announce interval to 10 minutes
20:07:36:503 ~ResourceItem() attr/name -- str 0x14713f0
20:07:36:503 ~ResourceItem() state/all_on -- str (nil)
20:07:36:503 ~ResourceItem() state/any_on -- str (nil)
20:07:36:504 ~ResourceItem() action/scene -- str 0x1424698
20:07:36:504 ~ResourceItem() attr/type -- str 0x14683f0
20:07:36:504 ~ResourceItem() attr/class -- str 0x1422190
20:07:36:507 found node plugin: libde_rest_plugin.so - REST API Plugin
20:07:36:512 found node plugin: libde_signal_plugin.so - Signal Monitor Plugin
20:07:36:532 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin
20:07:36:827 COM: /dev/ttyAMA0 : 
20:07:36:828 dev /dev/ttyAMA0
20:07:36:828 COM: /dev/ttyS0 : 
20:07:36:828 auto connect com /dev/ttyAMA0
20:07:36:870 Serial com connected
20:07:37:359 device state timeout ignored in state 2
20:07:38:310 device state timeout ignored in state 2
20:07:39:261 device state timeout ignored in state 2
20:07:40:211 device state timeout ignored in state 2
20:07:41:161 device state timeout ignored in state 2
20:07:41:611 COM: /dev/ttyAMA0 : 
20:07:41:611 dev /dev/ttyAMA0
20:07:41:611 COM: /dev/ttyS0 : 
20:07:41:611 GW firmware update select /dev/ttyAMA0 device
20:07:41:611 GW update firmware found: /usr/share/deCONZ/firmware/deCONZ_Rpi_0x261f0500.bin.GCF
20:07:41:810 Announced to internet
20:07:41:810 discovery server date: Tue, 15 May 2018 19:07:41 GMT
20:07:41:810 	 local time seems to be ok
20:07:41:810 discovery found version 2.04.35 for update channel stable
20:07:42:144 device state timeout (handled)
20:07:42:163 Serial com disconnected, reason: 1
20:07:42:645 void zmMaster::handleStateIdle(zmMaster::MasterEvent) not connected goto OFF state
20:07:42:645 device state timeout ignored in state 4
20:07:46:144 Daylight now: goldenHour2, status: 180
20:07:56:145 Daylight now: goldenHour2, status: 180
20:08:06:144 Daylight now: goldenHour2, status: 180
20:08:14:954 scan finished

Seems to be some issue with properly connecting to the raspberry, there are similar reports on deconz rest api GitHub. @marthocoo you’ve been more involved in debugging these kind of issues with creating the docker, any extra weigh in here?

I sent an emal to dresden-elektronik. Maybe they can help.

They are quite supportive if you create an issue on their github as well

@Robban, I’ve found this on their GitHub.

My question is, how can I do it on Hass.io? (without sudo commands)

For posterity, following some steps in #280 fixed this for me. Specifically, I did this (but some of the steps might be unnecessary):

Stop headless deCONZ:
sudo systemctl stop deconz
sudo systemctl stop deconz-init
sudo systemctl stop deconz-update
Run regular deCONZ. In my case I used x11vnc, which crashed frequently, so I did it in a loop and my client auto-reconnected each time it died :upside_down_face::
while sleep 1; do sudo x11vnc -create -ncache_cr -passwd foo; done
Open the network settings (button next to “In Network”).
Check the Custom MAC Address checkbox.
Enter the MAC address from the RaspBee’s label into the MAC Address field.
Copy and paste that address into the TC Address field.
Click Save (the TC Link Key field should now have a nonzero value).
Close network settings.
Click Leave.
Wait 5 seconds.
Click Join
Open the network settings.
Uncheck Custom MAC Address
Click Save
Reboot the Pi (sudo reboot) to put everything in a fresh state and bring back headless deCONZ.
Whew.

https://github.com/dresden-elektronik/deconz-rest-plugin/issues/279

You probably have to do that in a different os, due to the locked down nature of hass.io

@Robban

There are a lot of “new things” on my logs that weren’t there before.

DEBUG (MainThread) [pydeconz.utils] Sending {'auth': None, 'data': b'{"devicetype": "pydeconz"}'} to http://192.168.1.71:8080/api
2018-05-17 11:58:45 DEBUG (MainThread) [pydeconz.utils] HTTP request response: [{'success': {'username': '39D3AA1F64'}}]
2018-05-17 11:58:45 INFO (MainThread) [pydeconz.utils] API key: 39D3AA1F64
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.setup] Setting up deconz
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.setup] Setup of domain deconz took 0.0 seconds.
2018-05-17 11:58:47 DEBUG (MainThread) [pydeconz.utils] Sending {} to http://192.168.1.71:8080/api/39D3AA1F64
2018-05-17 11:58:47 DEBUG (MainThread) [pydeconz.utils] HTTP request response: {'config': {'UTC': '2018-05-17T10:58:47', 'apiversion': '1.0.9', 'backup': {'errorcode': 0, 'status': 'idle'}, 'bridgeid': '0000000000000000', 'datastoreversion': '60', 'dhcp': True, 'factorynew': False, 'fwversion': '0x00000000', 'gateway': '192.168.1.1', 'internetservices': {'remoteaccess': 'disconnected'}, 'ipaddress': '192.168.1.71', 'linkbutton': True, 'localtime': '2018-05-17T11:58:47', 'mac': 'b8:27:eb:b2:ee:3d', 'modelid': 'deCONZ', 'name': 'zigbee-gw', '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': None, 'rfconnected': False, 'starterkitid': '', 'swupdate': {'checkforupdate': False, 'devicetypes': {'bridge': False, 'lights': [], 'sensors': []}, 'notify': False, 'text': '', 'updatestate': 0, 'url': ''}, 'swupdate2': {'autoinstall': {'on': False, 'updatetime': ''}, 'bridge': {'lastinstall': '', 'state': 'allreadytoinstall'}, 'checkforupdate': False, 'install': False, 'lastchange': '', 'lastinstall': '', 'state': 'allreadytoinstall'}, 'swversion': '2.5.25', 'timeformat': '24h', 'timezone': 'Etc/GMT-1', 'uuid': '77dd8957-f013-4de8-9507-3efaa9a7b75c', 'websocketnotifyall': True, 'websocketport': 8443, 'whitelist': {'39D3AA1F64': {'create date': '2018-05-17T10:58:45', 'last use date': '2018-05-17T10:58:47', 'name': 'pydeconz'}, '3F430DA686': {'create date': '2018-05-17T10:41:09', 'last use date': '2018-05-17T10:41:09', 'name': 'Phoscon#B1490x953'}, '6A660B97E0': {'create date': '2018-05-17T10:54:03', 'last use date': '2018-05-17T10:58:44', 'name': 'Phoscon#B1490x953'}}, 'zigbeechannel': 0}, 'groups': {'1': {'action': {'bri': 128, 'colormode': 'hs', 'ct': 0, 'effect': 'none', 'hue': 0, 'on': False, 'sat': 128, 'scene': None, 'xy': [0, 0]}, 'class': 'Other', 'devicemembership': [], 'etag': '0e510da9cba3786ad656f0d7c5377eaa', 'hidden': False, 'id': '1', 'lights': [], 'lightsequence': [], 'multideviceids': [], 'name': 'Bedroom', 'scenes': [], 'state': {'all_on': False, 'any_on': False}, 'type': 'LightGroup'}}, 'lights': {}, 'resourcelinks': {}, 'rules': {}, 'schedules': {}, 'sensors': {'1': {'config': {'configured': False, 'on': True, 'sunriseoffset': 30, 'sunsetoffset': -30}, 'etag': None, 'manufacturername': 'Philips', 'modelid': 'PHDL00', 'name': 'Daylight', 'state': {'daylight': None, 'lastupdated': 'none', 'status': None}, 'swversion': '1.0', 'type': 'Daylight', 'uniqueid': '00:00:00:00:00:00:00:00-01'}}}
2018-05-17 11:58:47 DEBUG (MainThread) [pydeconz.config] Deconz config loaded {'_apiversion': '1.0.9', '_bridgeid': '0000000000000000', '_linkbutton': True, '_modelid': 'deCONZ', '_name': 'zigbee-gw', '_networkopenduration': 60, '_panid': 0, '_swversion': '2.5.25', '_uuid': '77dd8957-f013-4de8-9507-3efaa9a7b75c', '_websocketport': 8443, '_zigbeechannel': 0}
2018-05-17 11:58:47 DEBUG (MainThread) [pydeconz.deconzdevice] Bedroom created as {'_any_on': False, '_bri': 128, '_class': 'Other', '_colormode': 'hs', '_ct': 0, '_devicemembership': [], '_effect': 'none', '_hidden': False, '_hue': 0, '_id': '1', '_lights': [], '_lightsequence': [], '_multideviceids': [], '_on': False, '_reachable': True, '_sat': 128, '_scenes': {}, '_x': 0, '_y': 0, '_async_set_state_callback': <bound method DeconzSession.async_put_state of <pydeconz.DeconzSession object at 0x70236c90>>, '_deconz_id': '/groups/1', '_etag': '0e510da9cba3786ad656f0d7c5377eaa', '_manufacturername': None, '_modelid': None, '_name': 'Bedroom', '_swversion': None, '_type': 'LightGroup', '_uniqueid': None, '_async_callback': []}
2018-05-17 11:58:47 DEBUG (MainThread) [pydeconz.deconzdevice] Daylight created as {'_daylight': None, '_status': None, '_battery': None, '_ep': None, '_on': True, '_reachable': None, '_sensor_class': None, '_sensor_icon': None, '_sensor_unit': None, '_deconz_id': '/sensors/1', '_etag': None, '_manufacturername': 'Philips', '_modelid': 'PHDL00', '_name': 'Daylight', '_swversion': '1.0', '_type': 'Daylight', '_uniqueid': '00:00:00:00:00:00:00:00-01', '_async_callback': []}
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=deconz, service=configure>
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=deconz>
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.loader] Loaded sensor.deconz from homeassistant.components.sensor.deconz
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.0 seconds.
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=binary_sensor>
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.loader] Loaded light from homeassistant.components.light
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.loader] Loaded scene from homeassistant.components.scene
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.setup] Setting up scene
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=scene, service=turn_on>
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.setup] Setup of domain scene took 0.0 seconds.
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=scene>
2018-05-17 11:58:47 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1882378512: Sending {'id': 377, 'type': 'event', 'event': {'event_type': 'service_registered', 'data': {'domain': 'deconz', 'service': 'configure'}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 5, 17, 10, 58, 47, 144470, tzinfo=<UTC>)}}
2018-05-17 11:58:47 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1882378512: Sending {'id': 377, 'type': 'event', 'event': {'event_type': 'component_loaded', 'data': {'component': 'deconz'}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 5, 17, 10, 58, 47, 147027, tzinfo=<UTC>)}}
2018-05-17 11:58:47 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1886693872: Sending {'id': 4, 'type': 'event', 'event': {'event_type': 'service_registered', 'data': {'domain': 'deconz', 'service': 'configure'}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 5, 17, 10, 58, 47, 144470, tzinfo=<UTC>)}}
2018-05-17 11:58:47 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1886693872: Sending {'id': 3, 'type': 'event', 'event': {'event_type': 'component_loaded', 'data': {'component': 'deconz'}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 5, 17, 10, 58, 47, 147027, tzinfo=<UTC>)}}
2018-05-17 11:58:47 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1854744560: Sending {'id': 5, 'type': 'event', 'event': {'event_type': 'service_registered', 'data': {'domain': 'deconz', 'service': 'configure'}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 5, 17, 10, 58, 47, 144470, tzinfo=<UTC>)}}
2018-05-17 11:58:47 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 1854744560: Sending {'id': 4, 'type': 'event', 'event': {'event_type': 'component_loaded', 'data': {'component': 'deconz'}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 5, 17, 10, 58, 47, 147027, tzinfo=<UTC>)}}
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service=dismiss, service_data=notification_id=config_entry_discovery, service_call_id=1967968944-16>
2018-05-17 11:58:47 DEBUG (MainThread) [pydeconz.websocket] Websocket handshake: GET / HTTP/1.1
Host: 192.168.1.71:8443
User-Agent: Python/3.5 websockets/3.4
Upgrade: Websocket
Connection: Upgrade
Sec-WebSocket-Key: I5vqPpJsxqjJ8yZlQoB2Hg==
Sec-WebSocket-Version: 13


2018-05-17 11:58:47 INFO (MainThread) [homeassistant.loader] Loaded binary_sensor.deconz from homeassistant.components.binary_sensor.deconz
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.loader] Loaded scene.deconz from homeassistant.components.scene.deconz
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=persistent_notification.config_entry_discovery, old_state=<state persistent_notification.config_entry_discovery=notifying; title=New devices discovered, message=We have discovered new devices on your network. [Check it out](/config/integrations) @ 2018-05-17T11:56:44.478079+01:00>, new_state=None>
2018-05-17 11:58:47 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1967968944-16>
2018-05-17 11:58:47 DEBUG (MainThread) [pydeconz.websocket] Websocket handshake: HTTP/1.1 101                 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: C+HNwSGfAE4DHO3oJxIslIkae7Y=
Server: deconz
Access-Control-Allow-Credentials: false
Access-Control-Allow-Methods: GET
Access-Control-Allow-Headers: content-type
Access-Control-Allow-Origin: *
Date: Thu, 17 May 2018 10:58:47 GMT

That’s all part of setting up the deConz component

And this?

DEBUG (SyncWorker_6) [homeassistant.util.json] JSON file not found: /config/deconz.conf

It’s just that it looks if there is a config file for discovered deconz. It’d legacy and nothing to worry about

I don’t know what else can I do to get it working. :frowning:

It is something between your raspbee and deconz. There is this guy Adam on hass discord that had some issues initially. Maybe you can ping him?

I’v sent him a message :wink:

Looking at Google, I’ve found it:

It says:

“With Raspberry PI version 3, things have changed, the real UART (Serial) is now affected to Bluetooth hardware module and the old one is now managed by software. Old serial on PI3 is /dev/ttyS0 and no more /dev/ttyAMA0 because this one is connected to Bluetooth.”

I think my raspbee should be on /dev/ttyS0 but…

core-ssh:/lib# dmesg | grep tty
[ 1.168057] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2

You are right that by default the UART is mounted under the /dev/ttyS0, but with the correct configuration (disabling bluetooth I believe) it is available under /dev/ttyAMA0. Both lines below should be in the config.txt in the boot directory.

enable_uart=1 
dtoverlay=pi3-disable-btroot

This should mount the UART on /dev/ttyAMA0

Hi @gjong, thanks for your help.

I added those lines on config.txt already, but it didn’t work. :frowning:

Where are you doing a listing of /dev/ is that in the SSH addon or in resinos itself? The devices should be available in the resinos, but I’m not sure that the devices get ported to the addon of SSH.