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. Troubleshooting
  3. Wrong S_DOOR and V_TRIPPED gives a invalid value, in the log file WHY ?

Wrong S_DOOR and V_TRIPPED gives a invalid value, in the log file WHY ?

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 3 Posters 866 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.
  • M Offline
    M Offline
    mcrahr
    wrote on last edited by
    #1

    I see something strange in my homeassistant log file. What might be the issue here ?
    Everything does seem to work ok I do get a nice door that open and close fine :)

    2019-01-04 10:21:42 DEBUG (MainThread) [homeassistant.components.mysensors.helpers] Invalid values: {16: '1'}: switch platform: node 10 child 20: S_DOOR requires value_type V_ARMED @ data[15]
    2019-01-04 10:21:42 DEBUG (MainThread) [homeassistant.components.mysensors.helpers] Invalid values: {16: '1'}: switch platform: node 10 child 21: S_DOOR requires value_type V_ARMED @ data[15]

    According to the spec, S_DOOR should have V_ARMED or V_TRIPPED

    I do send the following from the node.
    sensorgateway1-out/10/21/1/0/16 1
    sensorgateway1-out/10/20/1/0/16 1

    And 16 = V_TRIPPED
    and this is how the json file for sensor node 10 looks like
    "10": {
    "sensor_id": 10,
    "children": {
    "20": {
    "id": 20,
    "type": 0,
    "description": "",
    "values": {
    "16": "1"
    }
    },
    "21": {
    "id": 21,
    "type": 0,
    "description": "",
    "values": {
    "16": "1"
    }
    }
    },
    "type": 17,
    "sketch_name": "Door living room",
    "sketch_version": "1.0",
    "battery_level": 0,
    "protocol_version": "2.3.1-alpha",
    "heartbeat": 0
    }

    YveauxY 1 Reply Last reply
    0
    • M mcrahr

      I see something strange in my homeassistant log file. What might be the issue here ?
      Everything does seem to work ok I do get a nice door that open and close fine :)

      2019-01-04 10:21:42 DEBUG (MainThread) [homeassistant.components.mysensors.helpers] Invalid values: {16: '1'}: switch platform: node 10 child 20: S_DOOR requires value_type V_ARMED @ data[15]
      2019-01-04 10:21:42 DEBUG (MainThread) [homeassistant.components.mysensors.helpers] Invalid values: {16: '1'}: switch platform: node 10 child 21: S_DOOR requires value_type V_ARMED @ data[15]

      According to the spec, S_DOOR should have V_ARMED or V_TRIPPED

      I do send the following from the node.
      sensorgateway1-out/10/21/1/0/16 1
      sensorgateway1-out/10/20/1/0/16 1

      And 16 = V_TRIPPED
      and this is how the json file for sensor node 10 looks like
      "10": {
      "sensor_id": 10,
      "children": {
      "20": {
      "id": 20,
      "type": 0,
      "description": "",
      "values": {
      "16": "1"
      }
      },
      "21": {
      "id": 21,
      "type": 0,
      "description": "",
      "values": {
      "16": "1"
      }
      }
      },
      "type": 17,
      "sketch_name": "Door living room",
      "sketch_version": "1.0",
      "battery_level": 0,
      "protocol_version": "2.3.1-alpha",
      "heartbeat": 0
      }

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by
      #2

      @mcrahr said in Wrong S_DOOR and V_TRIPPED gives a invalid value, in the log file WHY ?:

      S_DOOR requires value_type V_ARMED

      Seems like a HomeAssistant issue to me. It only accepts V_ARMED for sensor type S_DOOR, while for MySensors V_TRIPPED is also allowed.

      http://yveaux.blogspot.nl

      M 1 Reply Last reply
      0
      • YveauxY Yveaux

        @mcrahr said in Wrong S_DOOR and V_TRIPPED gives a invalid value, in the log file WHY ?:

        S_DOOR requires value_type V_ARMED

        Seems like a HomeAssistant issue to me. It only accepts V_ARMED for sensor type S_DOOR, while for MySensors V_TRIPPED is also allowed.

        M Offline
        M Offline
        mcrahr
        wrote on last edited by
        #3

        @yveaux
        As you can see the LOG comes from homeassistant.components.mysensors.helpers, not sure who did that, but home assistant work fine, as it does shows everything, looks like it is only the error trace

        YveauxY 1 Reply Last reply
        0
        • M mcrahr

          @yveaux
          As you can see the LOG comes from homeassistant.components.mysensors.helpers, not sure who did that, but home assistant work fine, as it does shows everything, looks like it is only the error trace

          YveauxY Offline
          YveauxY Offline
          Yveaux
          Mod
          wrote on last edited by
          #4

          @mcrahr said in Wrong S_DOOR and V_TRIPPED gives a invalid value, in the log file WHY ?:

          not sure who did that

          Definately HomeAssistant code: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/mysensors/helpers.py#L52 and https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/mysensors/const.py#L50

          http://yveaux.blogspot.nl

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Sweetpants
            wrote on last edited by
            #5

            Any news on this one?

            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