-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hi,
thanks for that nice integration.
First of all, the code is working fine to control 5 different elro sockets from Homebrige UI and Homekit.
But there is an issue when receiving a signal from the elro remote control: No matter which "on" or "off" button is pressed (unitcode), homebridge always set on ALL switches to on, or all to off. The log clearly reports the correct systemcode and unitcode, which correspond to the configured switches.
I am using ESPILight.
this is my switches config:
"name": "Arduino RC Switch Platform",
"use_espilight": true,
"host": "arduino-433",
"input_output_timeout": 200,
"switches": [
{
"name": "A Licht",
"type": "elro_800_switch",
"message": {
"systemcode": 24,
"unitcode": 1
}
},
{
"name": "B Licht",
"type": "elro_800_switch",
"message": {
"systemcode": 24,
"unitcode": 2
}
},
{
"name": "C Licht",
"type": "elro_800_switch",
"message": {
"systemcode": 24,
"unitcode": 4
}
},
{
"name": "D Licht",
"type": "elro_800_switch",
"message": {
"systemcode": 24,
"unitcode": 8
}
},
{
"name": "Test A",
"type": "elro_800_switch",
"message": {
"systemcode": 26,
"unitcode": 1
}
},
{
"name": "Virtual B",
"type": "elro_800_switch",
"message": {
"systemcode": 26,
"unitcode": 2
}
},
{
"name": "Virtual C",
"type": "elro_800_switch",
"message": {
"systemcode": 26,
"unitcode": 4
}
}
],
"platform": "ArduinoRCSwitch"
and an example from the log:
[06/01/2023, 22:31:38] [Arduino RC Switch Platform] {"type":"elro_800_contact","message":{"systemcode":24,"unitcode":8,"state":"opened"}}
[06/01/2023, 22:31:38] [Arduino RC Switch Platform] {"type":"ehome","message":{"id":4,"state":"off"}}
[06/01/2023, 22:31:38] [Arduino RC Switch Platform] {"type":"daycom","message":{"id":21,"systemcode":337,"unit":1,"state":"on"}}
[06/01/2023, 22:31:38] [Arduino RC Switch Platform] {"type":"logilink_switch","message":{"systemcode":344401,"unitcode":1,"state":"on"}}
[06/01/2023, 22:31:38] [Arduino RC Switch Platform] {"type":"kerui_D026","message":{"unitcode":567338,"state":"closed"}}
[06/01/2023, 22:31:38] [Arduino RC Switch Platform] {"type":"eurodomest_switch","message":{"id":481237,"all":1,"state":"off"}}
[06/01/2023, 22:31:38] [Arduino RC Switch Platform] Received on code for A Licht
[06/01/2023, 22:31:38] [Arduino RC Switch Platform] Received on code for B Licht
[06/01/2023, 22:31:38] [Arduino RC Switch Platform] Received on code for C Licht
[06/01/2023, 22:31:38] [Arduino RC Switch Platform] Received on code for D Licht
[06/01/2023, 22:31:38] [Arduino RC Switch Platform] Received on code for Test A
[06/01/2023, 22:31:38] [Arduino RC Switch Platform] Received on code for Virtual B
[06/01/2023, 22:31:38] [Arduino RC Switch Platform] Received on code for Virtual C
What is wrong here?
thanks, Hendrik
smj135
Metadata
Metadata
Assignees
Labels
No labels