06-08-2016, 09:38 PM
I am having troubles adding my doorbell as a device in pilight.
Listening to the device through pilight-receive gives me three different kind of messages repeated a number of times:
Trying to configure a device for this I've tried with
and so on with kaku_screen_old, kaku_switch, kaku_switch_old..
They all complain that the id field is invalid, which is probably true as the protocols seems to think it should be shorter.
Furthermore, my message lacks a unit which seems to be required by all of these protocols.
Anyone know how to get around this?
Listening to the device through pilight-receive gives me three different kind of messages repeated a number of times:
Code:
{
"message": {
"id": 19707905,
"all": 1,
"state": "up"
},
"origin": "receiver",
"protocol": "arctech_screen",
"uuid": "0000-b8-27-eb-b2f641",
"repeats": 1
}
{
"message": {
"id": 19707905,
"all": 1,
"state": "on"
},
"origin": "receiver",
"protocol": "arctech_switch",
"uuid": "0000-b8-27-eb-b2f641",
"repeats": 1
}
{
"message": {
"id": 19707905,
"all": 1,
"state": "opened"
},
"origin": "receiver",
"protocol": "arctech_contact",
"uuid": "0000-b8-27-eb-b2f641",
"repeats": 1
}
Trying to configure a device for this I've tried with
Code:
"devices": {
"living": {
"protocol": [ "kaku_screen" ],
"id": [{
"id": 19707905,
"all":1
}],
"state": "down"
}
},
and so on with kaku_screen_old, kaku_switch, kaku_switch_old..
They all complain that the id field is invalid, which is probably true as the protocols seems to think it should be shorter.
Furthermore, my message lacks a unit which seems to be required by all of these protocols.
Anyone know how to get around this?