Closed Icesory closed 10 years ago
switch2
is the same like switch4
but with inverted state. So you should be able to use switch2
:)
Hmm it is not exact the same. With switch2 i can only switch off and not on. It is realy strange
What hardware do you have?
Arduino Nano with Homeduino and the cheap 433mhz kit (~2$)
And this switch http://www.intertechno.at/produkte/empfaenger/schalter/ITE-1000.html
i dont know what is wrong but i have tested it again and switch4 works fine but inverse. switch2 can only switch off the lamp
{
"id": "lampeschalafzimmer",
"name": "Deckenlicht",
"class": "HomeduinoRFSwitch",
"protocol": "switch4",
"protocolOptions": {
"id": 14,
"unit": 31
}
},
{
"id": "lampeschalafzimmer2",
"name": "Deckenlicht2",
"class": "HomeduinoRFSwitch",
"protocol": "switch2",
"protocolOptions": {
"houseCode": 31,
"unitCode": 14
}
},
i have copied the buckets from switch4 to switch2 but it is the same. Is it possible, that the fixed in switch4 is the key.
You are right. Sorry I wasn't sure if switch 4 is really wrong, because I didn't know if you use it with the intertechno units. It was also strange that the pilight wiki seems to be inconsistent: http://wiki.pilight.org/doku.php/arctech_switch_old
Unit: 0 till 5 (inversed) ID: 6 till 10 (inversed) Fixed: 11 (always 0) State: 12 (inversed)
But:
Example: Unit: 0 ID: 4 Fixed: always 0 State: On 00000 00100 0 1
I fixed it. Still needs to be updated in homeduino...
It's not the first time I see a inconsistent documentation on pilight.org
But is there not a other people who use the switch4 protocol?
Lets hope that it is inversed for all these people. :)
I have a Düwi Terminal to control some Lights. In pimatic this is the switch4 protocol. But for me the protocol is inverted. On is off and off is on. Can some one confirm this?