I have the KaKu Door sensor (AMST-606). When i use pilight-receive it says:
And:
So, when disconnecting it just sends ON. When connecting, it sends both DOWN as OFF.
Tested it with these protocols with following settings:
But, with this setting it only works on the off command. This because the ON command is the only one recognised as a switch.
So, i can post info, whatever you need. Hope you can build a slightly different protocol or something for this contact... Thanks!
Code:
{
"code": {
"id": 10721910,
"unit": 9,
"dimlevel": 13,
"state": "on"
},
"origin": "receiver",
"protocol": "archtech_dimmers",
"repeats": 26
}
Code:
{
"code": {
"id": 10721910,
"unit": 9,
"state": "off"
},
"origin": "receiver",
"protocol": "archtech_switches",
"repeats": 29
}
{
"code": {
"id": 10721910,
"unit": 9,
"state": "down"
},
"origin": "receiver",
"protocol": "archtech_screens",
"repeats": 30
}
Tested it with these protocols with following settings:
Code:
"DoorSensor": {
"name": "Deursensor",
"protocol": [ "kaku_switch" ],
"id": [{
"id": 10721910,
"unit": 9
}],
"state": "on"
},
So, i can post info, whatever you need. Hope you can build a slightly different protocol or something for this contact... Thanks!