05-11-2014, 05:20 PM
Hello,
I bought a power outlets (and a dimmer) Set of the Elro Home Easy collection. This one
Unfortunately I can only turn the outlets on/off with the raw code, so with pilight-send -raw p -c "..."
With the protokoll pollin or elro_he, the systemcode and the unitcode it doesn't work.
pilight-send-p pollin -s 30 -u 10 -t respectively pilight-send -p elro_he -s 30 -u 10 -t
Attached all the data from pilight-receive, pilight-debug switch 1 to 3, pilight-learn and pilight-daemon -D
Here is a similar thread here.
Greetings from Germany
Dominik
I bought a power outlets (and a dimmer) Set of the Elro Home Easy collection. This one
Unfortunately I can only turn the outlets on/off with the raw code, so with pilight-send -raw p -c "..."
With the protokoll pollin or elro_he, the systemcode and the unitcode it doesn't work.
pilight-send-p pollin -s 30 -u 10 -t respectively pilight-send -p elro_he -s 30 -u 10 -t
Attached all the data from pilight-receive, pilight-debug switch 1 to 3, pilight-learn and pilight-daemon -D
Code:
Schalter 1 ON
{
"code": {
"id": 62596,
"unit": 1,
"state": "on"
},
"origin": "receiver",
"protocol": "arctech_switches",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"id": 62596,
"unit": 1,
"state": "opened"
},
"origin": "receiver",
"protocol": "arctech_contact",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"id": 62596,
"unit": 1,
"state": "up"
},
"origin": "receiver",
"protocol": "arctech_screens",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 10,
"state": "on"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 10,
"state": "on"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 10,
"state": "on"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 10,
"state": "on"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 10,
"state": "on"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
______________________________________________________________________________________
Schalter 1 OFF
{
"code": {
"id": 62596,
"unit": 1,
"state": "off"
},
"origin": "receiver",
"protocol": "arctech_switches",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"id": 62596,
"unit": 1,
"state": "closed"
},
"origin": "receiver",
"protocol": "arctech_contact",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"id": 62596,
"unit": 1,
"state": "down"
},
"origin": "receiver",
"protocol": "arctech_screens",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 10,
"state": "off"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 10,
"state": "off"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 10,
"state": "off"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 10,
"state": "off"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 10,
"state": "off"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 2
}
_______________________________________________________________________
Schalter 2 ON
{
"code": {
"id": 62596,
"unit": 2,
"state": "on"
},
"origin": "receiver",
"protocol": "arctech_switches",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"id": 62596,
"unit": 2,
"state": "opened"
},
"origin": "receiver",
"protocol": "arctech_contact",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"id": 62596,
"unit": 2,
"state": "up"
},
"origin": "receiver",
"protocol": "arctech_screens",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 12,
"state": "on"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 12,
"state": "on"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 2
}
{
"code": {
"systemcode": 30,
"unitcode": 12,
"state": "on"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 12,
"state": "on"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 12,
"state": "on"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 2
}
___________________________________________________________________________
Schalter 2 OFF
{
"code": {
"id": 62596,
"unit": 2,
"state": "off"
},
"origin": "receiver",
"protocol": "arctech_switches",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"id": 62596,
"unit": 2,
"state": "closed"
},
"origin": "receiver",
"protocol": "arctech_contact",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"id": 62596,
"unit": 2,
"state": "down"
},
"origin": "receiver",
"protocol": "arctech_screens",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 12,
"state": "off"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 12,
"state": "off"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 2
}
{
"code": {
"systemcode": 30,
"unitcode": 12,
"state": "off"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
_________________________________________________________________________________
Schalter 3 ON
{
"code": {
"systemcode": 30,
"unitcode": 8,
"state": "off"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"id": 62596,
"unit": 3,
"state": "on"
},
"origin": "receiver",
"protocol": "arctech_switches",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"id": 62596,
"unit": 3,
"state": "opened"
},
"origin": "receiver",
"protocol": "arctech_contact",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"id": 62596,
"unit": 3,
"state": "up"
},
"origin": "receiver",
"protocol": "arctech_screens",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 8,
"state": "on"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 8,
"state": "on"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 8,
"state": "on"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 8,
"state": "on"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 2
}
______________________________________________________________
Schalter 3 OFF
{
"code": {
"id": 62596,
"unit": 3,
"state": "off"
},
"origin": "receiver",
"protocol": "arctech_switches",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"id": 62596,
"unit": 3,
"state": "closed"
},
"origin": "receiver",
"protocol": "arctech_contact",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"id": 62596,
"unit": 3,
"state": "down"
},
"origin": "receiver",
"protocol": "arctech_screens",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 8,
"state": "off"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
{
"code": {
"systemcode": 30,
"unitcode": 8,
"state": "off"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 2
}
{
"code": {
"systemcode": 30,
"unitcode": 8,
"state": "off"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 3
}
{
"code": {
"systemcode": 30,
"unitcode": 8,
"state": "off"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 4
}
{
"code": {
"systemcode": 30,
"unitcode": 8,
"state": "off"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 5
}
{
"code": {
"systemcode": 0,
"unitcode": 0,
"state": "on"
},
"origin": "receiver",
"protocol": "pollin",
"uuid": "0000-00-00-01-f5f042",
"repeats": 1
}
Code:
Schalter 1 ON
--[RESULTS]--
hardware: 433gpio
pulse: 7
rawlen: 58
binlen: 14
pulselen: 146
Raw code:
292 1022 292 1022 876 438 292 1022 292 1022 876 438 292 1022 876 438 876 438 876 438 876 438 292 1022 292 1022 292 1022 292 1022 876 438 292 1022 876 438 292 1022 876 438 876 438 292 1022 876 438 1022 438 292 1022 876 438 876 438 292 1022 292 4964
Binary code:
11000110001001
____________________________________________________________
Schalter 1 OFF
--[RESULTS]--
hardware: 433gpio
pulse: 7
rawlen: 58
binlen: 14
pulselen: 147
Raw code:
294 1029 294 1029 882 441 294 1029 294 1029 882 441 882 441 882 441 147 1029 882 441 294 1029 882 441 882 441 882 441 882 441 147 1176 882 441 1029 294 882 441 147 1029 294 1029 294 1176 147 1029 294 1029 147 1029 882 441 882 441 294 1029 294 4998
Binary code:
11000001011101
______________________________________________________________________________________
Schalter 2 ON
--[RESULTS]--
hardware: 433gpio
pulse: 3
rawlen: 58
binlen: 14
pulselen: 147
Raw code:
294 1029 294 1029 882 441 294 1029 294 1029 882 441 294 1029 294 1029 294 1029 882 441 882 441 294 1029 294 1029 882 441 882 441 294 1029 294 1029 882 441 294 1029 294 1029 882 441 294 1029 294 1029 294 1029 294 1029 882 441 294 1029 882 441 294 4998
Binary code:
11111111111111
______________________________________________________________________________________
Schalter 2 OFF
--[RESULTS]--
hardware: 433gpio
pulse: 3
rawlen: 58
binlen: 14
pulselen: 147
Raw code:
294 1029 294 1029 882 441 294 1029 294 1029 882 441 882 441 294 1029 882 441 882 441 294 1029 294 1029 882 441 882 441 882 441 882 441 882 441 882 441 882 441 882 441 882 441 294 1029 882 441 294 1029 882 441 294 1029 294 1029 882 441 294 4998
Binary code:
11111111111111
______________________________________________________________________________________
Schalter 3 ON
--[RESULTS]--
hardware: 433gpio
pulse: 3
rawlen: 58
binlen: 14
pulselen: 147
Raw code:
882 441 882 441 882 441 294 1029 294 1029 882 441 294 1029 294 1029 882 441 294 1029 882 441 294 1029 294 1029 882 441 882 441 882 441 882 441 882 441 882 441 882 441 294 1029 294 1029 882 441 882 441 882 441 294 1029 294 1029 882 441 294 4998
Binary code:
11111111111111
______________________________________________________________________________________
Schalter 3 OFF
--[RESULTS]--
hardware: 433gpio
pulse: 3
rawlen: 58
binlen: 14
pulselen: 146
Raw code:
876 438 876 438 876 438 292 1022 292 1022 876 438 292 1022 292 1022 876 438 292 1022 876 438 292 1022 876 438 292 1022 292 1022 292 1022 292 1022 876 438 876 438 292 1022 876 438 876 438 292 1022 876 438 292 1022 876 438 292 1022 876 438 292 4964
Binary code:
11111111111111
Code:
pilight-learn
--[RESULTS]--
hardware: 433gpio
pulse: 3
rawlen: 50
binlen: 12
plslen: 299
on-off bit(s): 11
all bit(s): 9
unit bit(s): 6 7
Raw code:
897 598 897 299 299 897 299 897 299 897 299 897 299 897 299 897 299 897 299 897 299 897 897 299 299 897 897 299 299 897 897 299 299 897 299 897 299 897 897 299 299 897 897 299 299 897 897 299 299 10166
Raw simplified:
On: 10100101010101010101011001010110010101100110011001
Off: 10100101010101010101011001010110010101100110011001
All: 11100101010101010101011001010101010101011010010101
Unit 1: 10100101010101010101011001010110010101100110011001
Unit 2: 01100101010101010101011001100101010101100110011001
Unit 3: 00100101010101010101011001100110010101100110011001
Binary code:
On: 011110101000
Off: 011110101001
All: 011110111101
Unit 1: 011110101000
Unit 2: 011110011000
Unit 3: 011110001000
Code:
sudo pilight-daemon -D
[May 11 12:24:04:915767] pilight-daemon: DEBUG: ssdp sent search
[ May 11 12:24:05:11283] pilight-daemon: NOTICE: no pilight daemon found, daemonizing
[ May 11 12:24:05:12253] pilight-daemon: INFO: daemon listening to port: 33543
[ May 11 12:24:05:23498] pilight-daemon: DEBUG: new thread lirc, 1 thread running
[ May 11 12:24:05:23971] pilight-daemon: DEBUG: new thread socket, 2 threads running
[ May 11 12:24:05:24331] pilight-daemon: DEBUG: new thread ssdp, 3 threads running
[ May 11 12:24:05:24689] pilight-daemon: DEBUG: new thread sender, 4 threads running
[ May 11 12:24:05:25046] pilight-daemon: DEBUG: new thread broadcaster, 5 threads running
[ May 11 12:24:05:25404] pilight-daemon: DEBUG: new thread updater, 6 threads running
[ May 11 12:24:05:25781] pilight-daemon: DEBUG: new thread 433gpio, 7 threads running
[ May 11 12:24:05:26139] pilight-daemon: DEBUG: new thread webserver daemon, 8 threads running
[ May 11 12:24:05:26498] pilight-daemon: DEBUG: new thread webserver client, 9 threads running
[ May 11 12:24:05:26854] pilight-daemon: DEBUG: new thread webserver broadcast, 10 threads running
[ May 11 12:24:05:27597] pilight-daemon: INFO: new client, ip: 127.0.0.1, port: 49636
[ May 11 12:24:05:27833] pilight-daemon: DEBUG: client fd: 9
[ May 11 12:24:05:28010] pilight-daemon: DEBUG: client id: 1
[ May 11 12:24:05:30284] pilight-daemon: NOTICE: php support disabled due to missing php-cgi executable
[ May 11 12:24:05:32664] pilight-daemon: DEBUG: webserver listening to port 5001
[ May 11 12:24:05:33308] pilight-daemon: DEBUG: ssdp sent search
[ May 11 12:24:05:34059] pilight-daemon: DEBUG: new thread webserver worker #0, 11 threads running
[ May 11 12:24:05:34489] pilight-daemon: DEBUG: ssdp sent notify
[ May 11 12:24:05:34905] pilight-daemon: INFO: client connected, ip 127.0.0.1, port 41576
[May 11 12:24:05:132089] pilight-daemon: DEBUG: socket write succeeded: {"message":"client gui"}
[May 11 12:24:05:132552] pilight-daemon: INFO: new client, ip: 192.168.5.50, port: 45586
[May 11 12:24:05:132728] pilight-daemon: DEBUG: client fd: 16
[May 11 12:24:05:132872] pilight-daemon: DEBUG: client id: 2
[May 11 12:24:05:133145] pilight-daemon: DEBUG: socket recv: {"message":"client gui"}
[May 11 12:24:05:133700] pilight-daemon: DEBUG: socket write succeeded: {"message":"accept client"}
[May 11 12:24:05:133899] pilight-daemon: INFO: client recognized as gui
[May 11 12:24:25:275375] pilight-daemon: DEBUG: called arctech_switches parseBinary()
[May 11 12:24:25:278046] pilight-daemon: DEBUG: broadcasted: {"code":{"id":62596,"unit":1,"state":"on"},"origin":"receiver","protocol":"arctech_switches","uuid":"0000-00-00-01-f5f042","repeats":1}
[May 11 12:24:25:279341] pilight-daemon: DEBUG: broadcasted: {"code":{"id":62596,"unit":1,"state":"opened"},"origin":"receiver","protocol":"arctech_contact","uuid":"0000-00-00-01-f5f042","repeats":1}
[May 11 12:24:25:280640] pilight-daemon: DEBUG: broadcasted: {"code":{"id":62596,"unit":1,"state":"up"},"origin":"receiver","protocol":"arctech_screens","uuid":"0000-00-00-01-f5f042","repeats":1}
[May 11 12:24:25:630315] pilight-daemon: DEBUG: called pollin parseBinary()
[May 11 12:24:25:632072] pilight-daemon: DEBUG: broadcasted: {"code":{"systemcode":30,"unitcode":10,"state":"on"},"origin":"receiver","protocol":"pollin","uuid":"0000-00-00-01-f5f042","repeats":1}
[May 11 12:24:25:714248] pilight-daemon: DEBUG: called pollin parseBinary()
[May 11 12:24:25:715799] pilight-daemon: DEBUG: broadcasted: {"code":{"systemcode":30,"unitcode":10,"state":"on"},"origin":"receiver","protocol":"pollin","uuid":"0000-00-00-01-f5f042","repeats":2}
[May 11 12:24:41:510259] pilight-daemon: DEBUG: called pollin parseBinary()
[May 11 12:24:41:511865] pilight-daemon: DEBUG: broadcasted: {"code":{"systemcode":30,"unitcode":10,"state":"on"},"origin":"receiver","protocol":"pollin","uuid":"0000-00-00-01-f5f042","repeats":1}
[May 11 12:24:41:967364] pilight-daemon: DEBUG: called arctech_switches parseBinary()
[May 11 12:24:41:969763] pilight-daemon: DEBUG: broadcasted: {"code":{"id":62596,"unit":1,"state":"off"},"origin":"receiver","protocol":"arctech_switches","uuid":"0000-00-00-01-f5f042","repeats":1}
[May 11 12:24:41:971034] pilight-daemon: DEBUG: broadcasted: {"code":{"id":62596,"unit":1,"state":"closed"},"origin":"receiver","protocol":"arctech_contact","uuid":"0000-00-00-01-f5f042","repeats":1}
[May 11 12:24:41:972256] pilight-daemon: DEBUG: broadcasted: {"code":{"id":62596,"unit":1,"state":"down"},"origin":"receiver","protocol":"arctech_screens","uuid":"0000-00-00-01-f5f042","repeats":1}
[May 11 12:24:42:280386] pilight-daemon: DEBUG: caught minimum # of repeats 1 of elro_ad
[May 11 12:24:42:280648] pilight-daemon: DEBUG: called elro_ad parseCode()
[May 11 12:24:42:322331] pilight-daemon: DEBUG: called pollin parseBinary()
[May 11 12:24:42:323969] pilight-daemon: DEBUG: broadcasted: {"code":{"systemcode":30,"unitcode":10,"state":"off"},"origin":"receiver","protocol":"pollin","uuid":"0000-00-00-01-f5f042","repeats":1}
[May 11 12:24:42:406241] pilight-daemon: DEBUG: called pollin parseBinary()
[May 11 12:24:42:407799] pilight-daemon: DEBUG: broadcasted: {"code":{"systemcode":30,"unitcode":10,"state":"off"},"origin":"receiver","protocol":"pollin","uuid":"0000-00-00-01-f5f042","repeats":2}
[May 11 12:24:42:575044] pilight-daemon: DEBUG: called pollin parseBinary()
[May 11 12:24:42:576509] pilight-daemon: DEBUG: broadcasted: {"code":{"systemcode":30,"unitcode":10,"state":"off"},"origin":"receiver","protocol":"pollin","uuid":"0000-00-00-01-f5f042","repeats":1}
Here is a similar thread here.
Greetings from Germany
Dominik