Wrong S_DOOR and V_TRIPPED gives a invalid value, in the log file WHY ?
-
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 fine2019-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 1And 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
}
-
@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.
-
@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
-
@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
-
Any news on this one?
Suggested Topics
-
Day 1 - Status report
Announcements ā¢ 23 Mar 2014, 22:45 ā¢ hek 24 Mar 2014, 20:12 -
Getting system time from the controller
Troubleshooting ā¢ 27 Feb 2025, 01:39 ā¢ dpcons 3 Mar 2025, 01:00 -
Forum Search not working?
Troubleshooting ā¢ 4 Oct 2023, 23:33 ā¢ Gibber 2 Sept 2024, 20:28 -
JSN-SR04T-V3.0 Coax cable extended
Troubleshooting ā¢ 14 days ago ā¢ bocalexandru 12 days ago -
Can not compile MySensors on esp8266
Troubleshooting ā¢ 24 Aug 2024, 15:35 ā¢ TheoL 29 Aug 2024, 20:47 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting ā¢ 26 Feb 2025, 00:32 ā¢ dpcons 26 Feb 2025, 06:22