Home Assistant MySensors plugin bug?



  • Hi All!

    I have a problem with MySensors integration in HA.
    I've written a sketch with Serial transport with Arduino Mega board, connected to Home Assistant Raspberry Pi.
    Now i've got following errors in log

    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;255;3;0;14;Gateway startup complete.
    2021-09-28 16:15:19 INFO (MainThread) [mysensors.handler] n:0 c:255 t:3 s:14 p:Gateway startup complete.
    2021-09-28 16:15:19 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 0 child 255
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Sending 255;255;3;0;20;
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;0;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;0;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;1;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;1;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;2;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;2;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;3;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;3;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;4;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;4;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;5;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;5;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;6;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;6;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;7;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;7;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;8;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;8;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;9;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;9;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;10;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;10;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;11;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;11;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;12;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;12;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;13;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;13;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;14;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;14;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;15;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;15;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;16;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;16;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;17;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;17;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;18;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;18;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;19;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;19;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;20;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;20;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;21;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;21;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;22;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;22;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;23;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;23;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;24;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;24;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;25;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;25;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;26;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;26;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;27;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;27;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;28;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;28;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;29;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;29;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;30;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;30;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    2021-09-28 16:15:19 DEBUG (MainThread) [mysensors.transport] Receiving 0;31;1;0;2;
    2021-09-28 16:15:19 WARNING (MainThread) [mysensors] Invalid <Message data="0;31;1;0;2;">: value must be either 0 or 1 for object value @ data['payload']. Got ''
    

    Actually 0;31;1;0;2 is real answer from my atMega board, so what is going on here?
    Tried several version of library (development, 2.4, also downgraded to 2.0), but nothing helps 😞

    Home assistant version is current - freshly installed.

    Please help



  • Can you post your sketch, and the debug log from your node?


Log in to reply
 

Suggested Topics

  • 1
  • 5
  • 5
  • 8
  • 2
  • 1

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts