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 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 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
} -
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 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.
-
@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?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login