MQTT raspberry pi gateway with HA, can't seem to find sensors.



  • After enabling debug logging for mysensors.mysensors I see that I get MQTT publishes from the gateway , but when I login into HA I can't see the sensors.
    Here is the log from HA.
    16-12-28 03:32:00 mysensors.mysensors: Receiving 1;4;0;0;7;
    16-12-28 03:32:00 mysensors.mysensors: Node 1 is unknown
    16-12-28 03:32:00 mysensors.mysensors: Requesting new presentation for node 1
    16-12-28 03:32:00 mysensors.mysensors: Node 1 is unknown, will not add child 4.
    16-12-28 03:32:00 mysensors.mysensors: Publishing 1;255;3;0;19;

    16-12-28 03:32:08 mysensors.mysensors: Receiving 1;255;3;0;12;1.0
    16-12-28 03:32:08 mysensors.mysensors: Node 1 is unknown
    16-12-28 03:32:08 mysensors.mysensors: Requesting new presentation for node 1
    16-12-28 03:32:08 mysensors.mysensors: Publishing 1;255;3;0;19;

    16-12-28 03:32:08 mysensors.mysensors: Receiving 1;255;0;0;17;2.0.0
    16-12-28 03:32:10 mysensors.mysensors: Receiving 1;255;3;0;11;Soil Moisture Sensor Reve
    16-12-28 03:32:10 mysensors.mysensors: Receiving 1;4;0;0;7;
    16-12-28 03:32:10 mysensors.mysensors: Subscribing to: mysensors-out/1/4/1/+/+
    16-12-28 03:32:10 mysensors.mysensors: Subscribing to: mysensors-out/1/4/2/+/+
    16-12-28 03:32:10 mysensors.mysensors: Subscribing to: mysensors-out/1/+/4/+/+
    16-12-28 03:32:16 mysensors.mysensors: Receiving 1;4;1;0;37;1
    16-12-28 03:32:16 mysensors.mysensors: Receiving 1;4;2;0;2;
    16-12-28 03:32:18 mysensors.mysensors: Receiving 1;4;1;0;37;5
    16-12-28 03:32:23 mysensors.mysensors: Receiving 1;4;1;0;37;1
    16-12-28 03:32:23 mysensors.mysensors: Receiving 1;4;2;0;2;
    16-12-28 03:32:25 mysensors.mysensors: Receiving 1;4;1;0;37;10
    16-12-28 03:32:31 mysensors.mysensors: Receiving 1;4;1;0;37;1
    16-12-28 03:32:31 mysensors.mysensors: Receiving 1;4;2;0;2;
    16-12-28 03:32:33 mysensors.mysensors: Receiving 1;4;1;0;37;7
    16-12-28 03:32:39 mysensors.mysensors: Receiving 1;4;1;0;37;1
    16-12-28 03:32:39 mysensors.mysensors: Receiving 1;4;2;0;2;
    16-12-28 03:32:41 mysensors.mysensors: Receiving 1;4;1;0;37;3
    16-12-28 03:32:46 mysensors.mysensors: Receiving 1;4;1;0;37;1
    16-12-28 03:32:46 mysensors.mysensors: Receiving 1;4;2;0;2;
    16-12-28 03:32:54 mysensors.mysensors: Receiving 1;4;2;0;2;
    16-12-28 03:33:02 mysensors.mysensors: Receiving 1;4;1;0;37;1
    16-12-28 03:33:02 mysensors.mysensors: Receiving 1;4;2;0;2;
    16-12-28 03:33:04 mysensors.mysensors: Receiving 1;4;1;0;37;9
    16-12-28 03:33:09 mysensors.mysensors: Receiving 1;4;1;0;37;1
    16-12-28 03:33:09 mysensors.mysensors: Receiving 1;4;2;0;2;
    16-12-28 03:33:11 mysensors.mysensors: Receiving 1;4;1;0;37;8
    16-12-28 03:33:17 mysensors.mysensors: Receiving 1;4;1;0;37;1
    16-12-28 03:33:17 mysensors.mysensors: Receiving 1;4;2;0;2;
    16-12-28 03:33:19 mysensors.mysensors: Receiving 1;4;1;0;37;10
    16-12-28 03:33:24 mysensors.mysensors: Receiving 1;4;1;0;37;1
    16-12-28 03:33:24 mysensors.mysensors: Receiving 1;4;2;0;2;
    16-12-28 03:33:26 mysensors.mysensors: Receiving 1;4;1;0;37;-5
    16-12-28 03:33:32 mysensors.mysensors: Receiving 1;4;2;0;2;
    16-12-28 03:33:40 mysensors.mysensors: Receiving 1;4;1;0;37;1
    16-12-28 03:33:40 mysensors.mysensors: Receiving 1;4;2;0;2;
    16-12-28 03:33:47 mysensors.mysensors: Receiving 1;4;1;0;37;1
    16-12-28 03:33:47 mysensors.mysensors: Receiving 1;4;2;0;2;
    16-12-28 03:33:55 mysensors.mysensors: Receiving 1;4;1;0;37;1
    16-12-28 03:33:55 mysensors.mysensors: Receiving 1;4;2;0;2;
    16-12-28 03:33:57 mysensors.mysensors: Receiving 1;4;1;0;37;14


  • Plugin Developer

    Hi!

    Please also enable debug logging for the mysensors component in home assistant and post mysensors and mqtt related lines after home assistant start.



  • Config directory: /home/pi/.homeassistant
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=turn_off, domain=homeassistant>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=turn_on, domain=homeassistant>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=toggle, domain=homeassistant>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=reload_core_config, domain=homeassistant>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=create, domain=persistent_notification>
    INFO:homeassistant.bootstrap:Home Assistant core initialized
    INFO:homeassistant.loader:Loaded history from homeassistant.components.history
    INFO:homeassistant.loader:Loaded recorder from homeassistant.components.recorder
    INFO:homeassistant.loader:Loaded http from homeassistant.components.http
    INFO:homeassistant.loader:Loaded mysensors from homeassistant.components.mysensors
    INFO:homeassistant.loader:Loaded sun from homeassistant.components.sun
    INFO:homeassistant.loader:Loaded updater from homeassistant.components.updater
    INFO:homeassistant.loader:Loaded sensor from homeassistant.components.sensor
    INFO:homeassistant.loader:Loaded discovery from homeassistant.components.discovery
    INFO:homeassistant.loader:Loaded conversation from homeassistant.components.conversation
    INFO:homeassistant.loader:Loaded mqtt from homeassistant.components.mqtt
    INFO:homeassistant.loader:Loaded frontend from homeassistant.components.frontend
    INFO:homeassistant.loader:Loaded api from homeassistant.components.api
    INFO:homeassistant.loader:Loaded websocket_api from homeassistant.components.websocket_api
    INFO:homeassistant.loader:Loaded tts from homeassistant.components.tts
    INFO:homeassistant.loader:Loaded logbook from homeassistant.components.logbook
    INFO:homeassistant.loader:Loaded logger from homeassistant.components.logger
    INFO:homeassistant.bootstrap:Setting up recorder
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=recorder>
    INFO:homeassistant.bootstrap:Setting up logger
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/4/1/+/+
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/4/2/+/+
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/+/4/+/+
    INFO:mysensors.mysensors:Setting up initial MQTT topic subscription
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/+/+/0/+/+
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/+/+/3/+/+
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;1
    DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;5
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;1
    DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;0



  • @martinhjelmare said:

    ble debug logging for the mysensors component in home assistant and post mysensors and mqtt related lines after home assistant start.
    This is my logger config
    logger:
    default: critical
    logs:
    mysensors: debug
    mqtt: debug

    This is the result:
    Config directory: /home/pi/.homeassistant
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=turn_off, domain=homeassistant>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=turn_on, domain=homeassistant>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=toggle, domain=homeassistant>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=reload_core_config, domain=homeassistant>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=create, domain=persistent_notification>
    INFO:homeassistant.bootstrap:Home Assistant core initialized
    INFO:homeassistant.loader:Loaded history from homeassistant.components.history
    INFO:homeassistant.loader:Loaded recorder from homeassistant.components.recorder
    INFO:homeassistant.loader:Loaded http from homeassistant.components.http
    INFO:homeassistant.loader:Loaded mysensors from homeassistant.components.mysensors
    INFO:homeassistant.loader:Loaded sun from homeassistant.components.sun
    INFO:homeassistant.loader:Loaded updater from homeassistant.components.updater
    INFO:homeassistant.loader:Loaded sensor from homeassistant.components.sensor
    INFO:homeassistant.loader:Loaded discovery from homeassistant.components.discovery
    INFO:homeassistant.loader:Loaded conversation from homeassistant.components.conversation
    INFO:homeassistant.loader:Loaded mqtt from homeassistant.components.mqtt
    INFO:homeassistant.loader:Loaded frontend from homeassistant.components.frontend
    INFO:homeassistant.loader:Loaded api from homeassistant.components.api
    INFO:homeassistant.loader:Loaded websocket_api from homeassistant.components.websocket_api
    INFO:homeassistant.loader:Loaded tts from homeassistant.components.tts
    INFO:homeassistant.loader:Loaded logbook from homeassistant.components.logbook


  • Plugin Developer

    You need to specify full package/module path in logger component. Try this:

    logger:
      default: warning
      logs:
        homeassistant.components.mqtt: info
        homeassistant.components.mysensors: debug
        mysensors.mysensors: debug
    
    mysensors:
      debug: true
    ... 
    


  • Thank you.
    Config directory: /home/pi/.homeassistant
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=turn_off, domain=homeassistant>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=turn_on, domain=homeassistant>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=toggle, domain=homeassistant>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=reload_core_config, domain=homeassistant>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=create, domain=persistent_notification>
    INFO:homeassistant.bootstrap:Home Assistant core initialized
    INFO:homeassistant.loader:Loaded sun from homeassistant.components.sun
    INFO:homeassistant.loader:Loaded mqtt from homeassistant.components.mqtt
    INFO:homeassistant.loader:Loaded conversation from homeassistant.components.conversation
    INFO:homeassistant.loader:Loaded tts from homeassistant.components.tts
    INFO:homeassistant.loader:Loaded http from homeassistant.components.http
    INFO:homeassistant.loader:Loaded discovery from homeassistant.components.discovery
    INFO:homeassistant.loader:Loaded mysensors from homeassistant.components.mysensors
    INFO:homeassistant.loader:Loaded updater from homeassistant.components.updater
    INFO:homeassistant.loader:Loaded logbook from homeassistant.components.logbook
    INFO:homeassistant.loader:Loaded recorder from homeassistant.components.recorder
    INFO:homeassistant.loader:Loaded frontend from homeassistant.components.frontend
    INFO:homeassistant.loader:Loaded api from homeassistant.components.api
    INFO:homeassistant.loader:Loaded websocket_api from homeassistant.components.websocket_api
    INFO:homeassistant.loader:Loaded history from homeassistant.components.history
    INFO:homeassistant.loader:Loaded sensor from homeassistant.components.sensor
    INFO:homeassistant.loader:Loaded logger from homeassistant.components.logger
    INFO:homeassistant.bootstrap:Setting up recorder
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=recorder>
    INFO:homeassistant.bootstrap:Setting up logger
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/4/1/+/+
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/4/2/+/+
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/+/4/+/+
    INFO:mysensors.mysensors:Setting up initial MQTT topic subscription
    DEBUG:homeassistant.components.mysensors:Update persistence: node 1
    DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/+/+/0/+/+
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/+/+/3/+/+
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;10
    DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;1
    DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
    DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1


  • Plugin Developer

    I'd like to see mysensors platform setup too, sorry.

    logger:
      default: info
      logs:
        homeassistant.components.mqtt: info
        homeassistant.components.mysensors: debug
        mysensors.mysensors: debug
    
    mysensors:
      debug: true
    ...
    


  • This post is deleted!


  • This post is deleted!

  • Plugin Developer

    Please don't post sensitive information, like passwords and URL to your host. Sorry if I was not clear. You should change your password now.

    I'd just like to see a log with default info level so I can see that all mysensors platforms are setup ok after start. Then you can also restart the arduino sensor after starting home assistant, so that we can see what happens when the sensor runs through presentation etc.



  • @martinhjelmare said:
    Thank you for the warning 🙂
    Config directory: /home/pi/.homeassistant
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=turn_off, domain=homeassistant>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=turn_on, domain=homeassistant>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=toggle, domain=homeassistant>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=reload_core_config, domain=homeassistant>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=create, domain=persistent_notification>
    INFO:homeassistant.bootstrap:Home Assistant core initialized
    INFO:homeassistant.loader:Loaded discovery from homeassistant.components.discovery
    INFO:homeassistant.loader:Loaded conversation from homeassistant.components.conversation
    INFO:homeassistant.loader:Loaded http from homeassistant.components.http
    INFO:homeassistant.loader:Loaded tts from homeassistant.components.tts
    INFO:homeassistant.loader:Loaded logbook from homeassistant.components.logbook
    INFO:homeassistant.loader:Loaded recorder from homeassistant.components.recorder
    INFO:homeassistant.loader:Loaded frontend from homeassistant.components.frontend
    INFO:homeassistant.loader:Loaded api from homeassistant.components.api
    INFO:homeassistant.loader:Loaded websocket_api from homeassistant.components.websocket_api
    INFO:homeassistant.loader:Loaded sensor from homeassistant.components.sensor
    INFO:homeassistant.loader:Loaded updater from homeassistant.components.updater
    INFO:homeassistant.loader:Loaded sun from homeassistant.components.sun
    INFO:homeassistant.loader:Loaded mqtt from homeassistant.components.mqtt
    INFO:homeassistant.loader:Loaded logger from homeassistant.components.logger
    INFO:homeassistant.loader:Loaded history from homeassistant.components.history
    INFO:homeassistant.loader:Loaded mysensors from homeassistant.components.mysensors
    INFO:homeassistant.bootstrap:Setting up recorder
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=recorder>
    INFO:homeassistant.bootstrap:Setting up logger
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/4/1/+/+
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/4/2/+/+
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/+/4/+/+
    INFO:mysensors.mysensors:Setting up initial MQTT topic subscription
    DEBUG:homeassistant.components.mysensors:Update persistence: node 1
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/+/+/0/+/+
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/+/+/3/+/+
    DEBUG:mysensors.mysensors:Receiving 1;255;3;0;12;1.0
    DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
    DEBUG:mysensors.mysensors:Receiving 1;4;0;0;7;
    WARNING:mysensors.mysensors:child_id 4 already exists in children of node 1, cannot add child
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;1
    DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
    DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;15
    DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;1
    DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
    DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
    DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;-8
    DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;1
    DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
    DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;7
    DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
    DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;2
    DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;1
    DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
    DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;6
    DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
    DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;-2
    DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;1
    DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
    DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
    DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
    DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;


  • Plugin Developer

    Please check that logger component has info as default level in your home assistant config, as in my latest example above. We're missing expected lines about setup after logger component is loaded.



  • pi@pi3:~/.homeassistant $ hass
    Config directory: /home/pi/.homeassistant
    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.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=toggle>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=reload_core_config>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=persistent_notification, service=create>
    INFO:homeassistant.bootstrap:Home Assistant core initialized
    INFO:homeassistant.loader:Loaded tts from homeassistant.components.tts
    INFO:homeassistant.loader:Loaded http from homeassistant.components.http
    INFO:homeassistant.loader:Loaded logger from homeassistant.components.logger
    INFO:homeassistant.loader:Loaded discovery from homeassistant.components.discovery
    INFO:homeassistant.loader:Loaded logbook from homeassistant.components.logbook
    INFO:homeassistant.loader:Loaded recorder from homeassistant.components.recorder
    INFO:homeassistant.loader:Loaded frontend from homeassistant.components.frontend
    INFO:homeassistant.loader:Loaded api from homeassistant.components.api
    INFO:homeassistant.loader:Loaded websocket_api from homeassistant.components.websocket_api
    INFO:homeassistant.loader:Loaded conversation from homeassistant.components.conversation
    INFO:homeassistant.loader:Loaded mysensors from homeassistant.components.mysensors
    INFO:homeassistant.loader:Loaded updater from homeassistant.components.updater
    INFO:homeassistant.loader:Loaded sensor from homeassistant.components.sensor
    INFO:homeassistant.loader:Loaded mqtt from homeassistant.components.mqtt
    INFO:homeassistant.loader:Loaded history from homeassistant.components.history
    INFO:homeassistant.loader:Loaded sun from homeassistant.components.sun
    INFO:homeassistant.bootstrap:Setting up recorder
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=recorder>
    INFO:homeassistant.bootstrap:Setting up logger
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=logger>
    INFO:homeassistant.bootstrap:Setting up http
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=http>
    INFO:homeassistant.loader:Loaded tts.google from homeassistant.components.tts.google
    INFO:homeassistant.bootstrap:Setting up tts
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=tts, service=google_say>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=tts, service=clear_cache>
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=tts>
    INFO:homeassistant.bootstrap:Setting up discovery
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=discovery>
    INFO:homeassistant.bootstrap:Setting up api
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=api>
    INFO:homeassistant.bootstrap:Setting up websocket_api
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=websocket_api>
    INFO:homeassistant.bootstrap:Setting up frontend
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=frontend>
    INFO:homeassistant.bootstrap:Setting up logbook
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=logbook, service=log>
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=logbook>
    INFO:homeassistant.bootstrap:Setting up conversation
    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.bootstrap:Setting up mysensors
    INFO:homeassistant.bootstrap:Setting up mqtt
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=mqtt, service=publish>
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=mqtt>
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/4/1/+/+
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/4/2/+/+
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/1/+/4/+/+
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=mysensors>
    INFO:homeassistant.bootstrap:Setting up updater
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=updater>
    INFO:homeassistant.loader:Loaded sensor.yr from homeassistant.components.sensor.yr
    INFO:homeassistant.bootstrap:Setting up sensor
    INFO:homeassistant.components.sensor:Setting up sensor.yr
    INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state sensor.yr_symbol=unknown; attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK., entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png, friendly_name=yr Symbol @ 2016-12-28T00:18:50.127080-05:00>, old_state=None, entity_id=sensor.yr_symbol>
    INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state sensor.yr_symbol=1; attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK., entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=1;content_type=image/png, friendly_name=yr Symbol @ 2016-12-28T00:18:51.077805-05:00>, old_state=<state sensor.yr_symbol=unknown; attribution=Weather forecast from yr.no, delivered by the Norwegian Meteorological Institute and the NRK., entity_picture=//api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png, friendly_name=yr Symbol @ 2016-12-28T00:18:50.127080-05:00>, entity_id=sensor.yr_symbol>
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=sensor>
    INFO:homeassistant.bootstrap:Setting up history
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=history>
    INFO:homeassistant.bootstrap:Setting up sun
    INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state sun.sun=below_horizon; friendly_name=Sun, azimuth=0, next_setting=2016-12-28T22:35:27+00:00, elevation=0, next_rising=2016-12-28T12:41:37+00:00 @ 2016-12-28T00:18:51.192205-05:00>, old_state=None, entity_id=sun.sun>
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=sun>
    INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: platform=mysensors, service=load_platform.sensor, discovered=>
    INFO:homeassistant.loader:Loaded switch from homeassistant.components.switch
    INFO:homeassistant.loader:Loaded sensor.mysensors from homeassistant.components.sensor.mysensors
    INFO:homeassistant.bootstrap:Setting up switch
    INFO:homeassistant.components.sensor:Setting up 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 service_registered[L]: domain=switch, service=toggle>
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=switch>
    INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: platform=mysensors, service=load_platform.switch, discovered=>
    INFO:homeassistant.loader:Loaded light from homeassistant.components.light
    INFO:homeassistant.loader:Loaded switch.mysensors from homeassistant.components.switch.mysensors
    INFO:homeassistant.bootstrap:Setting up light
    INFO:homeassistant.components.switch:Setting up switch.mysensors
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=switch, service=mysensors_send_ir_code>
    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 service_registered[L]: domain=light, service=toggle>
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=light>
    INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: platform=mysensors, service=load_platform.light, discovered=>
    INFO:homeassistant.loader:Loaded binary_sensor from homeassistant.components.binary_sensor
    INFO:homeassistant.loader:Loaded light.mysensors from homeassistant.components.light.mysensors
    INFO:homeassistant.bootstrap:Setting up binary_sensor
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=binary_sensor>
    INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: platform=mysensors, service=load_platform.binary_sensor, discovered=>
    INFO:homeassistant.loader:Loaded climate from homeassistant.components.climate
    INFO:homeassistant.components.light:Setting up light.mysensors
    INFO:homeassistant.loader:Loaded binary_sensor.mysensors from homeassistant.components.binary_sensor.mysensors
    INFO:homeassistant.bootstrap:Setting up climate
    INFO:homeassistant.components.binary_sensor:Setting up binary_sensor.mysensors
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=climate, service=set_away_mode>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=climate, service=set_aux_heat>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=climate, service=set_temperature>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=climate, service=set_humidity>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=climate, service=set_fan_mode>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=climate, service=set_operation_mode>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=climate, service=set_swing_mode>
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=climate>
    INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: platform=mysensors, service=load_platform.climate, discovered=>
    INFO:homeassistant.loader:Loaded cover from homeassistant.components.cover
    INFO:homeassistant.loader:Loaded climate.mysensors from homeassistant.components.climate.mysensors
    INFO:homeassistant.bootstrap:Setting up cover
    INFO:homeassistant.components.climate:Setting up climate.mysensors
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=cover, service=set_cover_position>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=cover, service=close_cover>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=cover, service=open_cover_tilt>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=cover, service=set_cover_tilt_position>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=cover, service=stop_cover_tilt>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=cover, service=close_cover_tilt>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=cover, service=open_cover>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=cover, service=stop_cover>
    INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=cover>
    INFO:homeassistant.core:Bus:Handling <Event platform_discovered[L]: platform=mysensors, service=load_platform.cover, discovered=>
    INFO:homeassistant.loader:Loaded cover.mysensors from homeassistant.components.cover.mysensors
    INFO:homeassistant.components.cover:Setting up cover.mysensors
    INFO:homeassistant.core:Starting Home Assistant core loop
    INFO:homeassistant.core:Starting Home Assistant
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=stop>
    INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=homeassistant, service=restart>
    INFO:homeassistant.core:Bus:Handling <Event homeassistant_start[L]>
    INFO:mysensors.mysensors:Setting up initial MQTT topic subscription
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/+/+/0/+/+
    INFO:homeassistant.core:Timer:starting
    DEBUG:homeassistant.components.mysensors:Update persistence: node 1
    DEBUG:mysensors.mysensors:Subscribing to: mysensors-out/+/+/3/+/+
    INFO:homeassistant.core:Bus:Handling <Event mqtt_message_received[L]: payload=4, qos=0, topic=mysensors-out/1/4/1/0/37>
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;4
    DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
    INFO:netdisco.service:Scanning
    INFO:homeassistant.components.http:Serving /api/websocket to 192.168.1.1 (auth: False)
    INFO:homeassistant.components.http:Serving /api/bootstrap to 192.168.1.1 (auth: True)
    INFO:homeassistant.core:Bus:Handling <Event mqtt_message_received[L]: payload=, qos=0, topic=mysensors-out/1/4/0/0/7>
    DEBUG:mysensors.mysensors:Receiving 1;4;0;0;7;
    WARNING:mysensors.mysensors:child_id 4 already exists in children of node 1, cannot add child
    INFO:homeassistant.core:Bus:Handling <Event mqtt_message_received[L]: payload=, qos=0, topic=mysensors-out/1/4/2/0/2>
    DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
    INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state sun.sun=below_horizon; friendly_name=Sun, azimuth=338.22, next_setting=2016-12-28T22:35:27+00:00, elevation=-78.36, next_rising=2016-12-28T12:41:37+00:00 @ 2016-12-28T00:18:51.192205-05:00>, old_state=<state sun.sun=below_horizon; friendly_name=Sun, azimuth=0, next_setting=2016-12-28T22:35:27+00:00, elevation=0, next_rising=2016-12-28T12:41:37+00:00 @ 2016-12-28T00:18:51.192205-05:00>, entity_id=sun.sun>
    INFO:homeassistant.core:Bus:Handling <Event mqtt_message_received[L]: payload=0, qos=0, topic=mysensors-out/1/4/1/0/37>
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;0
    DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
    INFO:homeassistant.core:Bus:Handling <Event mqtt_message_received[L]: payload=1, qos=0, topic=mysensors-out/1/4/1/0/37>
    DEBUG:mysensors.mysensors:Receiving 1;4;1;0;37;1
    DEBUG:homeassistant.components.mysensors:Update sensor_update: node 1
    INFO:homeassistant.core:Bus:Handling <Event mqtt_message_received[L]: payload=, qos=0, topic=mysensors-out/1/4/2/0/2>
    DEBUG:mysensors.mysensors:Receiving 1;4;2;0;2;
    INFO:homeassistant.core:Bus:Handling <Event mqtt_message_received[L]: payload=0, qos=0, topic=mysensors-out/1/255/3/0/21>
    DEBUG:mysensors.mysensors:Receiving 1;255;3;0;21;0


  • Plugin Developer

    I think I see a problem with your sensor value type that is used. You have presented a humidity sensor (7), but you report with a level type (37). You should use subtype 1 when setting the value of the humidity child sensor. Sorry for not noticing this from the beginning.

    Home assistant is picky about child/value combinations. You can see allowed types in the docs for mysensors at home-assistant.io.

    Specifically here:
    https://home-assistant.io/components/sensor.mysensors/



  • Thank you so much, and I am sorry I am a complete noob at this, where is the level type and subtype set? I searched on this page
    and found very little.
    https://home-assistant.io/components/mysensors/


  • Plugin Developer

    See this:
    https://home-assistant.io/components/sensor.mysensors/

    And also this:
    https://www.mysensors.org/download/serial_api_20

    Usually you decide in the beginning of your sensor sketch what message type you will use when reporting values. Alternatively this can be done dynamically before sending the value. Look at the example sketch for humidity sensor here:
    https://www.mysensors.org/build/humidity



  • @martinhjelmare
    Thank you!
    Ok so in the beginning of the default sketch in here:
    https://www.mysensors.org/build/moisture
    The line :
    MyMessage msg(CHILD_ID, V_LEVEL);
    Is the problem
    It should be:
    MyMessage msg(CHILD_ID, V_HUM);
    You were absolutely right.
    Thank you for being so quick and amazing, and if you can please ask someone to fix the example.


  • Plugin Developer

    No problem, glad to help!

    Actually the moisture sensor should be presented as S_MOISTURE. The message type V_LEVEL is correct for the moisture sensor. 😄



  • @martinhjelmare
    Then this is a problem?
    void presentation()
    {
    sendSketchInfo("Soil Moisture Sensor Reverse Polarity", "1.0");
    present(CHILD_ID, S_HUM);
    }


  • Plugin Developer

    Yes, exactly. Change S_HUM to S_MOISTURE.



  • @martinhjelmare Yep, it is still from the sample 🙂 Thank you so much again.



  • @martinhjelmare Just discovered mysensors, it is pure awesomeness.


Log in to reply
 

Suggested Topics

  • 1
  • 2
  • 3
  • 5
  • 17

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts