Hi,
I’ve set up a remote switching set for homeduino with switch1.
It works, I can switch all 3 switches from the frontend.
But when I use the remote for the switches, the state doesn’t change in the frontend when I switch it to “On”, the frontend stays at “Off”.
On the other side, if I switch it to “On” via the frontend and then switch it to “Off” via the remote, then the state in the frontend also changes to “Off”.
Here’s the configuration of the device in the config.json:
{
"id": "fsd08",
"name": "Beleuchtung Wohnzimmerschrank",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch1",
"options": {
"id": 59748338,
"all": false,
"state": false,
"unit": 15
},
"send": true,
"receive": true
}
]
},
and this is what I got from the messages in debug level when switching with the remote:
Switching “On”
debug [pimatic-homeduino]: contact1: { id: 59748338, all: false, contact: false, unit: 15 }
debug [pimatic-homeduino]: pir5: { id: 59748338, all: false, presence: true, unit: 15 }
debug [pimatic-homeduino]: switch1: { id: 59748338, all: false, state: true, unit: 15 }
debug [pimatic-homeduino]: received: [ 263, 1258, 2660, 10536 ] 020100010001000001000100010100010001000100010000010100000101000100010001000100010001000100000100010100000100010100010001000100010003
debug [pimatic-homeduino]: data: "RF receive 263 2660 1258 10536 0 0 0 0 010200020002000002000200020200020002000200020000020200000202000200020002000200020002000200000200020200000200020200020002000200020003"
Switching “Off”
debug [pimatic-homeduino]: contact1: { id: 59748338, all: false, contact: true, unit: 15 }
debug [pimatic-homeduino]: pir5: { id: 59748338, all: false, presence: false, unit: 15 }
debug [pimatic-homeduino]: switch1: { id: 59748338, all: false, state: false, unit: 15 }
debug [pimatic-homeduino]: received: [ 264, 1261, 2672, 10556 ] 020100010001000001000100010100010001000100010000010100000101000100010001000100010001000100000100010100000100010001010001000100010003
debug [pimatic-homeduino]: data: "RF receive 264 2672 1261 10556 0 0 0 0 010200020002000002000200020200020002000200020000020200000202000200020002000200020002000200000200020200000200020002020002000200020003"
I can reproduce that every time, but I cannot see why this happens, everything looks good for me.
Where is my error?
Thx,
Martin