Ok, so I have “fipplat runt lite” and here’s the status:
I can’t add my Xiaomi devices in the deconz “Wireless Light” portal (running on the same Raspberry PI as Home Assistant). Or at least, so I thought. Nothing shows up in the (deconz-)portal, but the logs in Home Assistant says:
2017-12-08 16:08:07 INFO (MainThread) [homeassistant.loader] Loaded deconz from homeassistant.components.deconz
2017-12-08 16:08:09 INFO (MainThread) [homeassistant.setup] Setting up deconz
2017-12-08 16:08:09 DEBUG (MainThread) [pydeconz.utils] Sending {} to http://192.168.0.101:80/api/17586E8298
2017-12-08 16:08:09 DEBUG (MainThread) [pydeconz.utils] HTTP request response: {'schedules': {}, 'rules': {}, 'lights': {}, 'config': {'devicename': 'RaspBee', 'networkopenduration': 60, 'proxyport': 0, 'timeformat': '12h', 'starterkitid': '', 'panid': 60818, 'mac': 'b8:27:eb:8c:98:05', 'portalstate': {'signedon': False, 'incoming': False, 'communication': 'disconnected', 'outgoing': False}, 'ntp': 'synced', 'portalconnection': 'disconnected', 'timezone': 'Etc/GMT', 'dhcp': True, 'gateway': '192.168.0.1', 'factorynew': False, 'UTC': '2017-12-08T15:08:09', 'swupdate2': {'autoinstall': {'updatetime': '', 'on': False}, 'bridge': {'state': 'allreadytoinstall', 'lastinstall': ''}, 'lastinstall': '', 'install': False, 'checkforupdate': False, 'state': 'allreadytoinstall', 'lastchange': ''}, 'name': 'deCONZ-GW', 'swupdate': {'url': '', 'updatestate': 0, 'devicetypes': {'lights': [], 'bridge': False, 'sensors': []}, 'text': '', 'notify': False, 'checkforupdate': False}, 'websocketport': 443, 'proxyaddress': 'none', 'netmask': '255.255.255.0', 'backup': {'errorcode': 0, 'status': 'idle'}, 'bridgeid': '00212EFFFF013E81', 'uuid': '7619f723-36b3-4549-acd0-83a34cfdcacf', 'replacesbridgeid': None, 'zigbeechannel': 15, 'websocketnotifyall': True, 'portalservices': False, 'localtime': '2017-12-08T15:08:09', 'linkbutton': False, 'internetservices': {'remoteaccess': 'disconnected'}, 'whitelist': {'17586E8298': {'last use date': '2017-12-08T15:08:09', 'name': 'pydeconz', 'create date': '2017-12-08T11:33:53'}, 'AB5A6DAEFC': {'last use date': '2017-12-08T12:01:07', 'name': 'deCONZ WebApp', 'create date': '2017-12-08T11:33:20'}, 'AD97B94311': {'last use date': '2017-12-08T14:57:35', 'name': 'deCONZ WebApp', 'create date': '2017-12-08T14:42:32'}}, 'swversion': '2.4.94', 'ipaddress': '192.168.0.101', 'datastoreversion': '60', 'apiversion': '1.0.4', 'modelid': 'deCONZ'}, 'groups': {}, 'sensors': {'2': {'state': {'presence': False, 'lastupdated': '2017-12-08T14:05:41'}, 'type': 'ZHAPresence', 'name': 'Presence 2', 'ep': 1, 'config': {'duration': 60, 'on': True, 'reachable': False}, 'etag': '12bb25ea010166b1768a698ccdadc644', 'manufacturername': 'LUMI', 'uniqueid': '00:15:8d:00:01:e0:30:03-01-0406', 'modelid': 'lumi.sensor_motion.aq2'}, '1': {'state': {'dark': False, 'daylight': False, 'lux': 16, 'lightlevel': 12042, 'lastupdated': '2017-12-08T14:04:41'}, 'type': 'ZHALightLevel', 'name': 'LightLevel 1', 'ep': 1, 'config': {'tholddark': 12000, 'tholdoffset': 7000, 'on': True, 'reachable': False}, 'etag': '12bb25ea010166b1768a698ccdadc644', 'manufacturername': 'LUMI', 'uniqueid': '00:15:8d:00:01:e0:30:03-01-0400', 'modelid': 'lumi.sensor_motion.aq2'}, '3': {'state': {'lastupdated': '2017-12-08T14:02:46', 'buttonevent': 1002}, 'type': 'ZHASwitch', 'name': 'lumi.sensor_switch 3', 'ep': 1, 'mode': 1, 'config': {'on': True, 'reachable': False}, 'etag': '12bb25ea010166b1768a698ccdadc644', 'manufacturername': 'LUMI', 'uniqueid': '00:15:8d:00:01:b1:86:3d-01-0006', 'modelid': 'lumi.sensor_switch'}}}
2017-12-08 16:08:09 DEBUG (MainThread) [pydeconz.config] Deconz config loaded {'_swversion': '2.4.94', '_zigbeechannel': 15, '_ipaddress': '192.168.0.101', '_linkbutton': False, '_apiversion': '1.0.4', '_websocketport': 443, '_name': 'deCONZ-GW', '_modelid': 'deCONZ', '_panid': 60818, '_networkopenduration': 60, '_uuid': '7619f723-36b3-4549-acd0-83a34cfdcacf'}
2017-12-08 16:08:09 DEBUG (MainThread) [pydeconz.deconzdevice] Presence 2 created as {'_async_callback': [], '_swversion': None, '_reachable': False, '_modelid': 'lumi.sensor_motion.aq2', '_on': True, '_sensor_class': None, '_etag': '12bb25ea010166b1768a698ccdadc644', '_type': 'ZHAPresence', '_presence': False, '_battery': None, '_dark': None, '_uniqueid': '00:15:8d:00:01:e0:30:03-01-0406', '_ep': 1, '_name': 'Presence 2', '_sensor_unit': None, '_sensor_icon': None, '_manufacturername': 'LUMI'}
2017-12-08 16:08:09 DEBUG (MainThread) [pydeconz.deconzdevice] LightLevel 1 created as {'_async_callback': [], '_swversion': None, '_modelid': 'lumi.sensor_motion.aq2', '_on': True, '_sensor_class': None, '_etag': '12bb25ea010166b1768a698ccdadc644', '_type': 'ZHALightLevel', '_battery': None, '_reachable': False, '_uniqueid': '00:15:8d:00:01:e0:30:03-01-0400', '_lightlevel': 12042, '_ep': 1, '_name': 'LightLevel 1', '_sensor_unit': None, '_sensor_icon': None, '_manufacturername': 'LUMI'}
2017-12-08 16:08:09 DEBUG (MainThread) [pydeconz.deconzdevice] lumi.sensor_switch 3 created as {'_async_callback': [], '_swversion': None, '_sensor_unit': None, '_modelid': 'lumi.sensor_switch', '_on': True, '_sensor_class': None, '_etag': '12bb25ea010166b1768a698ccdadc644', '_type': 'ZHASwitch', '_battery': None, '_reachable': False, '_uniqueid': '00:15:8d:00:01:b1:86:3d-01-0006', '_ep': 1, '_name': 'lumi.sensor_switch 3', '_buttonevent': 1002, '_sensor_icon': None, '_manufacturername': 'LUMI'}
And I have a “Precense 2”-sensor in HA, but it is unreachable.
Haven’t looked into your examples yet.
EDIT: Forgot to mention, the devices I have been trying to add is a “Xiaomi Smart Wireless Switch” (the small round one) and the “Xiaomi Aqara Human Body Sensor” (with luminance sensor also).