Hello,
I have always used pilight. Now I want to use Pimatic-homeduino.
I have installed a new image installation has worked well.
In Pilight he shows everything right.
It does not work if I change the switch.
I have installed to tested pilight. With “pilight-receive” I checked what Pimatic does.
Result:
pi@raspberrypi:~ $ pilight-receive
{
"message": {
"systemcode": 12,
"unitcode": 24,
"state": "opened"
},
"origin": "receiver",
"protocol": "elro_800_contact",
"uuid": "0000-b8-27-eb-bc4f7b",
"repeats": 1
}
{
"message": {
"systemcode": 12,
"unitcode": 24,
"state": "on"
},
"origin": "receiver",
"protocol": "elro_800_switch",
"uuid": "0000-b8-27-eb-bc4f7b",
"repeats": 1
}
{
"message": {
"id": 21,
"systemcode": 1360,
"unit": 5,
"state": "on"
},
"origin": "receiver",
"protocol": "daycom",
"uuid": "0000-b8-27-eb-bc4f7b",
"repeats": 1
}
{
"message": {
"unitcode": 1026810,
"state": "opened"
},
"origin": "receiver",
"protocol": "ev1527",
"uuid": "0000-b8-27-eb-bc4f7b",
"repeats": 1
}
{
"message": {
"systemcode": 8,
"unitcode": 24,
"state": "opened"
},
"origin": "receiver",
"protocol": "elro_800_contact",
"uuid": "0000-b8-27-eb-bc4f7b",
"repeats": 2
}
{
"message": {
"systemcode": 8,
"unitcode": 24,
"state": "on"
},
"origin": "receiver",
"protocol": "elro_800_switch",
"uuid": "0000-b8-27-eb-bc4f7b",
"repeats": 2
}
{
"message": {
"id": 21,
"systemcode": 1368,
"unit": 5,
"state": "on"
},
"origin": "receiver",
"protocol": "daycom",
"uuid": "0000-b8-27-eb-bc4f7b",
"repeats": 2
}
{
"message": {
"unitcode": 1026794,
"state": "opened"
},
"origin": "receiver",
"protocol": "ev1527",
"uuid": "0000-b8-27-eb-bc4f7b",
"repeats": 2
}
{
"message": {
"systemcode": 8,
"unitcode": 24,
"state": "opened"
},
"origin": "receiver",
"protocol": "elro_800_contact",
"uuid": "0000-b8-27-eb-bc4f7b",
"repeats": 3
}
{
"message": {
"systemcode": 8,
"unitcode": 24,
"state": "on"
},
"origin": "receiver",
"protocol": "elro_800_switch",
"uuid": "0000-b8-27-eb-bc4f7b",
"repeats": 3
}
{
"message": {
"id": 21,
"systemcode": 1360,
"unit": 5,
"state": "on"
},
"origin": "receiver",
"protocol": "daycom",
"uuid": "0000-b8-27-eb-bc4f7b",
"repeats": 3
}
{
"message": {
"unitcode": 1026794,
"state": "opened"
},
"origin": "receiver",
"protocol": "ev1527",
"uuid": "0000-b8-27-eb-bc4f7b",
"repeats": 3
}
{
"message": {
"gpio": 7,
"temperature": 18.9,
"humidity": 58.5
},
"origin": "receiver",
"protocol": "dht22",
"uuid": "0000-b8-27-eb-bc4f7b"
}
Pimatic-homeduino sends wrong code. Why?
My pilight Config:
"devices": {
"Licht": {
"protocol": [ "kaku_switch_old" ],
"id": [{
"id": 3,
"unit": 2
}],
"state": "off"
},
…
My pimatic Config:
{
"protocols": [
{
"name": "switch4",
"options": {
"unit": 2,
"id": 3
}
}
],
"id": "test1",
"name": "schalter1",
"class": "HomeduinoRFSwitch"
},
{
"id": "test2",
"name": "schalter2",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch4",
"options": {
"id": 3,
"unit": 2
}
}
]
Regards Valentin