Ich habe leider keine weitere Hardware zum Testen. Hatte mir diese Funksteckdosen extra für das Projekt zugelegt.
pilight-receive ist soweit klar. Aber ich denke, ich kann per Terminal auch alles steuern, ohne die config.json anzupassen...? Bei mir kommen per pilight-receive so viele Werte, da weiß ich gar nicht, was ich eintragen sollte. Das hier entspricht einem Tastendruck... Obwohl es laut Verpackung eine mumbi Steckdose ist, steht hinten etwas von elro drauf. Nun habe ich null Ahnung, wie ich aus all diesen Werten eine config Datei schustern soll, wenn ich per Terminal nicht einmal testen kann, welche system- und unitcodes in Frage kommen. Oder sehe ich hier etwas grundlegend falsch?
Code
{
"message": {
"id": 2770946,
"unit": 0,
"state": "on"
},
"origin": "receiver",
"protocol": "arctech_switch",
"uuid": "0000-b8-27-eb-f1f090",
"repeats": 1
}
{
"message": {
"id": 2770946,
"unit": 0,
"state": "opened"
},
"origin": "receiver",
"protocol": "arctech_contact",
"uuid": "0000-b8-27-eb-f1f090",
"repeats": 1
}
{
"message": {
"id": 2770946,
"unit": 0,
"state": "up"
},
"origin": "receiver",
"protocol": "arctech_screen",
"uuid": "0000-b8-27-eb-f1f090",
"repeats": 1
}
{
"message": {
"id": 2770946,
"unit": 0,
"state": "on"
},
"origin": "receiver",
"protocol": "arctech_switch",
"uuid": "0000-b8-27-eb-f1f090",
"repeats": 2
}
{
"message": {
"systemcode": 24,
"unitcode": 11,
"state": "on"
},
"origin": "receiver",
"protocol": "elro_800_switch",
"uuid": "0000-b8-27-eb-f1f090",
"repeats": 1
}
{
"message": {
"id": 4,
"state": "off"
},
"origin": "receiver",
"protocol": "ehome",
"uuid": "0000-b8-27-eb-f1f090",
"repeats": 1
}
{
"message": {
"systemcode": 24,
"unitcode": 11,
"state": "opened"
},
"origin": "receiver",
"protocol": "elro_800_contact",
"uuid": "0000-b8-27-eb-f1f090",
"repeats": 1
}
{
"message": {
"systemcode": 24,
"unitcode": 11,
"state": "on"
},
"origin": "receiver",
"protocol": "elro_800_switch",
"uuid": "0000-b8-27-eb-f1f090",
"repeats": 2
}
{
"message": {
"id": 4,
"state": "off"
},
"origin": "receiver",
"protocol": "ehome",
"uuid": "0000-b8-27-eb-f1f090",
"repeats": 2
}
{
"message": {
"systemcode": 24,
"unitcode": 11,
"state": "opened"
},
"origin": "receiver",
"protocol": "elro_800_contact",
"uuid": "0000-b8-27-eb-f1f090",
"repeats": 2
}
{
"message": {
"systemcode": 24,
"unitcode": 11,
"state": "on"
},
"origin": "receiver",
"protocol": "elro_800_switch",
"uuid": "0000-b8-27-eb-f1f090",
"repeats": 3
}
{
"message": {
"id": 4,
"state": "off"
},
"origin": "receiver",
"protocol": "ehome",
"uuid": "0000-b8-27-eb-f1f090",
"repeats": 3
}
{
"message": {
"systemcode": 24,
"unitcode": 11,
"state": "opened"
},
"origin": "receiver",
"protocol": "elro_800_contact",
"uuid": "0000-b8-27-eb-f1f090",
"repeats": 3
}
{
"message": {
"systemcode": 24,
"unitcode": 11,
"state": "on"
},
"origin": "receiver",
"protocol": "elro_800_switch",
"uuid": "0000-b8-27-eb-f1f090",
"repeats": 4
}
{
"message": {
"id": 4,
"state": "off"
},
"origin": "receiver",
"protocol": "ehome",
"uuid": "0000-b8-27-eb-f1f090",
"repeats": 4
}
{
"message": {
"systemcode": 24,
"unitcode": 11,
"state": "opened"
},
"origin": "receiver",
"protocol": "elro_800_contact",
"uuid": "0000-b8-27-eb-f1f090",
"repeats": 4
}
Alles anzeigen