Home Assistant v 0.11.1 with switch support
-
Ok, here is a better log. I decided to set up a new node, one that would auto get the node_ID to see if there was atleast some communication both ways. There seems to be, as the gateway did assign a node_ID, but it didn't show up in HA on the web at all.
Maybe I need to start HA all over again, just keep the configuration.yaml file?
pi@home-assistant:~/.homeassistant $ hass Config directory: /home/pi/.homeassistant WARNING:homeassistant.bootstrap:Colorlog package not found, console coloring disabled INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=turn_off> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=turn_on> INFO:homeassistant.bootstrap:Home Assistant core initialized INFO:homeassistant.loader:Loaded logbook from homeassistant.components.logbook INFO:homeassistant.loader:Loaded recorder from homeassistant.components.recorder INFO:homeassistant.loader:Loaded http from homeassistant.components.http INFO:homeassistant.loader:Loaded history from homeassistant.components.history INFO:homeassistant.loader:Loaded discovery from homeassistant.components.discovery INFO:homeassistant.loader:Loaded camera from homeassistant.components.camera INFO:homeassistant.loader:Loaded updater from homeassistant.components.updater INFO:homeassistant.loader:Loaded sun from homeassistant.components.sun INFO:homeassistant.loader:Loaded frontend from homeassistant.components.frontend INFO:homeassistant.loader:Loaded api from homeassistant.components.api INFO:homeassistant.loader:Loaded media_player from homeassistant.components.media_player INFO:homeassistant.loader:Loaded mysensors from homeassistant.components.mysensors INFO:homeassistant.loader:Loaded conversation from homeassistant.components.conversation INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=recorder> INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=http> INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=logbook> INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=history> INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=discovery> INFO:homeassistant.loader:Loaded camera.mjpeg from homeassistant.components.camera.mjpeg INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state camera.livingroom_camera=idle; entity_picture=/api/camera_proxy/camera.livingroom_camera?time=1453761305.5420914, friendly_name=LivingRoom Camera @ 18:35:05 25-01-2016>, entity_id=camera.livingroom_camera> INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=camera> INFO:urllib3.connectionpool:Starting new HTTPS connection (1): pypi.python.org INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=updater> INFO:urllib3.connectionpool:Starting new HTTP connection (1): maps.googleapis.com INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state sun.sun=below_horizon; friendly_name=Sun, next_rising=11:42:09 26-01-2016, next_setting=21:17:57 26-01-2016, elevation=-14.01 @ 18:35:11 25-01-2016>, entity_id=sun.sun> INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=sun> INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=api> INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=frontend> INFO:homeassistant.loader:Loaded media_player.squeezebox from homeassistant.components.media_player.squeezebox INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state media_player.airspeaker=off; supported_media_commands=447, friendly_name=AirSpeaker @ 18:35:11 25-01-2016>, entity_id=media_player.airspeaker> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=media_play> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=media_pause> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=turn_on> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=play_media> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=turn_off> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=volume_up> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=volume_down> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=media_play_pause> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=media_next_track> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=media_previous_track> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=volume_set> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=volume_mute> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=media_seek> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=start_fireplace> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=start_epic_sax> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=play_youtube_video> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=play_media> INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=media_player> INFO:mysensors.mysensors:File does not exist or is not readable: /home/pi/.homeassistant/mysensors1.pickle INFO:homeassistant.loader:Loaded sensor from homeassistant.components.sensor INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=sensor> INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: discovered=, service=mysensors.sensors> INFO:homeassistant.loader:Loaded switch from homeassistant.components.switch INFO:homeassistant.loader:Loaded sensor.mysensors from homeassistant.components.sensor.mysensors INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=switch, service=turn_off> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=switch, service=turn_on> INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=switch> INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: discovered=, service=mysensors.switches> INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=mysensors> INFO:homeassistant.loader:Loaded switch.mysensors from homeassistant.components.switch.mysensors /home/pi/.homeassistant/lib/fuzzywuzzy/fuzz.py:33: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning') INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=conversation, service=process> INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=conversation> INFO:homeassistant.core:Starting Home Assistant (17 threads) INFO:homeassistant.core:Bus:Handling <Event homeassistant_start[L]> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=stop> INFO:mysensors.mysensors:Trying to connect to /dev/ttyUSB0 INFO:homeassistant.components.http:Starting web interface at http://0.0.0.0:8123 INFO:homeassistant.core:Timer:starting INFO:homeassistant.components.http:"GET /api/stream?api_password=no_password_set&restrict=state_changed,component_loaded,service_registered HTTP/1.1" 200 - INFO:homeassistant.components.http:"GET /api/bootstrap HTTP/1.1" 200 - INFO:netdisco.service:Scanning WARNING:homeassistant.components.recorder:Found unfinished sessions INFO:mysensors.mysensors:/dev/ttyUSB0 is open... INFO:mysensors.mysensors:Connected to /dev/ttyUSB0 INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:gateway started, id=0, parent=0, distance=0 INFO:homeassistant.components.media_player:Updating media_player entities INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.4 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.102 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.1 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.199 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.113 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.101 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.113 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.163 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.108 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:homeassistant.components.discovery:Found new service: DLNA http://192.168.86.4:32469/DeviceDescription.xml INFO:homeassistant.components.discovery:Found new service: DLNA http://192.168.86.113:9000/plugins/UPnP/MediaServer.xml INFO:homeassistant.components.discovery:Found new service: plex_mediaserver ('Rocknet Server', 'https://192.168.86.4:32400') INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: discovered=('Rocknet Server', 'https://192.168.86.4:32400'), service=plex_mediaserver> INFO:homeassistant.components.discovery:Found new service: google_cast ('192.168.86.102', 8009) INFO:homeassistant.loader:Loaded media_player.plex from homeassistant.components.media_player.plex INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: discovered=('192.168.86.102', 8009), service=google_cast> INFO:homeassistant.components.discovery:Found new service: google_cast ('192.168.86.142', 8009) INFO:homeassistant.loader:Loaded media_player.cast from homeassistant.components.media_player.cast INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: discovered=('192.168.86.142', 8009), service=google_cast> INFO:homeassistant.components.discovery:Found new service: google_cast ('192.168.86.101', 8009) INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: discovered=('192.168.86.101', 8009), service=google_cast> INFO:homeassistant.components.discovery:Found new service: belkin_wemo ('Christmas Tree Lights', 'Insight', 'http://192.168.86.111:49153/setup.xml', '94103E395F2C') INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: discovered=('Christmas Tree Lights', 'Insight', 'http://192.168.86.111:49153/setup.xml', '94103E395F2C'), service=belkin_wemo> INFO:homeassistant.components.discovery:Found new service: belkin_wemo ('LivingRoomLamp', 'Socket', 'http://192.168.86.163:49153/setup.xml', '94103E30C688') INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: discovered=('LivingRoomLamp', 'Socket', 'http://192.168.86.163:49153/setup.xml', '94103E30C688'), service=belkin_wemo> INFO:homeassistant.components.discovery:Found new service: belkin_wemo ('CatFan', 'Socket', 'http://192.168.86.108:49153/setup.xml', '94103E30CDBC') INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: discovered=('CatFan', 'Socket', 'http://192.168.86.108:49153/setup.xml', '94103E30CDBC'), service=belkin_wemo> INFO:homeassistant.components.discovery:Found new service: philips_hue ('Philips hue (192.168.86.199)', 'http://192.168.86.199:80/') INFO:homeassistant.loader:Loaded switch.wemo from homeassistant.components.switch.wemo INFO:homeassistant.loader:Loaded switch.wemo from homeassistant.components.switch.wemo INFO:homeassistant.loader:Loaded switch.wemo from homeassistant.components.switch.wemo INFO:homeassistant.loader:Loaded light from homeassistant.components.light INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=light, service=turn_on> INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=light, service=turn_off> INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=light> INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: discovered=('Philips hue (192.168.86.199)', 'http://192.168.86.199:80/'), service=philips_hue> INFO:homeassistant.loader:Loaded light.hue from homeassistant.components.light.hue INFO:phue:Attempting to connect to the bridge... INFO:phue:Using ip: 192.168.86.199 INFO:phue:Using username from config: 30f609e6210320e41f0dfc32220a525f INFO:plexapi:GET http://192.168.86.4:32400/ INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.4 INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state light.master_bedroom_1=off; friendly_name=Master bedroom 1 @ 18:35:27 25-01-2016>, entity_id=light.master_bedroom_1> INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state light.aprils_lamp=off; friendly_name=April's lamp @ 18:35:27 25-01-2016>, entity_id=light.aprils_lamp> INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state light.master_bedroom_2=off; friendly_name=Master bedroom 2 @ 18:35:27 25-01-2016>, entity_id=light.master_bedroom_2> INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state light.master_bedroom_light_strip=off; friendly_name=Master bedroom light strip @ 18:35:27 25-01-2016>, entity_id=light.master_bedroom_light_strip> INFO:homeassistant.components.media_player.plex:Connected to: htts://192.168.86.4:32400 INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state light.living_room_light_2=on; brightness=254, friendly_name=Living room light 2 @ 18:35:27 25-01-2016>, entity_id=light.living_room_light_2> INFO:plexapi:GET http://192.168.86.4:32400/clients INFO:pywemo.subscribe:Listening on port 8989 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.108 INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state light.master_bedroom_3=off; friendly_name=Master bedroom 3 @ 18:35:27 25-01-2016>, entity_id=light.master_bedroom_3> INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.163 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.4 INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state light.living_room_light_1=on; brightness=254, friendly_name=Living room light 1 @ 18:35:27 25-01-2016>, entity_id=light.living_room_light_1> INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state group.all_lights=unknown; entity_id=[], auto=True, friendly_name=all lights @ 18:35:27 25-01-2016>, entity_id=group.all_lights> INFO:plexapi:GET http://192.168.86.4:32400/status/sessions INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.108 INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state group.all_lights=on; entity_id=('light.aprils_lamp', 'light.master_bedroom_1', 'light.living_room_light_1', 'light.living_room_light_2', 'light.master_bedroom_light_strip', 'light.master_bedroom_3', 'light.master_bedroom_2'), auto=True, friendly_name=all lights @ 18:35:27 25-01-2016>, entity_id=group.all_lights> INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.4 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.163 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.108 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.163 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.108 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.108 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.163 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.163 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.108 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.108 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.163 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.108 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.163 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 ERROR:homeassistant.components.media_player:Error while setting up platform cast Traceback (most recent call last): File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 145, in _setup_platform self.hass, platform_config, self.add_entities, discovery_info) File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/cast.py", line 39, in setup_platform import pychromecast File "/home/pi/.homeassistant/lib/pychromecast/__init__.py", line 14, in <module> from . import socket_client ImportError: cannot import name 'socket_client' INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.108 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.163 ERROR:homeassistant.components.media_player:Error while setting up platform cast Traceback (most recent call last): File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 145, in _setup_platform self.hass, platform_config, self.add_entities, discovery_info) File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/cast.py", line 39, in setup_platform import pychromecast File "/home/pi/.homeassistant/lib/pychromecast/__init__.py", line 14, in <module> from . import socket_client ImportError: cannot import name 'socket_client' ERROR:homeassistant.components.media_player:Error while setting up platform cast Traceback (most recent call last): File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 145, in _setup_platform self.hass, platform_config, self.add_entities, discovery_info) File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/cast.py", line 68, in setup_platform casts.append(CastDevice(host)) File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/cast.py", line 84, in __init__ import pychromecast.controllers.youtube as youtube AttributeError: 'module' object has no attribute 'controllers' INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.163 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.108 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.163 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.108 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.163 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.108 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.163 INFO:pywemo.subscribe:Subscribing to events from <WeMo Switch "CatFan"> INFO:pywemo.subscribe:Resubscribe for <WeMo Switch "CatFan"> INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.108 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.108 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state switch.catfan=off; friendly_name=CatFan @ 18:35:29 25-01-2016>, entity_id=switch.catfan> INFO:pywemo.subscribe:Received event from <WeMo Switch "CatFan">(192.168.86.108) INFO:pywemo.subscribe:Subscribing to events from <WeMo Switch "LivingRoomLamp"> INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state group.all_switches=unknown; entity_id=[], auto=True, friendly_name=all switches @ 18:35:29 25-01-2016>, entity_id=group.all_switches> INFO:homeassistant.components.switch.wemo:Subscription update for <WeMo Switch "CatFan"> INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state group.all_switches=off; entity_id=('switch.catfan',), auto=True, friendly_name=all switches @ 18:35:29 25-01-2016>, entity_id=group.all_switches> INFO:pywemo.subscribe:Subscribing to events from <WeMo Insight "Christmas Tree Lights"> INFO:pywemo.subscribe:Resubscribe for <WeMo Switch "LivingRoomLamp"> INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.108 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.163 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.163 INFO:pywemo.subscribe:Resubscribe for <WeMo Insight "Christmas Tree Lights"> INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state switch.livingroomlamp=on; friendly_name=LivingRoomLamp @ 18:35:29 25-01-2016>, entity_id=switch.livingroomlamp> INFO:pywemo.subscribe:Received event from <WeMo Switch "LivingRoomLamp">(192.168.86.163) INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state group.all_switches=on; entity_id=('switch.livingroomlamp', 'switch.catfan'), auto=True, friendly_name=all switches @ 18:35:29 25-01-2016>, entity_id=group.all_switches> INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:homeassistant.components.switch.wemo:Subscription update for <WeMo Switch "LivingRoomLamp"> INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.163 INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state switch.christmas_tree_lights=off; friendly_name=Christmas Tree Lights @ 18:35:29 25-01-2016>, entity_id=switch.christmas_tree_lights> INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state group.all_switches=on; entity_id=('switch.livingroomlamp', 'switch.christmas_tree_lights', 'switch.catfan'), auto=True, friendly_name=all switches @ 18:35:29 25-01-2016>, entity_id=group.all_switches> INFO:pywemo.subscribe:Received event from <WeMo Insight "Christmas Tree Lights">(192.168.86.111) INFO:homeassistant.components.switch.wemo:Subscription update for <WeMo Insight "Christmas Tree Lights"> INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:homeassistant.components.media_player:Updating media_player entities INFO:homeassistant.components.light:Updating light entities INFO:homeassistant.components.camera:Updating camera entities INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state camera.livingroom_camera=idle; entity_picture=/api/camera_proxy/camera.livingroom_camera?time=1453761330.5161493, friendly_name=LivingRoom Camera @ 18:35:05 25-01-2016>, entity_id=camera.livingroom_camera, old_state=<state camera.livingroom_camera=idle; entity_picture=/api/camera_proxy/camera.livingroom_camera?time=1453761305.5420914, friendly_name=LivingRoom Camera @ 18:35:05 25-01-2016>> INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state sun.sun=below_horizon; friendly_name=Sun, next_rising=11:42:09 26-01-2016, next_setting=21:17:57 26-01-2016, elevation=-14.07 @ 18:35:11 25-01-2016>, entity_id=sun.sun, old_state=<state sun.sun=below_horizon; friendly_name=Sun, next_rising=11:42:09 26-01-2016, next_setting=21:17:57 26-01-2016, elevation=-14.01 @ 18:35:11 25-01-2016>> INFO:pywemo.subscribe:Received event from <WeMo Insight "Christmas Tree Lights">(192.168.86.111) INFO:homeassistant.components.switch.wemo:Subscription update for <WeMo Insight "Christmas Tree Lights"> INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.111 INFO:homeassistant.components.media_player:Updating media_player entities INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 1-1-0 s=255,c=0,t=17,pt=0,l=5,sg=0:1.5.1 INFO:homeassistant.components.mysensors:update sensor_update: node 1 INFO:homeassistant.components.mysensors:No sketch_name: node 1 INFO:homeassistant.components.mysensors:No sketch_name: node 1 INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 1-1-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0 INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:send: 0-0-1-1 s=255,c=3,t=6,pt=0,l=1,sg=0,st=ok:M INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 1-1-0 s=255,c=3,t=11,pt=0,l=13,sg=0:Motion Sensor INFO:homeassistant.components.mysensors:update sensor_update: node 1 INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 1-1-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.0 INFO:homeassistant.components.mysensors:update sensor_update: node 1 INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 1-1-0 s=1,c=0,t=1,pt=0,l=0,sg=0: INFO:homeassistant.components.mysensors:update sensor_update: node 1 INFO:mysensors.mysensors:n:0 c:0 t:3 s:9 p:read: 1-1-0 s=1,c=1,t=16,pt=0,l=1,sg=0:1 INFO:homeassistant.components.mysensors:update sensor_update: node 1 INFO:homeassistant.components.media_player:Updating media_player entities INFO:homeassistant.components.http:"GET /api/error_log HTTP/1.1" 200 - INFO:homeassistant.components.media_player:Updating media_player entities INFO:homeassistant.components.light:Updating light entities INFO:homeassistant.components.camera:Updating camera entities INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state camera.livingroom_camera=idle; entity_picture=/api/camera_proxy/camera.livingroom_camera?time=1453761360.5125034, friendly_name=LivingRoom Camera @ 18:35:05 25-01-2016>, entity_id=camera.livingroom_camera, old_state=<state camera.livingroom_camera=idle; entity_picture=/api/camera_proxy/camera.livingroom_camera?time=1453761330.5161493, friendly_name=LivingRoom Camera @ 18:35:05 25-01-2016>> INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.117 INFO:homeassistant.components.media_player:Updating media_player entities INFO:homeassistant.components.http:"GET /states HTTP/1.1" 200 - INFO:homeassistant.components.http:"GET /static/frontend-1003c31441ec44b3db84b49980f736a7.html HTTP/1.1" 200 - INFO:homeassistant.components.http:"GET /static/favicon-192x192.png HTTP/1.1" 200 - INFO:homeassistant.components.http:"GET /static/favicon.ico HTTP/1.1" 200 - INFO:homeassistant.components.http:"GET /api/bootstrap HTTP/1.1" 200 - INFO:homeassistant.components.http:"GET /api/stream?api_password=no_password_set&restrict=state_changed,component_loaded,service_registered HTTP/1.1" 200 - INFO:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.86.117 INFO:homeassistant.components.http:"GET /api/error_log HTTP/1.1" 200 - ^CINFO:homeassistant.core:Stopping INFO:homeassistant.core:Bus:Handling <Event homeassistant_stop[L]> INFO:homeassistant.components.switch.wemo:Shutting down subscriptions. INFO:mysensors.mysensors:Disconnecting from /dev/ttyUSB0 INFO:mysensors.mysensors:Stopping thread INFO:homeassistant.components.recorder:Closing database pi@home-assistant:~/.homeassistant $All the messages logged from the gateway look good in the latest log output without errors. Only thing missing is a log line saying "adding new devices...". There are three main reasons why this doesn't happen when the code executes:
- A device with the same node id is already added.
- Some node/sensor data is missing in the data stuctures, sketch name, child id, S_TYPE, V_TYPE.
- The S_TYPE and V_TYPE for the child sensor is not handled by any of the platforms that home assistant supports.
All pure sensors in version 1.5 are currently supported by the sensor platform. The switch platform supports:
S_DOOR,
S_MOTION,
S_SMOKE,
S_LIGHT,
S_LOCK,
S_BINARY,
S_SPRINKLER,
S_WATER_LEAK,
S_SOUND,
S_VIBRATION,
S_MOISTURE,
V_ARMED,
V_LIGHT,
V_LOCK_STATUS,
V_STATUSThere's a bug if you don't specify version 1.5 in the config of home assistant. It's related to the V_PERCENTAGE attribute error. I'm fixing that now. But I don't think that's your problem here. My guess is point 1 or 2 above is the problem.
You could try the following:
- Remove any json or pickle persistence files from your config directory.
- Activate persistence in your config (and set version 1.5).
- Connect your gateway
- Start hass
- Wait for "gateway started" log line
- Connect the sensor
- If no errors occur, open the newly generated persistence file and copy/paste the contents here. This might give us more clues.
-
I'm trying to replicate the problem, and there seem to be some issue with adding devices "on the fly" and not from the persistence file.
A workaround seems to be, as @asm reported:
- Activate persistence
- Present sensors and send a value per sensor
- Restart home assistant
I'll try to figure out the cause and make a fix.
-
Ok, I've found the bug. I'll make the fix and pull request to home assistant. It should make the next release.
Until then the workaround above should be usable, at least.
Make sure you present the sensors and send at least one value per sensor, and the persistence file will be populated. Then after the restart of home assistant your sensors should show in the gui.
Sorry for the inconvenience, and thanks for helping me troubleshoot this! I really appreciate all feedback and also any criticism, which in the end will make the controller and plugin better.
-
Ok, I've found the bug. I'll make the fix and pull request to home assistant. It should make the next release.
Until then the workaround above should be usable, at least.
Make sure you present the sensors and send at least one value per sensor, and the persistence file will be populated. Then after the restart of home assistant your sensors should show in the gui.
Sorry for the inconvenience, and thanks for helping me troubleshoot this! I really appreciate all feedback and also any criticism, which in the end will make the controller and plugin better.
@martinhjelmare thank you !
Yesterday I finally got all the sensors in the UI using the workaround, so now it looks fine, but I'll update when the fix is available.
Thanks again!
-
Hi @martinhjelmare and @asm
Confirmed: I have the one node i set for auto-id working now. I had to still add the 1.5 version info to configuration.yaml for it to show properly though - so all lines that are on the Components page of the HA wiki are NEEDED. And the reboot of HA worked after enabling persistence and the v1.5
I'll work with my manually assigned ID's on the weekend - got too many courses/work to do the rest of the week. Thank you both again for your help, it was very much appreciated.
And @martinhjelmare keep up the great work on the addon, loving it. And if any advice, the only thing I wish is there was an option to have an ethernet gateway over the serial.
-
Hi @martinhjelmare and @asm
Confirmed: I have the one node i set for auto-id working now. I had to still add the 1.5 version info to configuration.yaml for it to show properly though - so all lines that are on the Components page of the HA wiki are NEEDED. And the reboot of HA worked after enabling persistence and the v1.5
I'll work with my manually assigned ID's on the weekend - got too many courses/work to do the rest of the week. Thank you both again for your help, it was very much appreciated.
And @martinhjelmare keep up the great work on the addon, loving it. And if any advice, the only thing I wish is there was an option to have an ethernet gateway over the serial.
@drock1985 said:
And @martinhjelmare keep up the great work on the addon, loving it. And if any advice, the only thing I wish is there was an option to have an ethernet gateway over the serial.
I'm not following completely. How do you mean ethernet gateway over serial? I know @Yveaux has made a Perl script to interface serial with mqtt. Is that what you mean?
-
@martinhjelmare said:
@drock1985 said:
And @martinhjelmare keep up the great work on the addon, loving it. And if any advice, the only thing I wish is there was an option to have an ethernet gateway over the serial.
I'm not following completely. How do you mean ethernet gateway over serial? I know @Yveaux has made a Perl script to interface serial with mqtt. Is that what you mean?
Hi,
I mean that I would rather Home Assistant had an Ethernet Gateway over the Serial one. Don't know why but personally I find the Ethernet Gateway to be more stable/compatible than Serial (that goes for any home automation controller i've tried).
-
@martinhjelmare said:
@drock1985 said:
And @martinhjelmare keep up the great work on the addon, loving it. And if any advice, the only thing I wish is there was an option to have an ethernet gateway over the serial.
I'm not following completely. How do you mean ethernet gateway over serial? I know @Yveaux has made a Perl script to interface serial with mqtt. Is that what you mean?
Hi,
I mean that I would rather Home Assistant had an Ethernet Gateway over the Serial one. Don't know why but personally I find the Ethernet Gateway to be more stable/compatible than Serial (that goes for any home automation controller i've tried).
Oh, ok. I'm working on an ethernet gateway plugin. Needs some more testing, before I can submit it.
If you want to beta test, I can ping you when its more or less ready?
-
I would love to beta test a gateway, no problem. Let me know when you need testing.
Also just a quick general Home-assistant question. Is it possible to rename devices? Not a big deal, but I notice that the sketch name is the default name of the device, and wasn't too sure if HA allows you to give them nick names or the like.
Thanks,
-
I would love to beta test a gateway, no problem. Let me know when you need testing.
Also just a quick general Home-assistant question. Is it possible to rename devices? Not a big deal, but I notice that the sketch name is the default name of the device, and wasn't too sure if HA allows you to give them nick names or the like.
Thanks,
Yes, it's possible to rename devices and also customize icons etc.
See my post here:
http://forum.mysensors.org/topic/2388/home-assistant-how-to-recognize-mysensors-nodes/64