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. Presentation failing

Presentation failing

Scheduled Pinned Locked Moved Home Assistant
8 Posts 2 Posters 2.4k 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.
  • elliotnunnE Offline
    elliotnunnE Offline
    elliotnunn
    wrote on last edited by
    #1

    I'm trying to use Home Assistant as a controller for three nodes (two S_COVER, one S_HVAC) via a serial gateway (protocol v2.0). My nodes present to MYSController just fine, but not to HA. Here are the messages from HA when a node is reset. They appear the same on my Windows laptop as on my Fedora machine.

    Can anyone help me? I'm really excited to automate these devices!

    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    ERROR:mysensors.mysensors:Node 3 is unknown, will not add child 10.
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    ERROR:mysensors.mysensors:Node 3 is unknown, will not add child 10.
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    ERROR:mysensors.mysensors:Node 3 is unknown, will not add child 10.
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    ERROR:mysensors.mysensors:Node 3 is unknown, will not add child 10.
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    ERROR:mysensors.mysensors:Node 3 is unknown, will not add child 10.
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    ERROR:mysensors.mysensors:Node 3 is unknown, will not add child 10.
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    ERROR:mysensors.mysensors:Node 3 is unknown, will not add child 10.
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    ERROR:mysensors.mysensors:Node 3 is unknown, will not add child 10.
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    ERROR:mysensors.mysensors:Node 3 is unknown, will not add child 10.
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    ERROR:mysensors.mysensors:Node 3 is unknown, will not add child 10.
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    ERROR:mysensors.mysensors:Node 3 is unknown, will not add child 10.
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    ERROR:mysensors.mysensors:Node 3 is unknown, will not add child 10.
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    ERROR:mysensors.mysensors:Node 3 is unknown, will not add child 10.
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Node 3 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    ERROR:mysensors.mysensors:Node 3 is unknown, will not add child 10.
    INFO:homeassistant.components.mysensors:No sketch_name: node 3
    INFO:homeassistant.components.mysensors:No sketch_name: node 3
    INFO:homeassistant.components.mysensors:No sketch_name: node 3
    INFO:homeassistant.components.mysensors:No sketch_name: node 3
    INFO:homeassistant.components.mysensors:No sketch_name: node 3
    INFO:homeassistant.components.mysensors:No sketch_name: node 3
    WARNING:mysensors.mysensors:Child 255 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    WARNING:mysensors.mysensors:Child 10 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    ERROR:netdisco.ssdp:Error fetching description at http://192.168.0.1:8200/rootDesc.xml
    WARNING:mysensors.mysensors:Child 10 is unknown
    INFO:mysensors.mysensors:Requesting new presentation for node 3
    
    1 Reply Last reply
    0
    • martinhjelmareM Offline
      martinhjelmareM Offline
      martinhjelmare
      Plugin Developer
      wrote on last edited by
      #2

      Looks like the node presentation message is not sent/received. Are the sensors local on the gateway?

      1 Reply Last reply
      0
      • elliotnunnE Offline
        elliotnunnE Offline
        elliotnunn
        wrote on last edited by
        #3

        No, the sensors communicate via RF24.

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

          Then I think there's a comm issue. Post a serial debug log from a node, and we'll know.

          1 Reply Last reply
          0
          • elliotnunnE Offline
            elliotnunnE Offline
            elliotnunn
            wrote on last edited by elliotnunn
            #5

            I plugged in the gateway and reset one of the (S_COVER) nodes:

            0;255;3;0;14;Gateway startup complete.
            0;255;0;0;18;2.0.0
            3;10;2;0;3;
            3;255;3;0;6;0
            3;255;3;0;11;MyServoBlinds
            3;255;3;0;12;2
            3;10;0;0;5;North
            
            1 Reply Last reply
            0
            • martinhjelmareM Offline
              martinhjelmareM Offline
              martinhjelmare
              Plugin Developer
              wrote on last edited by
              #6

              Yeah, you're missing a node presentation message from node 3. If you can hook up the node via serial/USB and get a debug log, you can confirm if the node tries to send the message and fails, or if something else is going on. Comm issues are usually radio/power/distance related. You can follow the debug schema in the sticky thread in the troubleshooting section.

              elliotnunnE 1 Reply Last reply
              0
              • martinhjelmareM martinhjelmare

                Yeah, you're missing a node presentation message from node 3. If you can hook up the node via serial/USB and get a debug log, you can confirm if the node tries to send the message and fails, or if something else is going on. Comm issues are usually radio/power/distance related. You can follow the debug schema in the sticky thread in the troubleshooting section.

                elliotnunnE Offline
                elliotnunnE Offline
                elliotnunn
                wrote on last edited by
                #7

                @martinhjelmare Isn't that fourth message a presentation message?

                I think that I actually had two problems:

                First, I was erroneously requesting information from the controller in my setup() function, before presentation(). I mixed old and new sample code without knowing what I was doing. This is now fixed.

                Second, my nodes were not reporting any initial state, so HA was not showing them in the GUI. This sounds like reasonable behaviour, so why do no actuator node sketches report EEPROM-saved state on presentation? I have just hacked a sketch to do this, and the node shows in HA correctly. But messages fail to send from inside presentation(), so I have to watch for a flag in my loop(). Why is this?

                void loop()
                {
                  if(needreport)
                  {
                    needreport = false;
                    report();
                  }
                }
                
                1 Reply Last reply
                0
                • martinhjelmareM Offline
                  martinhjelmareM Offline
                  martinhjelmare
                  Plugin Developer
                  wrote on last edited by
                  #8

                  There are two presentation messages in the output. One is from the gateway presenting itself as node 0. One is from node 3 presenting child 10 as sensor type 5. There is no presentation of node 3 itself.

                  Until a node is registered at the gateway it can't send any set/req messages. Registration happens after presentation is finished. In mysensors 2.0 registration is done after setup is called. In mysensors development branch setup is done after registration.

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


                  18

                  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