Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Home Assistant
  4. MQTT raspberry pi gateway with HA, can't seem to find sensors.

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

Scheduled Pinned Locked Moved Home Assistant
22 Posts 2 Posters 5.8k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • kostaaK Offline
    kostaaK Offline
    kostaa
    wrote on last edited by
    #3

    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

    1 Reply Last reply
    0
    • martinhjelmareM martinhjelmare

      Hi!

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

      kostaaK Offline
      kostaaK Offline
      kostaa
      wrote on last edited by
      #4

      @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

      1 Reply Last reply
      0
      • martinhjelmareM Offline
        martinhjelmareM Offline
        martinhjelmare
        Plugin Developer
        wrote on last edited by
        #5

        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
        ... 
        
        1 Reply Last reply
        0
        • kostaaK Offline
          kostaaK Offline
          kostaa
          wrote on last edited by
          #6

          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

          1 Reply Last reply
          0
          • martinhjelmareM Offline
            martinhjelmareM Offline
            martinhjelmare
            Plugin Developer
            wrote on last edited by
            #7

            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
            ...
            
            kostaaK 1 Reply Last reply
            0
            • kostaaK Offline
              kostaaK Offline
              kostaa
              wrote on last edited by
              #8
              This post is deleted!
              1 Reply Last reply
              0
              • martinhjelmareM martinhjelmare

                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
                ...
                
                kostaaK Offline
                kostaaK Offline
                kostaa
                wrote on last edited by kostaa
                #9
                This post is deleted!
                1 Reply Last reply
                0
                • martinhjelmareM Offline
                  martinhjelmareM Offline
                  martinhjelmare
                  Plugin Developer
                  wrote on last edited by
                  #10

                  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.

                  1 Reply Last reply
                  0
                  • kostaaK Offline
                    kostaaK Offline
                    kostaa
                    wrote on last edited by
                    #11

                    @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;

                    1 Reply Last reply
                    0
                    • martinhjelmareM Offline
                      martinhjelmareM Offline
                      martinhjelmare
                      Plugin Developer
                      wrote on last edited by
                      #12

                      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.

                      kostaaK 1 Reply Last reply
                      0
                      • martinhjelmareM martinhjelmare

                        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.

                        kostaaK Offline
                        kostaaK Offline
                        kostaa
                        wrote on last edited by
                        #13

                        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

                        1 Reply Last reply
                        0
                        • martinhjelmareM Offline
                          martinhjelmareM Offline
                          martinhjelmare
                          Plugin Developer
                          wrote on last edited by martinhjelmare
                          #14

                          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/

                          1 Reply Last reply
                          1
                          • kostaaK Offline
                            kostaaK Offline
                            kostaa
                            wrote on last edited by
                            #15

                            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/

                            1 Reply Last reply
                            0
                            • martinhjelmareM Offline
                              martinhjelmareM Offline
                              martinhjelmare
                              Plugin Developer
                              wrote on last edited by
                              #16

                              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

                              kostaaK 1 Reply Last reply
                              1
                              • martinhjelmareM martinhjelmare

                                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

                                kostaaK Offline
                                kostaaK Offline
                                kostaa
                                wrote on last edited by
                                #17

                                @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.

                                1 Reply Last reply
                                0
                                • martinhjelmareM Offline
                                  martinhjelmareM Offline
                                  martinhjelmare
                                  Plugin Developer
                                  wrote on last edited by
                                  #18

                                  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. :smile:

                                  kostaaK 1 Reply Last reply
                                  0
                                  • martinhjelmareM martinhjelmare

                                    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. :smile:

                                    kostaaK Offline
                                    kostaaK Offline
                                    kostaa
                                    wrote on last edited by
                                    #19

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

                                    1 Reply Last reply
                                    1
                                    • martinhjelmareM Offline
                                      martinhjelmareM Offline
                                      martinhjelmare
                                      Plugin Developer
                                      wrote on last edited by
                                      #20

                                      Yes, exactly. Change S_HUM to S_MOISTURE.

                                      kostaaK 2 Replies Last reply
                                      0
                                      • martinhjelmareM martinhjelmare

                                        Yes, exactly. Change S_HUM to S_MOISTURE.

                                        kostaaK Offline
                                        kostaaK Offline
                                        kostaa
                                        wrote on last edited by
                                        #21

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

                                        1 Reply Last reply
                                        1
                                        • martinhjelmareM martinhjelmare

                                          Yes, exactly. Change S_HUM to S_MOISTURE.

                                          kostaaK Offline
                                          kostaaK Offline
                                          kostaa
                                          wrote on last edited by
                                          #22

                                          @martinhjelmare Just discovered mysensors, it is pure awesomeness.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          11

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular