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. Invalid Message, Sensor not being added

Invalid Message, Sensor not being added

Scheduled Pinned Locked Moved Home Assistant
16 Posts 3 Posters 4.0k Views 3 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.
  • David PinnockD Offline
    David PinnockD Offline
    David Pinnock
    wrote on last edited by
    #6

    Given up!

    Written a simple flow in NodeRed that forwards the messages on just fine.

    0_1516383923802_cfbb9bf7-e0d9-4e36-9b18-c38263905244-image.png

    [{"id":"a0e7c229.c1b2","type":"serial in","z":"c20914f0.8b8318","name":"MySensorsInput","serial":"4ba29f87.c500a","x":100,"y":68,"wires":[["c275b371.0a92a"]]},{"id":"2c003b62.b3ca04","type":"debug","z":"c20914f0.8b8318","name":"","active":true,"console":"false","complete":"true","x":976,"y":57,"wires":[]},{"id":"c275b371.0a92a","type":"function","z":"c20914f0.8b8318","name":"Decode Message","func":"var message = msg.payload;\nvar result = message.split(\";\");\nvar arrlength = result.length;\n\nmsg.payload = {};\n\nif(arrlength==6){\nmsg.payload.nodeid = result[0];\nmsg.payload.childid = result[1];\nmsg.payload.command = result[2];\nmsg.payload.ack = result[3];\nmsg.payload.type = result[4];\nmsg.payload.payload = result[5];\n} else {\n    msg.payload = \"Ignore\";\n}\n\n\n//1;1;1;0;39;8.8\n\n//1;;1;0;38;3.6\n\nreturn msg;","outputs":1,"noerr":0,"x":324,"y":68,"wires":[["5e07aa77.6b3884"]]},{"id":"5e07aa77.6b3884","type":"switch","z":"c20914f0.8b8318","name":"Filter Update Messages","property":"payload.command","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"str"}],"checkall":"true","outputs":1,"x":581,"y":68,"wires":[["764204f4.fe8bdc"]]},{"id":"a9be705b.07cec","type":"mqtt out","z":"c20914f0.8b8318","name":"","topic":"","qos":"","retain":"","broker":"9ccc9e2b.1b109","x":1018,"y":157,"wires":[]},{"id":"764204f4.fe8bdc","type":"function","z":"c20914f0.8b8318","name":"Format MQTT Message","func":"var nodeid = msg.payload.nodeid;\nvar type =  msg.payload.type;\nvar value = msg.payload.payload;\n\nmsg.payload = {}\n\nmsg.topic = \"haas/mySensors/\"+ nodeid +\"/\" + type;\nmsg.payload.string = value;\n\nreturn msg;","outputs":1,"noerr":0,"x":785,"y":157,"wires":[["a9be705b.07cec","2c003b62.b3ca04"]]},{"id":"4ba29f87.c500a","type":"serial-port","z":"","serialport":"/dev/ttyUSB0","serialbaud":"115200","databits":"8","parity":"none","stopbits":"1","newline":"\\n","bin":"false","out":"char","addchar":false},{"id":"9ccc9e2b.1b109","type":"mqtt-broker","z":"","broker":"localhost","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"willTopic":"","willQos":"0","willPayload":"","birthTopic":"","birthQos":"0","birthPayload":""}]
    

    This sends updates to a couple of MQTT sensors set up in my config.

    sensor:
      - platform: mqtt
        name: "Charger Current"
        state_topic: "haas/mySensors/1/39"
        value_template: '{{ value_json.string }}'
        unit_of_measurement: 'a'
      - platform: mqtt
        name: "Charger Voltage"
        state_topic: "haas/mySensors/1/38"
        value_template: '{{ value_json.string }}'
        unit_of_measurement: 'V'
    

    Not sure if there's a better value template than string? Couldn't find any detail on what options there were..

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

      Pymysensors and home assistant requires pyserial version 3.1.1 or higher. This should be installed automatically when installing and running home assistant with mysensors activated. If it doesn't do that something with your install and environment is not operating normally.

      How have you installed home assistant?

      1 Reply Last reply
      0
      • David PinnockD Offline
        David PinnockD Offline
        David Pinnock
        wrote on last edited by David Pinnock
        #8

        Installed Home Assistant manually on Raspian following the install guide

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

          What version of pyserial is installed inside the virtual environment?

          sudo su -s /bin/bash homeassistant
          cd /srv/homeassistant
          source bin/activate
          pip3 show pyserial
          
          1 Reply Last reply
          0
          • David PinnockD Offline
            David PinnockD Offline
            David Pinnock
            wrote on last edited by
            #10

            3.4:

            Name: pyserial
            Version: 3.4
            Summary: Python Serial Port Extension
            Home-page: https://github.com/pyserial/pyserial
            Author: Chris Liechti
            Author-email: cliechti@gmx.net
            License: BSD
            Location: /srv/homeassistant/lib/python3.4/site-packages
            
            1 Reply Last reply
            0
            • martinhjelmareM Offline
              martinhjelmareM Offline
              martinhjelmare
              Plugin Developer
              wrote on last edited by
              #11

              That's good at least. Then the home assistant core feature of installing requirements seems to work in your installation.

              I'll have a look at the log messages and see if I can find the problem.

              I'll post back later tonight.

              1 Reply Last reply
              0
              • David PinnockD Offline
                David PinnockD Offline
                David Pinnock
                wrote on last edited by
                #12

                Brilliant thanks very much for the help!

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

                  I've looked at the home assistant log you've provided. Unfortunately I think I would need a serial log from the node to get more info. It's weird that you get an error about unit of measurement, since all values should be validated when leaving pymysensors before entering the home assistant layer.

                  If I would guess, I'd say that some message is not sent/received and presentation not fully performed.

                  I would recommend to change your sketch and keep one sensor value per child sensor, ie not both V_VOLTAGE and V_CURRENT in one child. Home assistant expects one value per child for normal sensors. Only complex entities like cover should report more than one value. It will avoid entity_id clashes.

                  1 Reply Last reply
                  0
                  • David PinnockD Offline
                    David PinnockD Offline
                    David Pinnock
                    wrote on last edited by
                    #14

                    Ok I'll try that. Think I have already tried with just sending one value in the sketch but perhaps I would also need to delete the persistent mysensors.json file for it to have a chance.

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      terxw
                      wrote on last edited by
                      #15

                      I have same problem, on both my GWs using MQTT (ESP2866 nodes ) in homeassistant i get lots of these errors

                      At my parents:

                      2018-11-24 15:23:51 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '0.4'}: sensor platform: node 18 child 7: S_MULTIMETER requires value_type V_IMPEDANCE @ data[14]
                      2018-11-24 15:23:51 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: Lifepo solar node G 18 7: value_type 38, value = 0.4
                      2018-11-24 15:24:00 DEBUG (SyncWorker_18) [mysensors.persistence] Saving sensors to persistence file /config/mysensors.json
                      2018-11-24 15:24:17 INFO (MainThread) [homeassistant.components.http.view] Serving / to 127.0.0.1 (auth: False)
                      2018-11-24 15:24:21 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/28/255/3/0/0: b'50'
                      2018-11-24 15:24:21 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 28;255;3;0;0;50
                      2018-11-24 15:24:21 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 28 child 255
                      2018-11-24 15:24:21 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 28
                      2018-11-24 15:24:21 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/28/1/1/0/38: b'2604.0'
                      2018-11-24 15:24:21 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 28;1;1;0;38;2604.0
                      2018-11-24 15:24:21 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 28 child 1
                      2018-11-24 15:24:21 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '2604.0'}: sensor platform: node 28 child 1: S_MULTIMETER requires value_type V_CURRENT @ data[39]
                      2018-11-24 15:24:21 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '2604.0'}: sensor platform: node 28 child 1: S_MULTIMETER requires value_type V_IMPEDANCE @ data[14]
                      2018-11-24 15:24:21 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: detska_dole 28 1: value_type 38, value = 2604.0
                      2018-11-24 15:24:22 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/28/0/1/0/0: b'20.3'
                      2018-11-24 15:24:22 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 28;0;1;0;0;20.3
                      2018-11-24 15:24:22 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 28 child 0
                      2018-11-24 15:24:22 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: detska_dole 28 0: value_type 0, value = 20.3
                      2018-11-24 15:24:30 DEBUG (SyncWorker_0) [mysensors.persistence] Saving sensors to persistence file /config/mysensors.json
                      2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/21/255/3/0/0: b'80'
                      2018-11-24 15:24:47 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 21;255;3;0;0;80
                      2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 21 child 255
                      2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 21
                      2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/21/1/1/0/38: b'3033.0'
                      2018-11-24 15:24:47 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 21;1;1;0;38;3033.0
                      2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 21 child 1
                      2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node 21 is missing sketch name
                      2018-11-24 15:24:47 INFO (MainThread) [homeassistant.components.http.view] Serving / to 127.0.0.1 (auth: False)
                      2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/21/0/1/0/0: b'22.5'
                      2018-11-24 15:24:47 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 21;0;1;0;0;22.5
                      2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 21 child 0
                      2018-11-24 15:24:47 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node 21 is missing sketch name
                      2018-11-24 15:24:50 DEBUG (SyncWorker_16) [mysensors.persistence] Saving sensors to persistence file /config/mysensors.json
                      2018-11-24 15:24:55 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/18/255/3/0/0: b'255'
                      2018-11-24 15:24:55 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 18;255;3;0;0;255
                      2018-11-24 15:24:55 WARNING (MainThread) [mysensors] Not a valid message: value must be integer between 0 and 100 for dictionary value @ data['payload']
                      2018-11-24 15:24:55 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/18/7/1/0/38: b'0.3'
                      2018-11-24 15:24:55 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 18;7;1;0;38;0.3
                      2018-11-24 15:24:55 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 18 child 7
                      2018-11-24 15:24:55 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '0.3'}: sensor platform: node 18 child 7: S_MULTIMETER requires value_type V_CURRENT @ data[39]
                      2018-11-24 15:24:55 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '0.3'}: sensor platform: node 18 child 7: S_MULTIMETER requires value_type V_IMPEDANCE @ data[14]
                      2018-11-24 15:24:55 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: Lifepo solar node G 18 7: value_type 38, value = 0.3
                      2018-11-24 15:25:00 DEBUG (SyncWorker_12) [mysensors.persistence] Saving sensors to persistence file /config/mysensors.json
                      2018-11-24 15:25:17 INFO (MainThread) [homeassistant.components.http.view] Serving / to 127.0.0.1 (auth: False)
                      2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/28/255/3/0/0: b'50'
                      2018-11-24 15:25:25 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 28;255;3;0;0;50
                      2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 28 child 255
                      2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 28
                      2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/28/1/1/0/38: b'2604.0'
                      2018-11-24 15:25:25 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 28;1;1;0;38;2604.0
                      2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 28 child 1
                      2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '2604.0'}: sensor platform: node 28 child 1: S_MULTIMETER requires value_type V_CURRENT @ data[39]
                      2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '2604.0'}: sensor platform: node 28 child 1: S_MULTIMETER requires value_type V_IMPEDANCE @ data[14]
                      2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: detska_dole 28 1: value_type 38, value = 2604.0
                      2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on golianovo/mygateway1-out/28/0/1/0/0: b'20.3'
                      2018-11-24 15:25:25 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 28;0;1;0;0;20.3
                      2018-11-24 15:25:25 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 28 child 0
                      

                      And at home:

                      2018-11-24 15:26:07 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;255;3;0;0;13
                      2018-11-24 15:26:07 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 14 child 255
                      2018-11-24 15:26:07 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 14
                      2018-11-24 15:26:08 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/4/1/0/0: b'0.0'
                      2018-11-24 15:26:08 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;4;1;0;0;0.0
                      2018-11-24 15:26:08 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 14 child 4
                      2018-11-24 15:26:08 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: balkon_polievanie 14 4: value_type 0, value = 0.0
                      2018-11-24 15:26:08 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/5/1/0/16: b'0.0'
                      2018-11-24 15:26:08 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;5;1;0;16;0.0
                      2018-11-24 15:26:08 WARNING (MainThread) [mysensors] Not a valid message: value must be either 0 or 1 for dictionary value @ data['payload']
                      2018-11-24 15:26:09 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/2/1/0/37: b'0.0'
                      2018-11-24 15:26:09 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;2;1;0;37;0.0
                      2018-11-24 15:26:09 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 14 child 2
                      2018-11-24 15:26:09 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {37: '0.0'}: binary_sensor platform: node 14 child 2: S_MOISTURE requires value_type V_TRIPPED @ data[16]
                      2018-11-24 15:26:09 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {37: '0.0'}: switch platform: node 14 child 2: S_MOISTURE requires value_type V_ARMED @ data[15]
                      2018-11-24 15:26:09 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: balkon_polievanie 14 2: value_type 37, value = 0.0
                      2018-11-24 15:26:09 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/255/3/0/22: b'17283381'
                      2018-11-24 15:26:09 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;255;3;0;22;17283381
                      2018-11-24 15:26:09 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 14 child 255
                      2018-11-24 15:26:09 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 14
                      2018-11-24 15:26:09 DEBUG (SyncWorker_12) [mysensors.persistence] Saving sensors to persistence file /config/mysensors.json
                      2018-11-24 15:26:15 INFO (MainThread) [homeassistant.components.http.view] Serving / to 127.0.0.1 (auth: False)
                      2018-11-24 15:26:25 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/16/255/3/0/0: b'53'
                      2018-11-24 15:26:25 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 16;255;3;0;0;53
                      2018-11-24 15:26:25 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 16 child 255
                      2018-11-24 15:26:25 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 16
                      2018-11-24 15:26:26 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/16/1/1/0/38: b'2654.0'
                      2018-11-24 15:26:26 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 16;1;1;0;38;2654.0
                      2018-11-24 15:26:26 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 16 child 1
                      2018-11-24 15:26:26 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '2654.0'}: sensor platform: node 16 child 1: S_MULTIMETER requires value_type V_CURRENT @ data[39]
                      2018-11-24 15:26:26 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {38: '2654.0'}: sensor platform: node 16 child 1: S_MULTIMETER requires value_type V_IMPEDANCE @ data[14]
                      2018-11-24 15:26:26 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: cerman_kuchyna 16 1: value_type 38, value = 2654.0
                      2018-11-24 15:26:26 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/16/0/1/0/0: b'25.0'
                      2018-11-24 15:26:26 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 16;0;1;0;0;25.0
                      2018-11-24 15:26:26 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 16 child 0
                      2018-11-24 15:26:26 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: cerman_kuchyna 16 0: value_type 0, value = 25.0
                      2018-11-24 15:26:29 DEBUG (SyncWorker_10) [mysensors.persistence] Saving sensors to persistence file /config/mysensors.json
                      2018-11-24 15:26:44 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/255/3/0/0: b'13'
                      2018-11-24 15:26:44 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;255;3;0;0;13
                      2018-11-24 15:26:44 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 14 child 255
                      2018-11-24 15:26:44 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 14
                      2018-11-24 15:26:44 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/4/1/0/0: b'0.0'
                      2018-11-24 15:26:44 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;4;1;0;0;0.0
                      2018-11-24 15:26:44 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 14 child 4
                      2018-11-24 15:26:44 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: balkon_polievanie 14 4: value_type 0, value = 0.0
                      2018-11-24 15:26:44 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/5/1/0/16: b'0.0'
                      2018-11-24 15:26:44 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;5;1;0;16;0.0
                      2018-11-24 15:26:44 WARNING (MainThread) [mysensors] Not a valid message: value must be either 0 or 1 for dictionary value @ data['payload']
                      2018-11-24 15:26:45 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/2/1/0/37: b'0.0'
                      2018-11-24 15:26:45 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;2;1;0;37;0.0
                      2018-11-24 15:26:45 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 14 child 2
                      2018-11-24 15:26:45 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {37: '0.0'}: binary_sensor platform: node 14 child 2: S_MOISTURE requires value_type V_TRIPPED @ data[16]
                      2018-11-24 15:26:45 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Invalid values: {37: '0.0'}: switch platform: node 14 child 2: S_MOISTURE requires value_type V_ARMED @ data[15]
                      2018-11-24 15:26:45 DEBUG (MainThread) [homeassistant.components.mysensors.device] Entity update: balkon_polievanie 14 2: value_type 37, value = 0.0
                      2018-11-24 15:26:45 INFO (MainThread) [homeassistant.components.http.view] Serving / to 127.0.0.1 (auth: False)
                      2018-11-24 15:26:45 DEBUG (MainThread) [homeassistant.components.mqtt] Received message on cerman/mygateway1-out/14/255/3/0/22: b'17287055'
                      2018-11-24 15:26:45 DEBUG (MainThread) [mysensors.gateway_mqtt] Receiving 14;255;3;0;22;17287055
                      2018-11-24 15:26:45 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Node update: node 14 child 255
                      2018-11-24 15:26:45 DEBUG (MainThread) [homeassistant.components.mysensors.gateway] Not a child update for node 14
                      

                      My config (same on both hass dockers only prefixes are different):

                      mysensors:
                        gateways:
                          - device: mqtt
                            topic_in_prefix: 'cerman/mygateway1-out'
                            topic_out_prefix: 'cerman/mygateway1-in'
                            persistence_file: '/config/mysensors.json'
                            nodes:
                              1:
                                name: 'obyvacka'
                      #        3:
                      #          name: 'living_room'
                        optimistic: false
                        persistence: true
                        retain: true
                        version: '2.0'
                      
                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        terxw
                        wrote on last edited by
                        #16

                        Ok so after further reading I found info on the issue, it seems that these are debug messages, we can safaly ignore them.

                        homeassistant forum

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


                        22

                        Online

                        11.7k

                        Users

                        11.2k

                        Topics

                        113.0k

                        Posts


                        Copyright 2019 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