Hey guys,
i need some help and maybe someone could help me again.
Ive got a ELRO HE843 and want to use it to turn stuff on and off.
But i dont know how to integrate it to the config.js.
Could anyone help me out ?
Elro HE843 Control Unit - how to config
Hey guys,
i need some help and maybe someone could help me again.
Ive got a ELRO HE843 and want to use it to turn stuff on and off.
But i dont know how to integrate it to the config.js.
Could anyone help me out ?
do you receive the unit and id at the debug output?
if so, you can try to use switch2 similar as below. If on/off is inverted use switch3 instead
{
"id": "someid",
"name": "Some Name",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch2",
"options": {
"unitCode": 18,
"houseCode": "31"
}
}
]
},
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
jeah i recived the button and tryed to but it into as a switch, but when ever i hit the button it dont make a difference in pimatic.
here the debug output (notice i may pressed the button multiple times)
23:44:41debug [pimatic-homeduino]: data: "RF receive 249 2668 1313 332 640 10444 0 0 010002000200020002000200020002000202000200000200020200000200020203000202000002000202000200020000020002000200024200000200020200000205"
23:44:41debug [pimatic-homeduino]: contact1: { id: 206136, all: false, contact: false, unit: 2 }
23:44:41debug [pimatic-homeduino]: switch1: { id: 206136, all: false, state: true, unit: 2 }
23:44:41debug [pimatic-homeduino]: received: [ 248, 332, 1328, 2668, 10448 ] 030002000200020002000200020002000202000200000200020200000200020201000202000002000202000200020000020002000200020200000200020200000204
23:44:41debug [pimatic-homeduino]: data: "RF receive 248 2668 1328 332 10448 0 0 0 010002000200020002000200020002000202000200000200020200000200020203000202000002000202000200020000020002000200020200000200020200000204"
23:44:41debug [pimatic-homeduino]: led1: { id: 1924989, unit: 2, state: true }
23:44:41debug [pimatic-homeduino]: contact2: { id: 962494, contact: false }
23:44:41debug [pimatic-homeduino]: pir1: { unit: 17, id: 22, presence: true }
23:44:41debug [pimatic-homeduino]: switch7: { unit: 0, id: 3, state: true }
23:44:41debug [pimatic-homeduino]: switch5: { id: 962494, unit: 0, all: true, state: false }
23:44:41debug [pimatic-homeduino]: switch4: { unit: 17, id: 22, state: true }
23:44:41debug [pimatic-homeduino]: switch3: { houseCode: 17, unitCode: 22, state: false }
23:44:41debug [pimatic-homeduino]: switch2: { houseCode: 17, unitCode: 22, state: true }
23:44:41debug [pimatic-homeduino]: received: [ 300, 384, 966, 9728 ] 02020220022002200202020202200202020202200221022003
23:44:41debug [pimatic-homeduino]: data: "RF receive 300 966 384 9728 0 0 0 0 01010110011001100101010101100101010101100112011003"
23:44:40debug [pimatic-homeduino]: led1: { id: 1924989, unit: 2, state: true }
23:44:40debug [pimatic-homeduino]: contact2: { id: 962494, contact: false }
23:44:40debug [pimatic-homeduino]: pir1: { unit: 17, id: 22, presence: true }
23:44:40debug [pimatic-homeduino]: switch7: { unit: 0, id: 3, state: true }
23:44:40debug [pimatic-homeduino]: switch5: { id: 962494, unit: 0, all: true, state: false }
23:44:40debug [pimatic-homeduino]: switch4: { unit: 17, id: 22, state: true }
23:44:40debug [pimatic-homeduino]: switch3: { houseCode: 17, unitCode: 22, state: false }
23:44:40debug [pimatic-homeduino]: switch2: { houseCode: 17, unitCode: 22, state: true }
23:44:40debug [pimatic-homeduino]: received: [ 304, 966, 9736 ] 01010110011001100101010101100101010101100110011002
23:44:40debug [pimatic-homeduino]: data: "RF receive 304 966 9736 0 0 0 0 0 01010110011001100101010101100101010101100110011002"
23:44:40debug [pimatic-homeduino]: led1: { id: 1924989, unit: 2, state: true }
23:44:40debug [pimatic-homeduino]: contact2: { id: 962494, contact: false }
23:44:40debug [pimatic-homeduino]: pir1: { unit: 17, id: 22, presence: true }
23:44:40debug [pimatic-homeduino]: switch7: { unit: 0, id: 3, state: true }
23:44:40debug [pimatic-homeduino]: switch5: { id: 962494, unit: 0, all: true, state: false }
23:44:40debug [pimatic-homeduino]: switch4: { unit: 17, id: 22, state: true }
23:44:40debug [pimatic-homeduino]: switch3: { houseCode: 17, unitCode: 22, state: false }
23:44:40debug [pimatic-homeduino]: switch2: { houseCode: 17, unitCode: 22, state: true }
23:44:40debug [pimatic-homeduino]: received: [ 305, 964, 9720 ] 01010110011001100101010101100101010101100110011002
23:44:40debug [pimatic-homeduino]: data: "RF receive 305 964 9720 0 0 0 0 0 01010110011001100101010101100101010101100110011002"
23:44:40debug [pimatic-homeduino]: led1: { id: 1924989, unit: 2, state: true }
23:44:40debug [pimatic-homeduino]: contact2: { id: 962494, contact: false }
23:44:40debug [pimatic-homeduino]: pir1: { unit: 17, id: 22, presence: true }
23:44:40debug [pimatic-homeduino]: switch7: { unit: 0, id: 3, state: true }
23:44:40debug [pimatic-homeduino]: switch5: { id: 962494, unit: 0, all: true, state: false }
23:44:40debug [pimatic-homeduino]: switch4: { unit: 17, id: 22, state: true }
23:44:40debug [pimatic-homeduino]: switch3: { houseCode: 17, unitCode: 22, state: false }
23:44:40debug [pimatic-homeduino]: switch2: { houseCode: 17, unitCode: 22, state: true }
23:44:40debug [pimatic-homeduino]: received: [ 294, 376, 969, 9720 ] 02020220022102200202020202210202020202200220022003
23:44:40debug [pimatic-homeduino]: data: "RF receive 294 969 376 9720 0 0 0 0 01010110011201100101010101120101010101100110011003"
23:44:40debug [pimatic-homeduino]: received: [ 317, 965, 4868 ] 0101100101100110101010100101100110100101011001100101011002
23:44:40debug [pimatic-homeduino]: data: "RF receive 317 965 4868 0 0 0 0 0 0101100101100110101010100101100110100101011001100101011002"
23:44:39debug [pimatic-homeduino]: contact1: { id: 206136, all: false, contact: false, unit: 2 }
23:44:39debug [pimatic-homeduino]: switch1: { id: 206136, all: false, state: true, unit: 2 }
23:44:39debug [pimatic-homeduino]: received: [ 242, 308, 1327, 2680, 10448 ] 030002000200020002000200020002000202010201000200020201010200020201000202010002010202000200020100020002000200020201010201020200000204
23:44:39debug [pimatic-homeduino]: data: "RF receive 242 2680 1327 308 10448 0 0 0 010002000200020002000200020002000202030203000200020203030200020203000202030002030202000200020300020002000200020203030203020200000204"
23:44:39debug [pimatic-homeduino]: led1: { id: 1924989, unit: 2, state: true }
23:44:39debug [pimatic-homeduino]: contact2: { id: 962494, contact: false }
23:44:39debug [pimatic-homeduino]: pir1: { unit: 17, id: 22, presence: true }
23:44:39debug [pimatic-homeduino]: switch7: { unit: 0, id: 3, state: true }
23:44:39debug [pimatic-homeduino]: switch5: { id: 962494, unit: 0, all: true, state: false }
23:44:39debug [pimatic-homeduino]: switch4: { unit: 17, id: 22, state: true }
23:44:39debug [pimatic-homeduino]: switch3: { houseCode: 17, unitCode: 22, state: false }
23:44:39debug [pimatic-homeduino]: switch2: { houseCode: 17, unitCode: 22, state: true }
23:44:39debug [pimatic-homeduino]: received: [ 303, 967, 9724 ] 01010110011001100101010101100101010101100110011002
23:44:39debug [pimatic-homeduino]: data: "RF receive 303 967 9724 0 0 0 0 0 01010110011001100101010101100101010101100110011002"
23:44:39debug [pimatic-homeduino]: led1: { id: 1924989, unit: 2, state: true }
23:44:39debug [pimatic-homeduino]: contact2: { id: 962494, contact: false }
23:44:39debug [pimatic-homeduino]: pir1: { unit: 17, id: 22, presence: true }
23:44:39debug [pimatic-homeduino]: switch7: { unit: 0, id: 3, state: true }
23:44:39debug [pimatic-homeduino]: switch5: { id: 962494, unit: 0, all: true, state: false }
23:44:39debug [pimatic-homeduino]: switch4: { unit: 17, id: 22, state: true }
23:44:39debug [pimatic-homeduino]: switch3: { houseCode: 17, unitCode: 22, state: false }
23:44:39debug [pimatic-homeduino]: switch2: { houseCode: 17, unitCode: 22, state: true }
23:44:39debug [pimatic-homeduino]: received: [ 305, 965, 9724 ] 01010110011001100101010101100101010101100110011002
23:44:39debug [pimatic-homeduino]: data: "RF receive 305 965 9724 0 0 0 0 0 01010110011001100101010101100101010101100110011002"
23:44:39debug [pimatic-homeduino]: led1: { id: 1924989, unit: 2, state: true }
23:44:39debug [pimatic-homeduino]: contact2: { id: 962494, contact: false }
23:44:39debug [pimatic-homeduino]: pir1: { unit: 17, id: 22, presence: true }
23:44:39debug [pimatic-homeduino]: switch7: { unit: 0, id: 3, state: true }
23:44:39debug [pimatic-homeduino]: switch5: { id: 962494, unit: 0, all: true, state: false }
23:44:39debug [pimatic-homeduino]: switch4: { unit: 17, id: 22, state: true }
23:44:39debug [pimatic-homeduino]: switch3: { houseCode: 17, unitCode: 22, state: false }
23:44:39debug [pimatic-homeduino]: switch2: { houseCode: 17, unitCode: 22, state: true }
23:44:39debug [pimatic-homeduino]: received: [ 304, 965, 9732 ] 01010110011001100101010101100101010101100110011002
23:44:38debug [pimatic-homeduino]: data: "RF receive 304 965 9732 0 0 0 0 0 01010110011001100101010101100101010101100110011002"
23:44:38debug [pimatic-homeduino]: led1: { id: 1924989, unit: 2, state: true }
23:44:38debug [pimatic-homeduino]: contact2: { id: 962494, contact: false }
23:44:38debug [pimatic-homeduino]: pir1: { unit: 17, id: 22, presence: true }
23:44:38debug [pimatic-homeduino]: switch7: { unit: 0, id: 3, state: true }
23:44:38debug [pimatic-homeduino]: switch5: { id: 962494, unit: 0, all: true, state: false }
23:44:38debug [pimatic-homeduino]: switch4: { unit: 17, id: 22, state: true }
23:44:38debug [pimatic-homeduino]: switch3: { houseCode: 17, unitCode: 22, state: false }
23:44:38debug [pimatic-homeduino]: switch2: { houseCode: 17, unitCode: 22, state: true }
23:44:38debug [pimatic-homeduino]: received: [ 292, 376, 971, 9732 ] 02020220022002200202020202200202020202210221022003
23:44:38debug [pimatic-homeduino]: data: "RF receive 292 971 376 9732 0 0 0 0 01010110011001100101010101100101010101120112011003"
23:44:25debug [pimatic-homeduino]: data: "PING"
@Rantir
can you post your configuration of the switch?
@wimpie said:
@Rantir
can you post your configuration of the switch?
you mean the config file?
rigth now i got the code leader21 posted.
but also some extra stuff liek this:
"id": "WallSwitchWohnzimmr",
"name": "WohnzimmerSwitchDuoLinks",
"class": "HomeduinoRFSwitch",
"buttons": [
{
"protocols": [
{
"name": "switch2",
"options": {
"houseCode": 17,
"unitCode": "22"
}
}
EDIT:
strange before this changes the page showed at least the switch now it doesnt show anything
Your config is wrong. You have mixed the switch device with the buttons device. Please take a close look to the Homeduino readme.
pimatic rocks!!!
yep! try my above code without any “extra stuff” !!
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebook
make it so !
GREAT thanks for ur supply so far.
ive used exactly what u did above… doesnt worked.(but shows up)
than i changed the codes to this:
{
"id": "someid",
"name": "Some Name",
"class": "HomeduinoRFSwitch",
"protocols": [
{
"name": "switch2",
"options": {
"unitCode": 17,
"houseCode": "22"
}
}
]
},
well doesnt make a change.
any idears ?
PS: housecode without “” dont make a change at all.
PPS: if you know a cheap working cevice with 2 buttons i could grap this one instead
You must understand the system behind this.
When you press a button on the Elro HE843 then homeduino receives the codes and tries to decode this.In your case sends the wallswitch with multiple protocols.
To react on this you need only one protocol in your switch device.
Can you pls post the debug output for one switch for on and off?
pimatic rocks!!!
I try to.
but maybe my reciver might be buggy, cause i need to press any kind or button device different times to get a debug.
Even the Remote which works fine ( it switches a switch by the button)
Or is this ok ?
EDIT:
Well i understood the system in general ( at least i think i do )
Well any idear what i can do to fix this
Ok, now go to the Messages and select debug option as well as homeduino. (If not found homeduino than restart Pimatic service) Now you will see all debug messages from homeduino if you pressing on and off button of your switch.
Give your Debug output to us so we can really help you and we can check if you got the right (switch!) unitcode and housecode.
Debug example: http://forum.pimatic.org/topic/210/5-homeduino-and-rf-devices-433-mhz-transmitting-receiving
Or if this is already solved and only have transmitting issues try a longer antenna wire?!
Well its some tima ago but i dont got rid of this by now.
I dont get any reply in the depug.
If i try to use the remote instead it works SOMETIMES.
What could be my problem ?
Wrong / bad reciver Antenna?
How shall i fix this ?
Right now its a a coil shape? But i dont remember the sizes of the coil. But if i used a size which suits for the mhz not some random size.
@Rantir said:
Well its some tima ago but i dont got rid of this by now.
I dont get any reply in the depug.
If i try to use the remote instead it works SOMETIMES.What could be my problem ?
Wrong / bad reciver Antenna?
How shall i fix this ?Right now its a a coil shape? But i dont remember the sizes of the coil. But if i used a size which suits for the mhz not some random size.
Well some times it works, some times it doesnt.
here is the debug of one of the buttons from the switch.
But as i said i need serval times and different angles until the debug lines appears