• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
communication between main daemon and clientized daemon stops
#1
Hi

using pilight since some years with a lot of Intertechno and other switches. pilight is a great tool! 

However since one of the newer 8.x.x versions the communication between the main daemon and the clientized daemon (a second raspberry) stops working. 

hardware/software:
  • main daemon: raspberry pi 3, hand-wired sender & receiver
  • clientized daemon: raspberry pi 3B+, self soldered PCB HAT with all parts from the pilight shop 
  • a start / stop script makes sure, that both are (re-) started in the intended order
  • used 8.0.9 for a long time on both 
  • currently both are running 8.1.4
  • both raspberrys are connected via ethernet to the same switch, same subnet, no packed drops, rtt min/avg/max/mdev = 0.291/0.407/0.549/0.051 ms.


Problem happened ~once a week when the clientized daemon was running on an old raspberry pi 1B+ (with 8.0.9). It happens ~multiple times a day now since the clientized daemon is running on a new raspberry pi 3B+ (with 8.0.9 and also with 8.1.4). the main deamon runs on a  raspberry pi 3. the clientized daemon says: [ code ] socket write failed: {"message":{"id" [ /code ]

detailed description:
  • When the problem occurs, then a device can still be controlled by the main daemon. But a device which is only contolleable by the clientized daemon (via uuid or due to the range) does not react any more when i turn it on through the webgui, although the webgui says it was turned on/off. While it does not work via webgui, it still works via pilight-send on the clientized raspberry. This tells me that both pilights are running, but can't communicate with each other correctly. 
  • the normal log file on the clientized pilight also frequently says:

Code:
[Dec 17 08:24:40:296008] pilight-daemon: NOTICE: connection to main pilight daemon lost
[Dec 17 08:24:40:296067] pilight-daemon: NOTICE: trying to reconnect...
[ Dec 17 08:34:20:49491] pilight-daemon: NOTICE: connection to main pilight daemon lost
[ Dec 17 08:34:20:49548] pilight-daemon: NOTICE: trying to reconnect...
[Dec 17 08:34:43:443917] pilight-daemon: NOTICE: connection to main pilight daemon lost


The debug log says at [ Dec 17 18:11:07:44424 ]: via webgui i tried to switch on deviceConfusedwitch_ID_12345678, debug log entries from the master:


Code:
[Dec 17 18:11:03:599506] pilight-daemon: DEBUG: client fd: 20
[Dec 17 18:11:03:632511] pilight-daemon: DEBUG: cpu: 18.277697%
[Dec 17 18:11:03:963621] pilight-daemon: DEBUG: socket recv: {"action":"request values"}
[Dec 17 18:11:06:631926] pilight-daemon: DEBUG: cpu: 22.938048%
[ Dec 17 18:11:07:44424] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"switch_ID_12345678","state":"on"}}
[ Dec 17 18:11:08:79931] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"switch_ID_12345678","state":"off"}}
[Dec 17 18:11:09:631994] pilight-daemon: DEBUG: cpu: 28.735794%
[Dec 17 18:11:12:632225] pilight-daemon: DEBUG: cpu: 29.186800%
[Dec 17 18:11:15:632529] pilight-daemon: DEBUG: cpu: 29.360544%
[Dec 17 18:11:17:391473] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"switch_ID_12345678","state":"on"}}
[Dec 17 18:11:17:986796] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"switch_ID_12345678","state":"off"}}
[Dec 17 18:11:18:632285] pilight-daemon: DEBUG: cpu: 29.133632%
[Dec 17 18:11:21:631989] pilight-daemon: DEBUG: cpu: 23.428353%
[Dec 17 18:11:24:632768] pilight-daemon: DEBUG: cpu: 28.844682%

at the same time (synched via ntp) the clientized daemon's debug just says:


Code:
[Dec 17 18:11:01:926311] pilight-daemon: DEBUG: cpu: 36.370640%
[Dec 17 18:11:01:926539] pilight-daemon: DEBUG: socket write failed: {"values":{"cpu":36.3706399535275793},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}

[Dec 17 18:11:01:926575] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":36.3706399535275793},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10"}
[Dec 17 18:11:04:926174] pilight-daemon: DEBUG: cpu: 36.292991%
[Dec 17 18:11:04:926393] pilight-daemon: DEBUG: socket write failed: {"values":{"cpu":36.2929908844716067},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}

[Dec 17 18:11:04:926426] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":36.2929908844716067},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10"}
[Dec 17 18:11:07:926002] pilight-daemon: DEBUG: cpu: 36.673699%
[Dec 17 18:11:07:926243] pilight-daemon: DEBUG: socket write failed: {"values":{"cpu":36.6736994448918523},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}

[Dec 17 18:11:07:926278] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":36.6736994448918523},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10"}
[Dec 17 18:11:10:925792] pilight-daemon: DEBUG: cpu: 36.334003%
[Dec 17 18:11:10:926016] pilight-daemon: DEBUG: socket write failed: {"values":{"cpu":36.3340030718041191},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}

[Dec 17 18:11:10:926050] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":36.3340030718041191},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10"}
[Dec 17 18:11:13:926198] pilight-daemon: DEBUG: cpu: 36.455368%
[Dec 17 18:11:13:926436] pilight-daemon: DEBUG: socket write failed: {"values":{"cpu":36.4553677383087518},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}

[Dec 17 18:11:13:926470] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":36.4553677383087518},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10"}
[Dec 17 18:11:16:925760] pilight-daemon: DEBUG: cpu: 36.350845%
[Dec 17 18:11:16:925994] pilight-daemon: DEBUG: socket write failed: {"values":{"cpu":36.3508450207041278},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}

[Dec 17 18:11:16:926031] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":36.3508450207041278},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10"}
[Dec 17 18:11:19:925448] pilight-daemon: DEBUG: cpu: 36.316366%
[Dec 17 18:11:19:925676] pilight-daemon: DEBUG: socket write failed: {"values":{"cpu":36.3163656969542927},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}

[Dec 17 18:11:19:925709] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":36.3163656969542927},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10"}
[Dec 17 18:11:20:826218] pilight-daemon: DEBUG: possible alecto_wx500 protocol
[Dec 17 18:11:20:826260] pilight-daemon: DEBUG: recevied pulse length of 270
[Dec 17 18:11:20:826276] pilight-daemon: DEBUG: caught minimum # of repeats 1 of alecto_wx500
[Dec 17 18:11:20:826291] pilight-daemon: DEBUG: called alecto_wx500 parseRaw()
[Dec 17 18:11:20:826310] pilight-daemon: DEBUG: possible alecto_wsd17 protocol
[Dec 17 18:11:20:826324] pilight-daemon: DEBUG: recevied pulse length of 270
[Dec 17 18:11:20:826339] pilight-daemon: DEBUG: caught minimum # of repeats 1 of alecto_wsd17
[Dec 17 18:11:20:826353] pilight-daemon: DEBUG: called alecto_wsd17 parseRaw()
[Dec 17 18:11:20:826526] pilight-daemon: DEBUG: possible alecto_ws1700 protocol
[Dec 17 18:11:20:826543] pilight-daemon: DEBUG: recevied pulse length of 270
[Dec 17 18:11:20:826557] pilight-daemon: DEBUG: caught minimum # of repeats 1 of alecto_ws1700
[Dec 17 18:11:20:826578] pilight-daemon: DEBUG: called alecto_ws1700 parseRaw()
[Dec 17 18:11:20:826780] pilight-daemon: DEBUG: socket write failed: {"message":{"id":4095,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":1,"action":"update"}

[Dec 17 18:11:20:826812] pilight-daemon: DEBUG: broadcasted: {"message":{"id":4095,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":1}
[Dec 17 18:11:20:827137] pilight-daemon: DEBUG: socket write failed: {"message":{"id":76,"temperature":24.8,"humidity":43.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":1,"action":"update"}

[Dec 17 18:11:20:827171] pilight-daemon: DEBUG: broadcasted: {"message":{"id":76,"temperature":24.8,"humidity":43.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":1}
[Dec 17 18:11:20:955209] pilight-daemon: DEBUG: possible alecto_wx500 protocol
[Dec 17 18:11:20:955271] pilight-daemon: DEBUG: recevied pulse length of 269
[Dec 17 18:11:20:955287] pilight-daemon: DEBUG: caught minimum # of repeats 2 of alecto_wx500
[Dec 17 18:11:20:955303] pilight-daemon: DEBUG: called alecto_wx500 parseRaw()
[Dec 17 18:11:20:955323] pilight-daemon: DEBUG: possible alecto_wsd17 protocol
[Dec 17 18:11:20:955339] pilight-daemon: DEBUG: recevied pulse length of 269
[Dec 17 18:11:20:955352] pilight-daemon: DEBUG: caught minimum # of repeats 2 of alecto_wsd17
[Dec 17 18:11:20:955367] pilight-daemon: DEBUG: called alecto_wsd17 parseRaw()
[Dec 17 18:11:20:955548] pilight-daemon: DEBUG: possible alecto_ws1700 protocol
[Dec 17 18:11:20:955565] pilight-daemon: DEBUG: recevied pulse length of 269
[Dec 17 18:11:20:955581] pilight-daemon: DEBUG: caught minimum # of repeats 2 of alecto_ws1700
[Dec 17 18:11:20:955600] pilight-daemon: DEBUG: called alecto_ws1700 parseRaw()
[Dec 17 18:11:20:955799] pilight-daemon: DEBUG: socket write failed: {"message":{"id":4095,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":2,"action":"update"}

[Dec 17 18:11:20:955830] pilight-daemon: DEBUG: broadcasted: {"message":{"id":4095,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":2}
[Dec 17 18:11:20:956154] pilight-daemon: DEBUG: socket write failed: {"message":{"id":76,"temperature":24.8,"humidity":43.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":2,"action":"update"}

[Dec 17 18:11:20:956188] pilight-daemon: DEBUG: broadcasted: {"message":{"id":76,"temperature":24.8,"humidity":43.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":2}
[ Dec 17 18:11:21:84101] pilight-daemon: DEBUG: possible alecto_wx500 protocol
[ Dec 17 18:11:21:84136] pilight-daemon: DEBUG: recevied pulse length of 270
[ Dec 17 18:11:21:84152] pilight-daemon: DEBUG: caught minimum # of repeats 3 of alecto_wx500
[ Dec 17 18:11:21:84167] pilight-daemon: DEBUG: called alecto_wx500 parseRaw()
[ Dec 17 18:11:21:84187] pilight-daemon: DEBUG: possible alecto_wsd17 protocol
[ Dec 17 18:11:21:84202] pilight-daemon: DEBUG: recevied pulse length of 270
[ Dec 17 18:11:21:84216] pilight-daemon: DEBUG: caught minimum # of repeats 3 of alecto_wsd17
[ Dec 17 18:11:21:84230] pilight-daemon: DEBUG: called alecto_wsd17 parseRaw()
[ Dec 17 18:11:21:84398] pilight-daemon: DEBUG: possible alecto_ws1700 protocol
[ Dec 17 18:11:21:84415] pilight-daemon: DEBUG: recevied pulse length of 270
[ Dec 17 18:11:21:84429] pilight-daemon: DEBUG: caught minimum # of repeats 3 of alecto_ws1700
[ Dec 17 18:11:21:84447] pilight-daemon: DEBUG: called alecto_ws1700 parseRaw()
[ Dec 17 18:11:21:84632] pilight-daemon: DEBUG: socket write failed: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":3,"action":"update"}

[ Dec 17 18:11:21:84663] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":3}
[ Dec 17 18:11:21:84982] pilight-daemon: DEBUG: socket write failed: {"message":{"id":76,"temperature":24.8,"humidity":43.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":3,"action":"update"}

[ Dec 17 18:11:21:85016] pilight-daemon: DEBUG: broadcasted: {"message":{"id":76,"temperature":24.8,"humidity":43.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":3}
[Dec 17 18:11:21:212990] pilight-daemon: DEBUG: possible alecto_wx500 protocol
[Dec 17 18:11:21:213022] pilight-daemon: DEBUG: recevied pulse length of 270
[Dec 17 18:11:21:213038] pilight-daemon: DEBUG: caught minimum # of repeats 4 of alecto_wx500
[Dec 17 18:11:21:213053] pilight-daemon: DEBUG: called alecto_wx500 parseRaw()
[Dec 17 18:11:21:213073] pilight-daemon: DEBUG: possible alecto_wsd17 protocol
[Dec 17 18:11:21:213104] pilight-daemon: DEBUG: recevied pulse length of 270
[Dec 17 18:11:21:213118] pilight-daemon: DEBUG: caught minimum # of repeats 4 of alecto_wsd17
[Dec 17 18:11:21:213133] pilight-daemon: DEBUG: called alecto_wsd17 parseRaw()
[Dec 17 18:11:21:213315] pilight-daemon: DEBUG: possible alecto_ws1700 protocol
[Dec 17 18:11:21:213333] pilight-daemon: DEBUG: recevied pulse length of 270
[Dec 17 18:11:21:213353] pilight-daemon: DEBUG: caught minimum # of repeats 4 of alecto_ws1700
[Dec 17 18:11:21:213370] pilight-daemon: DEBUG: called alecto_ws1700 parseRaw()
[Dec 17 18:11:21:213558] pilight-daemon: DEBUG: socket write failed: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":4,"action":"update"}

[Dec 17 18:11:21:213589] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":4}
[Dec 17 18:11:21:213907] pilight-daemon: DEBUG: socket write failed: {"message":{"id":76,"temperature":24.8,"humidity":43.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":4,"action":"update"}

[Dec 17 18:11:21:213941] pilight-daemon: DEBUG: broadcasted: {"message":{"id":76,"temperature":24.8,"humidity":43.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":4}
[Dec 17 18:11:21:341911] pilight-daemon: DEBUG: possible alecto_wx500 protocol
[Dec 17 18:11:21:341968] pilight-daemon: DEBUG: recevied pulse length of 269
[Dec 17 18:11:21:341986] pilight-daemon: DEBUG: caught minimum # of repeats 5 of alecto_wx500
[Dec 17 18:11:21:342001] pilight-daemon: DEBUG: called alecto_wx500 parseRaw()
[Dec 17 18:11:21:342022] pilight-daemon: DEBUG: possible alecto_wsd17 protocol
[Dec 17 18:11:21:342036] pilight-daemon: DEBUG: recevied pulse length of 269
[Dec 17 18:11:21:342049] pilight-daemon: DEBUG: caught minimum # of repeats 5 of alecto_wsd17
[Dec 17 18:11:21:342064] pilight-daemon: DEBUG: called alecto_wsd17 parseRaw()
[Dec 17 18:11:21:342255] pilight-daemon: DEBUG: possible alecto_ws1700 protocol
[Dec 17 18:11:21:342278] pilight-daemon: DEBUG: recevied pulse length of 269
[Dec 17 18:11:21:342293] pilight-daemon: DEBUG: caught minimum # of repeats 5 of alecto_ws1700
[Dec 17 18:11:21:342308] pilight-daemon: DEBUG: called alecto_ws1700 parseRaw()
[Dec 17 18:11:21:342510] pilight-daemon: DEBUG: socket write failed: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":5,"action":"update"}

[Dec 17 18:11:21:342544] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":5}
[Dec 17 18:11:21:342868] pilight-daemon: DEBUG: socket write failed: {"message":{"id":76,"temperature":24.8,"humidity":43.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":5,"action":"update"}

[Dec 17 18:11:21:342902] pilight-daemon: DEBUG: broadcasted: {"message":{"id":76,"temperature":24.8,"humidity":43.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":5}
[Dec 17 18:11:21:470680] pilight-daemon: DEBUG: possible alecto_wx500 protocol
[Dec 17 18:11:21:470713] pilight-daemon: DEBUG: recevied pulse length of 266
[Dec 17 18:11:21:470728] pilight-daemon: DEBUG: caught minimum # of repeats 6 of alecto_wx500
[Dec 17 18:11:21:470744] pilight-daemon: DEBUG: called alecto_wx500 parseRaw()
[Dec 17 18:11:21:470763] pilight-daemon: DEBUG: possible alecto_wsd17 protocol
[Dec 17 18:11:21:470777] pilight-daemon: DEBUG: recevied pulse length of 266
[Dec 17 18:11:21:470790] pilight-daemon: DEBUG: caught minimum # of repeats 6 of alecto_wsd17
[Dec 17 18:11:21:470805] pilight-daemon: DEBUG: called alecto_wsd17 parseRaw()
[Dec 17 18:11:21:470981] pilight-daemon: DEBUG: possible alecto_ws1700 protocol
[Dec 17 18:11:21:470998] pilight-daemon: DEBUG: recevied pulse length of 266
[Dec 17 18:11:21:471034] pilight-daemon: DEBUG: caught minimum # of repeats 6 of alecto_ws1700
[Dec 17 18:11:21:471055] pilight-daemon: DEBUG: called alecto_ws1700 parseRaw()
[Dec 17 18:11:21:471240] pilight-daemon: DEBUG: socket write failed: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":6,"action":"update"}

[Dec 17 18:11:21:471270] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":6}
[Dec 17 18:11:21:471582] pilight-daemon: DEBUG: socket write failed: {"message":{"id":76,"temperature":24.8,"humidity":43.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":6,"action":"update"}

[Dec 17 18:11:21:471616] pilight-daemon: DEBUG: broadcasted: {"message":{"id":76,"temperature":24.8,"humidity":43.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":6}
[Dec 17 18:11:22:925923] pilight-daemon: DEBUG: cpu: 37.095067%
[Dec 17 18:11:22:926157] pilight-daemon: DEBUG: socket write failed: {"values":{"cpu":37.0950674938146747},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}

[Dec 17 18:11:22:926190] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":37.0950674938146747},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10"}
[Dec 17 18:11:25:926379] pilight-daemon: DEBUG: cpu: 36.465114%

after a restart of both daemons with -D the same procedure produces this output and switching my the device works again (for a few hours), output from the main daemon:

Code:
[Dec 17 19:29:02:563369] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"switch_ID_12345678","state":"on"}}
[Dec 17 19:29:02:563619] pilight-daemon: DEBUG: socket write succeeded: {"code":{"id":12345678,"unit":0,"on":1,"protocol":["intertechno_switch"],"uuid":"0000-b8-27-eb-caec10"},"action":"send"}
[Dec 17 19:29:02:564729] pilight-daemon: DEBUG: socket recv: {"status":"success"}
[Dec 17 19:29:02:564777] pilight-daemon: DEBUG: client "0000-b8-27-eb-caec10" successfully executed our latest request
...


So it looks as if the main daemon does not try to instruct the clientized daemon...

I can provide more info if needed.


Thanks,
Tom

P.S.: config.json:



Code:
{
    "devices": {
        "temperatur1": {
            "protocol": [ "alecto_ws1700" ],
            "id": [{
                "id": 76
            }],
            "temperature": 24.1,
            "humidity": 43.0,
            "battery": 1
        },
        "switch_ID_12345678": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 12345678,
                "unit": 0
            }],
            "state": "on"
        },
        "temperatur2": {
            "protocol": [ "alecto_ws1700" ],
            "id": [{
                "id": 1
            }],
            "temperature": 7.5,
            "humidity": 58.0,
            "battery": 1
        },
        "next": {
            "protocol": [ "program" ],
            "id": [{
                "name": "Next"
            }],
            "program": "/etc/pilight/next.sh",
            "arguments": "",
            "stop-command": "/etc/pilight/next1.sh",
            "start-command": "/etc/pilight/./next.sh",
            "state": "stopped",
            "pid": 0
        },
        "toggle": {
            "protocol": [ "program" ],
            "id": [{
                "name": "Toggle"
            }],
            "program": "/etc/pilight/toggle.sh",
            "arguments": "",
            "stop-command": "/etc/pilight/toggle.sh",
            "start-command": "/etc/pilight/./toggle.sh",
            "state": "stopped",
            "pid": 0
        },
        "switch_R16_0": {
            "protocol": [ "intertechno_old" ],
            "id": [{
                "id": 0,
                "unit": 10
            }],
            "state": "off"
        },
        "switch_R16_1": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_old" ],
            "id": [{
                "id": 1,
                "unit": 10
            }],
            "state": "on"
        },
        "switch_R16_2": {
            "protocol": [ "intertechno_old" ],
            "id": [{
                "id": 2,
                "unit": 10
            }],
            "state": "on"
        },
        "switch_R16_3": {
            "protocol": [ "intertechno_old" ],
            "id": [{
                "id": 3,
                "unit": 10
            }],
            "state": "off"
        },
        "switch_R16_4": {
            "protocol": [ "intertechno_old" ],
            "id": [{
                "id": 4,
                "unit": 10
            }],
            "state": "off"
        },
        "switch_R16_13": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_old" ],
            "id": [{
                "id": 13,
                "unit": 10
            }],
            "state": "off"
        },
        "switch_R16_14": {
            "protocol": [ "intertechno_old" ],
            "id": [{
                "id": 14,
                "unit": 10
            }],
            "state": "off"
        },
        "switch_R16_15": {
            "uuid": "0000-b8-27-eb-7a60d0",
            "protocol": [ "intertechno_old" ],
            "id": [{
                "id": 15,
                "unit": 10
            }],
            "state": "off"
        },
        "switch_R2_0": {
            "protocol": [ "elro_400_switch" ],
            "id": [{
                "systemcode": 21,
                "unitcode": 15
            }],
            "state": "off"
        },
        "switch_R2_1": {
            "protocol": [ "elro_400_switch" ],
            "id": [{
                "systemcode": 21,
                "unitcode": 23
            }],
            "state": "off"
        },
        "switch_R1_0": {
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 24962886,
                "unit": 0
            }],
            "state": "on"
        },
        "switch_R1_1": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 24962886,
                "unit": 1
            }],
            "state": "off"
        },
        "switch_R1_2": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 24962886,
                "unit": 2
            }],
            "state": "off"
        },
        "switch_R1_3": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 24962886,
                "unit": 3
            }],
            "state": "off"
        },
        "switch_R5_0": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 24960866,
                "unit": 4
            }],
            "state": "off"
        },
        "switch_R5_1": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 24960866,
                "unit": 5
            }],
            "state": "on"
        },
        "switch_R5_2": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 24960866,
                "unit": 6
            }],
            "state": "off"
        },
        "switch_R5_3": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 24960866,
                "unit": 7
            }],
            "state": "off"
        },
        "wallswitch1_R": {
            "uuid": "0000-b8-27-eb-7a60d0",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 16881998,
                "unit": 10
            }],
            "state": "off"
        },
        "wallswitch1_L": {
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 16881998,
                "unit": 11
            }],
            "state": "off"
        },
        "motion_sensors_hall": {
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 20750698,
                "unit": 9
            },
            {
                "id": 20752322,
                "unit": 9
            },
            {
                "id": 22502738,
                "unit": 9
            }],
            "state": "off"
        },
        "virtual_switch_hall": {
            "uuid": "0000-b8-27-eb-7a60d0",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 11111111,
                "unit": 10
            }],
            "state": "off"
        },
        "hall_led_strip_master": {
            "uuid": "0000-b8-27-eb-7a60d0",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 11111333,
                "unit": 10
            }],
            "state": "on"
        },
        "roller_lr4": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 4
            }],
            "state": "off"
        },
        "roller_lr1": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 1
            }],
            "state": "off"
        },
        "roller_lr2": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 2
            }],
            "state": "on"
        },
        "roller_lr3": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 3
            }],
            "state": "on"
        },
        "roller_lr5": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 5
            }],
            "state": "on"
        },
        "roller_k1": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 11
            }],
            "state": "on"
        },
        "roller_k2": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 12
            }],
            "state": "on"
        },
        "roller_k3": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 13
            }],
            "state": "on"
        },
        "roller_br1": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 14
            }],
            "state": "on"
        },
        "roller_sh1": {
            "uuid": "0000-b8-27-eb-7a60d0",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 18888888,
                "unit": 0
            }],
            "state": "off"
        },
        "roller_sh2": {
            "uuid": "0000-b8-27-eb-7a60d0",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 18888888,
                "unit": 15
            }],
            "state": "off"
        },
        "steering_roller_lr4": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 204
            }],
            "state": "on",
            "dimlevel": 2
        },
        "steering_roller_lr1": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 201
            }],
            "state": "on",
            "dimlevel": 2
        },
        "steering_roller_lr2": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 202
            }],
            "state": "on",
            "dimlevel": 2
        },
        "steering_roller_lr3": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 203
            }],
            "state": "on",
            "dimlevel": 2
        },
        "steering_roller_lr5": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 205
            }],
            "state": "on",
            "dimlevel": 2
        },
        "steering_roller_k1": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 211
            }],
            "state": "on",
            "dimlevel": 2
        },
        "steering_roller_k2": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 212
            }],
            "state": "on",
            "dimlevel": 2
        },
        "steering_roller_k3": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 213
            }],
            "state": "on",
            "dimlevel": 2
        },
        "state2_roller_k1": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 221
            }],
            "state": "on",
            "dimlevel": 5
        },
        "state2_roller_k2": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 222
            }],
            "state": "on",
            "dimlevel": 4
        },
        "state2_roller_k3": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 223
            }],
            "state": "on",
            "dimlevel": 5
        },
        "steering_roller_br1": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 214
            }],
            "state": "on",
            "dimlevel": 2
        },
        "steering_roller_sh1": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 200
            }],
            "state": "on",
            "dimlevel": 3
        },
        "steering_roller_sh2": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 215
            }],
            "state": "on",
            "dimlevel": 3
        },
        "target_temperature_living_room": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 900
            }],
            "state": "on",
            "dimlevel": 30
        },
        "virtual_switch_sun": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 100
            }],
            "state": "on",
            "dimlevel": 2
        },
        "virtual_switch_wall_light_hall": {
            "uuid": "0000-b8-27-eb-7a60d0",
            "protocol": [ "kaku_dimmer" ],
            "id": [{
                "id": 11111112,
                "unit": 9
            }],
            "state": "off",
            "dimlevel": 11
        },
        "virtual_switch_PC": {
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 11111114,
                "unit": 0
            }],
            "state": "off"
        },
        "switch_R3_0": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 18910202,
                "unit": 0
            }],
            "state": "off"
        },
        "switch_R3_1": {
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 18910202,
                "unit": 1
            }],
            "state": "off"
        },
        "switch_R3_2": {
            "protocol": [ "kaku_dimmer" ],
            "id": [{
                "id": 18910202,
                "unit": 2
            }],
            "state": "on",
            "dimlevel": 7
        },
        "light_sensor": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 2070528,
                "unit": 1
            }],
            "state": "on"
        },
        "label": {
            "protocol": [ "generic_label" ],
            "id": [{
                "id": 100
            }],
            "label": "file_chg_roof: 2018-12-16_21:38 | file_chg_bw: 2018-12-16_21:35 | ws_roof: 2.4 | ws_buttwil: 3.2 | tempr_roof: 0.6 | age_bw: 5 minutes ago",
            "color": "black"
        },
        "test-slave": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 26473098,
                "unit": 1
            }],
            "state": "off"
        },
        "test-master": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 11118888,
                "unit": 2
            }],
            "state": "off"
        },
        "dimmer_serial412100028": {
            "protocol": [ "kaku_dimmer" ],
            "id": [{
                "id": 11111113,
                "unit": 1
            }],
            "state": "off",
            "dimlevel": 7
        }
    },
    "rules": {
        "switch_hall_on": {
            "rule": "IF motion_sensors_hall.state == on AND virtual_switch_sun.dimlevel == 1 THEN switch DEVICE virtual_switch_hall TO on",
            "active": 1
        },
        "switch_hall_off": {
            "rule": "IF motion_sensors_hall.state == off THEN switch DEVICE virtual_switch_hall TO off AFTER '205 SECOND'",
            "active": 1
        },
        "switch_wall_light_hall_on": {
            "rule": "IF motion_sensors_hall.state == on AND virtual_switch_sun.dimlevel == 1 THEN dim DEVICE virtual_switch_wall_light_hall TO 11",
            "active": 1
        },
        "randomize_dining_light": {
            "rule": "IF datetime.hour == 19 AND datetime.minute == RANDOM(18, 19) THEN switch DEVICE switch_R1_1 TO on",
            "active": 0
        },
        "switch_wall_light_hall_on_2": {
            "rule": "IF motion_sensors_hall.state == on AND virtual_switch_sun.dimlevel == 2 THEN dim DEVICE virtual_switch_wall_light_hall TO 1",
            "active": 1
        },
        "switch_wall_light_hall_off": {
            "rule": "IF motion_sensors_hall.state == off THEN switch DEVICE virtual_switch_wall_light_hall TO off AFTER '204 SECOND'",
            "active": 1
        }
    },
    "gui": {
        "label": {
            "name": "Messwerte",
            "group": [ "Wetter & Temperatur" ],
            "media": [ "all" ]
        },
        "temperatur1": {
            "name": "wohnzimmer",
            "group": [ "Wetter & Temperatur" ],
            "media": [ "all" ],
            "show-battery": 1
        },
        "temperatur2": {
            "name": "Batterieraum",
            "group": [ "Wetter & Temperatur" ],
            "media": [ "all" ],
            "show-battery": 1
        },
        "switch_R1_1": {
            "name": "Esszimmer",
            "group": [ "Kueche & Wohnzimmer" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "switch_R1_2": {
            "name": "Sonne",
            "group": [ "Kueche & Wohnzimmer" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "switch_R1_3": {
            "name": "LED_Unterbau",
            "group": [ "Kueche & Wohnzimmer" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "switch_R5_0": {
            "name": "Lampe_1",
            "group": [ "Kueche & Wohnzimmer" ],
            "media": [ "all" ]
        },
        "switch_R5_1": {
            "name": "Wandbild",
            "group": [ "Kueche & Wohnzimmer" ],
            "media": [ "all" ]
        },
        "switch_ID_12345678": {
            "name": "Lichterkette",
            "group": [ "Kueche & Wohnzimmer" ],
            "media": [ "all" ]
        },
        "virtual_switch_PC": {
            "name": "PC",
            "group": [ "Kueche & Wohnzimmer" ],
            "media": [ "all" ],
            "confirm": 1
        },
        "switch_R16_15": {
            "name": "Terrasse_Haustür",
            "group": [ "Outside" ],
            "media": [ "all" ]
        },
        "switch_R16_13": {
            "name": "Parkplatz",
            "group": [ "Outside" ],
            "media": [ "all" ]
        },
        "virtual_switch_sun": {
            "name": "day: 0, evening: 1, night: 2",
            "group": [ "Outside" ],
            "media": [ "all" ],
            "dimlevel-minimum": 0,
            "dimlevel-maximum": 2
        },
        "light_sensor": {
            "name": "Nacht",
            "group": [ "Outside" ],
            "media": [ "all" ]
        },
        "wallswitch1_R": {
            "name": "Gästezimmer_Deckenlampe",
            "group": [ "Zimmer" ],
            "media": [ "all" ]
        },
        "motion_sensors_hall": {
            "name": "Bewegungsmelder Flur",
            "group": [ "Zimmer" ],
            "media": [ "all" ]
        },
        "virtual_switch_hall": {
            "name": "Flur",
            "group": [ "Zimmer" ],
            "media": [ "all" ]
        },
        "virtual_switch_wall_light_hall": {
            "name": "Wandlicht Flur",
            "group": [ "Zimmer" ],
            "media": [ "all" ]
        },
        "hall_led_strip_master": {
            "name": "LED Flur Master",
            "group": [ "Zimmer" ],
            "media": [ "all" ]
        },
        "roller_lr4": {
            "name": "Beschattung Wohnzimmer Nord-Ost",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_lr1": {
            "name": "Beschattung Wohnzimmer Ost",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_lr2": {
            "name": "Beschattung Wohnzimmer Sued-Ost",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_lr3": {
            "name": "Beschattung Wohnzimmer Sued",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_lr5": {
            "name": "Beschattung Wohnzimmer Sued-West",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_k1": {
            "name": "Beschattung Kueche links",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_k2": {
            "name": "Beschattung Kueche mitte",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_k3": {
            "name": "Beschattung Kueche rechts",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_br1": {
            "name": "Beschattung Bad",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_sh1": {
            "name": "Beschattung Solarthermie",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_sh2": {
            "name": "Beschattung Solarthermie 2",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "steering_roller_lr4": {
            "name": "Wohnzimmer Nord-Ost 0: oben, 1: unten, 2: auto, 3:manuell",
            "group": [ "Beschattung" ],
            "media": [ "all" ],
            "dimlevel-minimum": 0,
            "dimlevel-maximum": 3
        },
        "steering_roller_lr1": {
            "name": "Wohnzimmer Ost 0: oben, 1: unten, 2: auto, 3:manuell",
            "group": [ "Beschattung" ],
            "media": [ "all" ],
            "dimlevel-minimum": 0,
            "dimlevel-maximum": 3
        },
        "steering_roller_lr2": {
            "name": "Wohnzimmer Sued-Ost 0: oben, 1: unten, 2: auto, 3:manuell",
            "group": [ "Beschattung" ],
            "media": [ "all" ],
            "dimlevel-minimum": 0,
            "dimlevel-maximum": 3
        },
        "steering_roller_lr3": {
            "name": "Wohnzimmer Sued 0: oben, 1: unten, 2: auto, 3:manuell",
            "group": [ "Beschattung" ],
            "media": [ "all" ],
            "dimlevel-minimum": 0,
            "dimlevel-maximum": 3
        },
        "steering_roller_lr5": {
            "name": "Wohnzimmer Sued-West 0: oben, 1: unten, 2: auto, 3:manuell",
            "group": [ "Beschattung" ],
            "media": [ "all" ],
            "dimlevel-minimum": 0,
            "dimlevel-maximum": 3
        },
        "steering_roller_k1": {
            "name": "Kueche links 0: oben, 1: unten, 2: auto, 3:manuell",
            "group": [ "Beschattung" ],
            "media": [ "all" ],
            "dimlevel-minimum": 0,
            "dimlevel-maximum": 5
        },
        "steering_roller_k2": {
            "name": "Kueche Mitte 0: oben, 1: unten, 2: auto, 3:manuell",
            "group": [ "Beschattung" ],
            "media": [ "all" ],
            "dimlevel-minimum": 0,
            "dimlevel-maximum": 5
        },
        "steering_roller_k3": {
            "name": "Kueche rechts 0: oben, 1: unten, 2: auto, 3:manuell",
            "group": [ "Beschattung" ],
            "media": [ "all" ],
            "dimlevel-minimum": 0,
            "dimlevel-maximum": 5
        },
        "steering_roller_br1": {
            "name": "Bad 0: oben, 1: unten, 2: auto, 3:manuell",
            "group": [ "Beschattung" ],
            "media": [ "all" ],
            "dimlevel-minimum": 0,
            "dimlevel-maximum": 3
        },
        "steering_roller_sh1": {
            "name": "Solarthermie 1: 0: oben, 1: unten, 2: auto, 3:manuell",
            "group": [ "Beschattung" ],
            "media": [ "all" ],
            "confirm": 1,
            "dimlevel-minimum": 0,
            "dimlevel-maximum": 3
        },
        "steering_roller_sh2": {
            "name": "Solarthermie 2: 0: oben, 1: unten, 2: auto, 3:manuell",
            "group": [ "Beschattung" ],
            "media": [ "all" ],
            "confirm": 1,
            "dimlevel-minimum": 0,
            "dimlevel-maximum": 3
        },
        "target_temperature_living_room": {
            "name": "Temperatur Soll Wohnzimmer",
            "group": [ "Beschattung" ],
            "media": [ "all" ],
            "dimlevel-minimum": 21,
            "dimlevel-maximum": 30
        },
        "test-master": {
            "name": "Test-Master",
            "group": [ "Test" ],
            "media": [ "all" ]
        },
        "test-slave": {
            "name": "Test-Slave",
            "group": [ "Test" ],
            "media": [ "all" ]
        }
    },
    "settings": {
        "log-level": 6,
        "pid-file": "/var/run/pilight.pid",
        "log-file": "/var/log/pilight.log",
        "webserver-enable": 1,
        "webserver-root": "/usr/local/share/pilight/webgui",
        "webserver-http-port": 5001,
        "webserver-cache": 1,
        "webgui-websockets": 1,
        "gpio-platform": "raspberrypi3"
    },
    "hardware": {
        "433gpio": {
            "sender": 0,
            "receiver": 1
        }
    },
    "registry": {
        "pilight": {
            "version": {
                "current": "8.1.4"
            }
        },
        "webgui": {
            "tabs": 0
        },
        "webserver": {
            "ssl": {
                "certificate": {
                    "location": "/etc/pilight/pilight.pem"
                }
            }
        }
    }
}

note: i'm doing most automation with python scripts and cron
 
Reply
#2
Thanks for reporting. To be clear. It only fails after a few hours?
 
Reply
#3
(12-17-2018, 09:59 PM)curlymo Wrote: Thanks for reporting. To be clear. It only fails after a few hours?

Yes, fails after a few hours when the clientized daemon is on an RPi3b+.
It failed after a few days when the clientized daemon was running on an RPi1b+.

Thanks
Tom
 
Reply
#4
Can you check what the latest good working version was?
 
Reply
#5
ok, will check. problem also occured on 8.0.9. will check older versions.
 
Reply
#6
Hi 

tested a little. findings:

with 8.0.4 the problem does NOT occur. BUT i had to change my config: skip dimlevels in gui, delete ~15 devices as pilight said that there is an error with those. The clientized daemon still loses connection, but seems like it can be re-established and it works.

logs on the clientized daemon:
Code:
[Dec 19 06:29:31:695819] pilight-daemon: NOTICE: connection to main pilight daemon lost
[Dec 19 06:29:31:695873] pilight-daemon: NOTICE: trying to reconnect...
[Dec 19 06:32:34:791267] pilight-daemon: NOTICE: connection to main pilight daemon lost
[Dec 19 06:32:34:791326] pilight-daemon: NOTICE: trying to reconnect...
[Dec 19 06:32:35:893317] pilight-daemon: NOTICE: no pilight ssdp connections found
[Dec 19 06:32:35:893381] pilight-daemon: NOTICE: connection to main pilight daemon lost
[Dec 19 06:32:35:893400] pilight-daemon: NOTICE: trying to reconnect...
[  Dec 19 06:32:37:3300] pilight-daemon: NOTICE: no pilight ssdp connections found
[  Dec 19 06:32:37:3374] pilight-daemon: NOTICE: connection to main pilight daemon lost
[  Dec 19 06:32:37:3395] pilight-daemon: NOTICE: trying to reconnect...

debug output on the main daemon:
Code:
[ Dec 19 06:32:30:90593] pilight-daemon: DEBUG: caught minimum # of repeats 1 of alecto_wsd17
[ Dec 19 06:32:30:90610] pilight-daemon: DEBUG: called alecto_wsd17 parseRaw()
[ Dec 19 06:32:30:90878] pilight-daemon: DEBUG: possible alecto_ws1700 protocol
[ Dec 19 06:32:30:90901] pilight-daemon: DEBUG: recevied pulse length of 270
[ Dec 19 06:32:30:90924] pilight-daemon: DEBUG: caught minimum # of repeats 1 of alecto_ws1700
[ Dec 19 06:32:30:90958] pilight-daemon: DEBUG: called alecto_ws1700 parseRaw()
[ Dec 19 06:32:30:91173] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":1}

[ Dec 19 06:32:30:91204] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":1}
[ Dec 19 06:32:30:91653] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}

[ Dec 19 06:32:30:91689] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}
[ Dec 19 06:32:30:91798] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}

[ Dec 19 06:32:30:91823] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}
[ Dec 19 06:32:30:92005] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":1,"temperature":8.3,"humidity":60.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":1}

[ Dec 19 06:32:30:92034] pilight-daemon: DEBUG: broadcasted: {"message":{"id":1,"temperature":8.3,"humidity":60.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":1}
[Dec 19 06:32:30:211509] pilight-daemon: DEBUG: possible alecto_wx500 protocol
[Dec 19 06:32:30:211552] pilight-daemon: DEBUG: recevied pulse length of 270
[Dec 19 06:32:30:211581] pilight-daemon: DEBUG: caught minimum # of repeats 2 of alecto_wx500
[Dec 19 06:32:30:211598] pilight-daemon: DEBUG: called alecto_wx500 parseRaw()
[Dec 19 06:32:30:211623] pilight-daemon: DEBUG: possible alecto_wsd17 protocol
[Dec 19 06:32:30:211639] pilight-daemon: DEBUG: recevied pulse length of 270
[Dec 19 06:32:30:211654] pilight-daemon: DEBUG: caught minimum # of repeats 2 of alecto_wsd17
[Dec 19 06:32:30:211670] pilight-daemon: DEBUG: called alecto_wsd17 parseRaw()
[Dec 19 06:32:30:211901] pilight-daemon: DEBUG: possible alecto_ws1700 protocol
[Dec 19 06:32:30:211931] pilight-daemon: DEBUG: recevied pulse length of 270
[Dec 19 06:32:30:211948] pilight-daemon: DEBUG: caught minimum # of repeats 2 of alecto_ws1700
[Dec 19 06:32:30:211964] pilight-daemon: DEBUG: called alecto_ws1700 parseRaw()
[Dec 19 06:32:30:212164] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":2}

[Dec 19 06:32:30:212193] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":2}
[Dec 19 06:32:30:212693] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}

[Dec 19 06:32:30:212729] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}
[Dec 19 06:32:30:212843] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}

[Dec 19 06:32:30:212868] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}
[Dec 19 06:32:30:213020] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":1,"temperature":8.3,"humidity":60.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":2}

[Dec 19 06:32:30:213049] pilight-daemon: DEBUG: broadcasted: {"message":{"id":1,"temperature":8.3,"humidity":60.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":2}
[Dec 19 06:32:30:225031] pilight-daemon: DEBUG: socket recv: {"values":{"cpu":1.5892793454194258},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}
[Dec 19 06:32:30:332596] pilight-daemon: DEBUG: possible alecto_wx500 protocol
[Dec 19 06:32:30:332631] pilight-daemon: DEBUG: recevied pulse length of 270
[Dec 19 06:32:30:332658] pilight-daemon: DEBUG: caught minimum # of repeats 3 of alecto_wx500
[Dec 19 06:32:30:332675] pilight-daemon: DEBUG: called alecto_wx500 parseRaw()
[Dec 19 06:32:30:332697] pilight-daemon: DEBUG: possible alecto_wsd17 protocol
[Dec 19 06:32:30:332714] pilight-daemon: DEBUG: recevied pulse length of 270
[Dec 19 06:32:30:332730] pilight-daemon: DEBUG: caught minimum # of repeats 3 of alecto_wsd17
[Dec 19 06:32:30:332764] pilight-daemon: DEBUG: called alecto_wsd17 parseRaw()
[Dec 19 06:32:30:333002] pilight-daemon: DEBUG: possible alecto_ws1700 protocol
[Dec 19 06:32:30:333022] pilight-daemon: DEBUG: recevied pulse length of 270
[Dec 19 06:32:30:333038] pilight-daemon: DEBUG: caught minimum # of repeats 3 of alecto_ws1700
[Dec 19 06:32:30:333074] pilight-daemon: DEBUG: called alecto_ws1700 parseRaw()
[Dec 19 06:32:30:333259] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":3}

[Dec 19 06:32:30:333286] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":3}
[Dec 19 06:32:30:333795] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}

[Dec 19 06:32:30:333832] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}
[Dec 19 06:32:30:333946] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}

[Dec 19 06:32:30:333972] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}
[Dec 19 06:32:30:334129] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":1,"temperature":8.3,"humidity":60.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":3}

[Dec 19 06:32:30:334158] pilight-daemon: DEBUG: broadcasted: {"message":{"id":1,"temperature":8.3,"humidity":60.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":3}
[Dec 19 06:32:30:574783] pilight-daemon: DEBUG: possible alecto_wx500 protocol
[Dec 19 06:32:30:574843] pilight-daemon: DEBUG: recevied pulse length of 270
[Dec 19 06:32:30:574876] pilight-daemon: DEBUG: caught minimum # of repeats 4 of alecto_wx500
[Dec 19 06:32:30:574894] pilight-daemon: DEBUG: called alecto_wx500 parseRaw()
[Dec 19 06:32:30:574919] pilight-daemon: DEBUG: possible alecto_wsd17 protocol
[Dec 19 06:32:30:574947] pilight-daemon: DEBUG: recevied pulse length of 270
[Dec 19 06:32:30:574963] pilight-daemon: DEBUG: caught minimum # of repeats 4 of alecto_wsd17
[Dec 19 06:32:30:574979] pilight-daemon: DEBUG: called alecto_wsd17 parseRaw()
[Dec 19 06:32:30:575352] pilight-daemon: DEBUG: possible alecto_ws1700 protocol
[Dec 19 06:32:30:575376] pilight-daemon: DEBUG: recevied pulse length of 270
[Dec 19 06:32:30:575393] pilight-daemon: DEBUG: caught minimum # of repeats 4 of alecto_ws1700
[Dec 19 06:32:30:575419] pilight-daemon: DEBUG: called alecto_ws1700 parseRaw()
[Dec 19 06:32:30:575642] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":4}

[Dec 19 06:32:30:575672] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":4}
[Dec 19 06:32:30:576170] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}

[Dec 19 06:32:30:576205] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}
[Dec 19 06:32:30:576322] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}

[Dec 19 06:32:30:576348] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}
[Dec 19 06:32:30:576507] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":1,"temperature":8.3,"humidity":60.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":4}

[Dec 19 06:32:30:576535] pilight-daemon: DEBUG: broadcasted: {"message":{"id":1,"temperature":8.3,"humidity":60.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":4}
[Dec 19 06:32:30:695756] pilight-daemon: DEBUG: possible alecto_wx500 protocol
[Dec 19 06:32:30:695795] pilight-daemon: DEBUG: recevied pulse length of 267
[Dec 19 06:32:30:695820] pilight-daemon: DEBUG: caught minimum # of repeats 5 of alecto_wx500
[Dec 19 06:32:30:695839] pilight-daemon: DEBUG: called alecto_wx500 parseRaw()
[Dec 19 06:32:30:695868] pilight-daemon: DEBUG: possible alecto_wsd17 protocol
[Dec 19 06:32:30:695884] pilight-daemon: DEBUG: recevied pulse length of 267
[Dec 19 06:32:30:695899] pilight-daemon: DEBUG: caught minimum # of repeats 5 of alecto_wsd17
[Dec 19 06:32:30:695915] pilight-daemon: DEBUG: called alecto_wsd17 parseRaw()
[Dec 19 06:32:30:696174] pilight-daemon: DEBUG: possible alecto_ws1700 protocol
[Dec 19 06:32:30:696194] pilight-daemon: DEBUG: recevied pulse length of 267
[Dec 19 06:32:30:696211] pilight-daemon: DEBUG: caught minimum # of repeats 5 of alecto_ws1700
[Dec 19 06:32:30:696240] pilight-daemon: DEBUG: called alecto_ws1700 parseRaw()
[Dec 19 06:32:30:696427] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":5}

[Dec 19 06:32:30:696454] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":5}
[Dec 19 06:32:30:696953] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}

[Dec 19 06:32:30:696987] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}
[Dec 19 06:32:30:697100] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}

[Dec 19 06:32:30:697126] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur2"],"values":{"timestamp":1545201150,"temperature":8.3,"humidity":60.0,"battery":1}}
[Dec 19 06:32:30:697281] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":1,"temperature":8.3,"humidity":60.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":5}

[Dec 19 06:32:30:697309] pilight-daemon: DEBUG: broadcasted: {"message":{"id":1,"temperature":8.3,"humidity":60.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":5}
[Dec 19 06:32:31:348592] pilight-daemon: DEBUG: cpu: 9.646475%
[Dec 19 06:32:33:227676] pilight-daemon: DEBUG: socket recv: {"values":{"cpu":1.2438213389131394},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}
[Dec 19 06:32:34:349006] pilight-daemon: DEBUG: cpu: 11.623572%
[Dec 19 06:32:34:778733] pilight-daemon: INFO: Interrupt signal received. Please wait while pilight is shutting down
^C[Dec 19 06:32:34:785544] pilight-daemon: DEBUG: garbage collected event operator library
[Dec 19 06:32:34:785660] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:785705] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:785738] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:785774] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:785808] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:785843] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:785881] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:785910] pilight-daemon: DEBUG: garbage collected event action library
[Dec 19 06:32:34:785952] pilight-daemon: DEBUG: garbage collected event function library
[Dec 19 06:32:34:785985] pilight-daemon: DEBUG: garbage collected events library
[Dec 19 06:32:34:787206] pilight-daemon: INFO: removed stale pid_file /var/run/pilight.pid
[Dec 19 06:32:34:787572] pilight-daemon: DEBUG: garbage collected sha256cache library
[Dec 19 06:32:34:787622] pilight-daemon: DEBUG: garbage collected webserver library
[Dec 19 06:32:34:787659] pilight-daemon: DEBUG: garbage collected datetime library
[Dec 19 06:32:34:787903] pilight-daemon: DEBUG: garbage collected ssdp library
[Dec 19 06:32:34:787953] pilight-daemon: DEBUG: garbage collected options library
[Dec 19 06:32:34:788368] pilight-daemon: DEBUG: client disconnected, ip 127.0.0.1, port 37075
[Dec 19 06:32:34:788546] pilight-daemon: DEBUG: garbage collected socket library
[Dec 19 06:32:34:789149] pilight-daemon: DEBUG: stopping thread program
[Dec 19 06:32:34:789214] pilight-daemon: DEBUG: stopped thread program, 9 threads running
[Dec 19 06:32:34:789276] pilight-daemon: DEBUG: stopping thread program
[Dec 19 06:32:34:789376] pilight-daemon: DEBUG: stopped thread program, 8 threads running
[Dec 19 06:32:34:789797] pilight-daemon: DEBUG: garbage collected config devices library
[Dec 19 06:32:34:789943] pilight-daemon: DEBUG: garbage collected config rules library
[Dec 19 06:32:34:790126] pilight-daemon: DEBUG: garbage collected config gui library
[Dec 19 06:32:34:790167] pilight-daemon: DEBUG: garbage collected config settings library
[Dec 19 06:32:34:790212] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:790252] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:790290] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:790324] pilight-daemon: DEBUG: stopping thread 433gpio
[Dec 19 06:32:34:790360] pilight-daemon: DEBUG: stopped thread 433gpio, 7 threads running
[Dec 19 06:32:34:790400] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:790431] pilight-daemon: DEBUG: garbage collected config hardware library
[Dec 19 06:32:34:790482] pilight-daemon: DEBUG: garbage collected config registry library
[Dec 19 06:32:34:790517] pilight-daemon: DEBUG: garbage collected config library
[Dec 19 06:32:34:790553] pilight-daemon: DEBUG: protocol raw
[Dec 19 06:32:34:790587] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:790619] pilight-daemon: DEBUG: protocol pilight_firmware
[Dec 19 06:32:34:790654] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:790684] pilight-daemon: DEBUG: protocol pilight_firmware
[Dec 19 06:32:34:790719] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:790750] pilight-daemon: DEBUG: protocol ping
[Dec 19 06:32:34:790784] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:790818] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:790850] pilight-daemon: DEBUG: protocol arping
[Dec 19 06:32:34:790884] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:790920] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:790950] pilight-daemon: DEBUG: protocol relay
[Dec 19 06:32:34:790981] pilight-daemon: DEBUG: ran garbage collector
[Dec 19 06:32:34:791016] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:791055] pilight-daemon: DEBUG: protocol lm76
[Dec 19 06:32:34:791088] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:791126] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:791156] pilight-daemon: DEBUG: protocol lm75
[Dec 19 06:32:34:791190] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:791226] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:791256] pilight-daemon: DEBUG: protocol gpio_switch
[Dec 19 06:32:34:791289] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:791323] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:791354] pilight-daemon: DEBUG: protocol ds18s20
[Dec 19 06:32:34:791388] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:791424] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:791454] pilight-daemon: DEBUG: protocol ds18b20
[Dec 19 06:32:34:791488] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:791524] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:791553] pilight-daemon: DEBUG: protocol dht22
[Dec 19 06:32:34:791587] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:791629] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:791660] pilight-daemon: DEBUG: protocol dht11
[Dec 19 06:32:34:791692] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:791733] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:791768] pilight-daemon: DEBUG: protocol bmp180
[Dec 19 06:32:34:791803] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:791845] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:791877] pilight-daemon: DEBUG: protocol generic_webcam
[Dec 19 06:32:34:791913] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:791945] pilight-daemon: DEBUG: protocol generic_weather
[Dec 19 06:32:34:791985] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:792017] pilight-daemon: DEBUG: protocol generic_switch
[Dec 19 06:32:34:792052] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:792085] pilight-daemon: DEBUG: protocol generic_screen
[Dec 19 06:32:34:792124] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:792154] pilight-daemon: DEBUG: protocol generic_label
[Dec 19 06:32:34:792188] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:792220] pilight-daemon: DEBUG: protocol generic_dimmer
[Dec 19 06:32:34:792259] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:792290] pilight-daemon: DEBUG: protocol xbmc
[Dec 19 06:32:34:792323] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:792359] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:792391] pilight-daemon: DEBUG: protocol wunderground
[Dec 19 06:32:34:792421] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:792467] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:792498] pilight-daemon: DEBUG: protocol sunriseset
[Dec 19 06:32:34:792529] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:792569] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:792601] pilight-daemon: DEBUG: protocol program
[Dec 19 06:32:34:792637] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:792678] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:792710] pilight-daemon: DEBUG: protocol openweathermap
[Dec 19 06:32:34:792742] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:792786] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:792816] pilight-daemon: DEBUG: protocol lirc
[Dec 19 06:32:34:792848] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:792883] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:792912] pilight-daemon: DEBUG: protocol datetime
[Dec 19 06:32:34:792942] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:792973] pilight-daemon: DEBUG: ran garbage collector
[Dec 19 06:32:34:793013] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:793043] pilight-daemon: DEBUG: protocol cpu_temp
[Dec 19 06:32:34:793073] pilight-daemon: DEBUG: stopped protocol threads
[Dec 19 06:32:34:793112] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:793144] pilight-daemon: DEBUG: protocol x10
[Dec 19 06:32:34:793179] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:793209] pilight-daemon: DEBUG: protocol tfa30
[Dec 19 06:32:34:793239] pilight-daemon: DEBUG: ran garbage collector
[Dec 19 06:32:34:793281] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:793311] pilight-daemon: DEBUG: protocol tfa
[Dec 19 06:32:34:793340] pilight-daemon: DEBUG: ran garbage collector
[Dec 19 06:32:34:793382] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:793416] pilight-daemon: DEBUG: protocol teknihall
[Dec 19 06:32:34:793446] pilight-daemon: DEBUG: ran garbage collector
[Dec 19 06:32:34:793487] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:793517] pilight-daemon: DEBUG: protocol techlico_switch
[Dec 19 06:32:34:793553] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:793583] pilight-daemon: DEBUG: protocol tcm
[Dec 19 06:32:34:793613] pilight-daemon: DEBUG: ran garbage collector
[Dec 19 06:32:34:793653] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:793683] pilight-daemon: DEBUG: protocol silvercrest
[Dec 19 06:32:34:793719] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:793750] pilight-daemon: DEBUG: protocol selectremote
[Dec 19 06:32:34:793786] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:793816] pilight-daemon: DEBUG: protocol secudo_smoke_sensor
[Dec 19 06:32:34:793850] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:793880] pilight-daemon: DEBUG: protocol sc2262
[Dec 19 06:32:34:793915] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:793944] pilight-daemon: DEBUG: protocol rsl366
[Dec 19 06:32:34:793981] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:794012] pilight-daemon: DEBUG: protocol rc101
[Dec 19 06:32:34:794048] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:794081] pilight-daemon: DEBUG: protocol quigg_screen
[Dec 19 06:32:34:794119] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:794149] pilight-daemon: DEBUG: protocol quigg_gt9000
[Dec 19 06:32:34:794183] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:794215] pilight-daemon: DEBUG: protocol quigg_gt7000
[Dec 19 06:32:34:794254] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:794285] pilight-daemon: DEBUG: protocol quigg_gt1000
[Dec 19 06:32:34:794323] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:794354] pilight-daemon: DEBUG: protocol pollin
[Dec 19 06:32:34:794390] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:794421] pilight-daemon: DEBUG: protocol ninjablocks_weather
[Dec 19 06:32:34:794451] pilight-daemon: DEBUG: ran garbage collector
[Dec 19 06:32:34:794490] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:794520] pilight-daemon: DEBUG: protocol mumbi
[Dec 19 06:32:34:794556] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:794586] pilight-daemon: DEBUG: protocol logilink_switch
[Dec 19 06:32:34:794624] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:794654] pilight-daemon: DEBUG: protocol impuls
[Dec 19 06:32:34:794689] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:794719] pilight-daemon: DEBUG: protocol heitech
[Dec 19 06:32:34:794756] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:794786] pilight-daemon: DEBUG: protocol ev1527
[Dec 19 06:32:34:794819] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:794848] pilight-daemon: DEBUG: protocol eurodomest_switch
[Dec 19 06:32:34:794887] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:794917] pilight-daemon: DEBUG: protocol elro_800_switch
[Dec 19 06:32:34:794954] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:794986] pilight-daemon: DEBUG: protocol elro_800_contact
[Dec 19 06:32:34:795022] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:795052] pilight-daemon: DEBUG: protocol elro_400_switch
[Dec 19 06:32:34:795088] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:795119] pilight-daemon: DEBUG: protocol elro_300_switch
[Dec 19 06:32:34:795156] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:795265] pilight-daemon: DEBUG: protocol ehome
[Dec 19 06:32:34:795306] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:795337] pilight-daemon: DEBUG: protocol daycom
[Dec 19 06:32:34:795374] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:795404] pilight-daemon: DEBUG: protocol conrad_rsl_switch
[Dec 19 06:32:34:795443] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:795472] pilight-daemon: DEBUG: protocol conrad_rsl_contact
[Dec 19 06:32:34:795507] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:795537] pilight-daemon: DEBUG: protocol cleverwatts
[Dec 19 06:32:34:795574] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:795607] pilight-daemon: DEBUG: protocol clarus_switch
[Dec 19 06:32:34:795644] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:795673] pilight-daemon: DEBUG: protocol beamish_switch
[Dec 19 06:32:34:795711] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:795742] pilight-daemon: DEBUG: protocol auriol
[Dec 19 06:32:34:795773] pilight-daemon: DEBUG: ran garbage collector
[Dec 19 06:32:34:795812] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:795842] pilight-daemon: DEBUG: protocol arctech_switch_old
[Dec 19 06:32:34:795880] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:795913] pilight-daemon: DEBUG: protocol arctech_switch
[Dec 19 06:32:34:795951] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:795986] pilight-daemon: DEBUG: protocol arctech_screen_old
[Dec 19 06:32:34:796022] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:796052] pilight-daemon: DEBUG: protocol arctech_screen
[Dec 19 06:32:34:796090] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:796122] pilight-daemon: DEBUG: protocol arctech_motion
[Dec 19 06:32:34:796157] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:796186] pilight-daemon: DEBUG: protocol arctech_dusk
[Dec 19 06:32:34:796221] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:796252] pilight-daemon: DEBUG: protocol arctech_dimmer
[Dec 19 06:32:34:796293] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:796322] pilight-daemon: DEBUG: protocol arctech_contact
[Dec 19 06:32:34:796358] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:796389] pilight-daemon: DEBUG: protocol alecto_wx500
[Dec 19 06:32:34:796418] pilight-daemon: DEBUG: ran garbage collector
[Dec 19 06:32:34:796462] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:796498] pilight-daemon: DEBUG: protocol alecto_wsd17
[Dec 19 06:32:34:796529] pilight-daemon: DEBUG: ran garbage collector
[Dec 19 06:32:34:796565] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:796595] pilight-daemon: DEBUG: protocol alecto_ws1700
[Dec 19 06:32:34:796627] pilight-daemon: DEBUG: ran garbage collector
[Dec 19 06:32:34:796669] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:796699] pilight-daemon: DEBUG: protocol process
[Dec 19 06:32:34:796734] pilight-daemon: DEBUG: freed options struct
[Dec 19 06:32:34:796764] pilight-daemon: DEBUG: garbage collected protocol library
[Dec 19 06:32:34:796806] pilight-daemon: DEBUG: garbage collected ntp library
[Dec 19 06:32:34:796875] pilight-daemon: DEBUG: stopping socket thread
[Dec 19 06:32:34:796913] pilight-daemon: DEBUG: stopped thread socket, 6 threads running
[Dec 19 06:32:34:806978] pilight-daemon: DEBUG: stopping ssdp thread
[Dec 19 06:32:34:807036] pilight-daemon: DEBUG: stopped thread ssdp, 5 threads running
[Dec 19 06:32:34:817091] pilight-daemon: DEBUG: stopping sender thread
[Dec 19 06:32:34:817230] pilight-daemon: DEBUG: stopped thread sender, 4 threads running
[Dec 19 06:32:34:827292] pilight-daemon: DEBUG: stopping broadcaster thread
[Dec 19 06:32:34:827373] pilight-daemon: DEBUG: stopped thread broadcaster, 3 threads running
[Dec 19 06:32:34:837436] pilight-daemon: DEBUG: stopping receive parser thread
[Dec 19 06:32:34:837513] pilight-daemon: DEBUG: stopped thread receive parser, 2 threads running
[Dec 19 06:32:34:847574] pilight-daemon: DEBUG: stopping events client thread
[Dec 19 06:32:34:847651] pilight-daemon: DEBUG: stopped thread events client, 1 thread running
[Dec 19 06:32:34:857712] pilight-daemon: DEBUG: stopping events loop thread
[Dec 19 06:32:34:857788] pilight-daemon: DEBUG: stopped thread events loop, 0 threads running
[Dec 19 06:32:34:867892] pilight-daemon: DEBUG: garbage collected threads library
[Dec 19 06:32:34:868382] pilight-daemon: DEBUG: garbage collected dso library
DEBUG: garbage collected log library

example: on [Dec 19 06:32:27:574324] the "message":{"id":12345678,"unit":0,"state":"up" was sent from main to clientized and executed successfully. 

mmmm.... so maybe the error came in between 8.0.4 and 8.0.9. I hope that it just does not work because i had to strip my config. current config: 
Code:
{
    "devices": {
        "temperatur1": {
            "protocol": [ "alecto_ws1700" ],
            "id": [{
                "id": 76
            }],
            "temperature": 21.5,
            "humidity": 43.0,
            "battery": 1
        },
        "temperatur2": {
            "protocol": [ "alecto_ws1700" ],
            "id": [{
                "id": 1
            }],
            "temperature": 8.3,
            "humidity": 60.0,
            "battery": 1
        },
        "next": {
            "protocol": [ "program" ],
            "id": [{
                "name": "Next"
            }],
            "program": "/etc/pilight/next.sh",
            "arguments": "",
            "stop-command": "/etc/pilight/next1.sh",
            "start-command": "/etc/pilight/./next.sh",
            "state": "stopped",
            "pid": 0
        },
        "toggle": {
            "protocol": [ "program" ],
            "id": [{
                "name": "Toggle"
            }],
            "program": "/etc/pilight/toggle.sh",
            "arguments": "",
            "stop-command": "/etc/pilight/toggle.sh",
            "start-command": "/etc/pilight/./toggle.sh",
            "state": "stopped",
            "pid": 0
        },
        "switch_R16_0": {
            "protocol": [ "intertechno_old" ],
            "id": [{
                "id": 0,
                "unit": 10
            }],
            "state": "off"
        },
        "switch_R16_1": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_old" ],
            "id": [{
                "id": 1,
                "unit": 10
            }],
            "state": "on"
        },
        "switch_R16_2": {
            "protocol": [ "intertechno_old" ],
            "id": [{
                "id": 2,
                "unit": 10
            }],
            "state": "on"
        },
        "switch_R16_3": {
            "protocol": [ "intertechno_old" ],
            "id": [{
                "id": 3,
                "unit": 10
            }],
            "state": "off"
        },
        "switch_R16_4": {
            "protocol": [ "intertechno_old" ],
            "id": [{
                "id": 4,
                "unit": 10
            }],
            "state": "off"
        },
        "switch_R16_13": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_old" ],
            "id": [{
                "id": 13,
                "unit": 10
            }],
            "state": "off"
        },
        "switch_R16_14": {
            "protocol": [ "intertechno_old" ],
            "id": [{
                "id": 14,
                "unit": 10
            }],
            "state": "off"
        },
        "switch_R16_15": {
            "uuid": "0000-b8-27-eb-7a60d0",
            "protocol": [ "intertechno_old" ],
            "id": [{
                "id": 15,
                "unit": 10
            }],
            "state": "off"
        },
        "switch_R2_0": {
            "protocol": [ "elro_400_switch" ],
            "id": [{
                "systemcode": 21,
                "unitcode": 15
            }],
            "state": "off"
        },
        "switch_R2_1": {
            "protocol": [ "elro_400_switch" ],
            "id": [{
                "systemcode": 21,
                "unitcode": 23
            }],
            "state": "off"
        },
        "switch_R1_1": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 24962886,
                "unit": 1
            }],
            "state": "on"
        },
        "switch_R1_0": {
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 24962886,
                "unit": 0
            }],
            "state": "on"
        },
        "switch_R1_2": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 24962886,
                "unit": 2
            }],
            "state": "off"
        },
        "switch_R1_3": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 24962886,
                "unit": 3
            }],
            "state": "off"
        },
        "switch_R5_0": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 24960866,
                "unit": 4
            }],
            "state": "off"
        },
        "switch_R5_1": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 24960866,
                "unit": 5
            }],
            "state": "on"
        },
        "switch_R5_2": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 24960866,
                "unit": 6
            }],
            "state": "off"
        },
        "switch_R5_3": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 24960866,
                "unit": 7
            }],
            "state": "off"
        },
        "wallswitch1_R": {
            "uuid": "0000-b8-27-eb-7a60d0",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 16881998,
                "unit": 10
            }],
            "state": "off"
        },
        "wallswitch1_L": {
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 16881998,
                "unit": 11
            }],
            "state": "off"
        },
        "motion_sensors_hall": {
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 20750698,
                "unit": 9
            },
            {
                "id": 20752322,
                "unit": 9
            },
            {
                "id": 22502738,
                "unit": 9
            }],
            "state": "off"
        },
        "hall_led_strip_master": {
            "uuid": "0000-b8-27-eb-7a60d0",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 11111333,
                "unit": 10
            }],
            "state": "on"
        },
        "roller_lr4": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 4
            }],
            "state": "off"
        },
        "roller_lr1": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 1
            }],
            "state": "off"
        },
        "roller_lr2": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 2
            }],
            "state": "on"
        },
        "roller_lr3": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 3
            }],
            "state": "on"
        },
        "roller_lr5": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 5
            }],
            "state": "on"
        },
        "roller_k1": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 11
            }],
            "state": "on"
        },
        "roller_k2": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 12
            }],
            "state": "on"
        },
        "roller_k3": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 13
            }],
            "state": "on"
        },
        "roller_br1": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 22222223,
                "unit": 14
            }],
            "state": "on"
        },
        "roller_sh1": {
            "uuid": "0000-b8-27-eb-7a60d0",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 18888888,
                "unit": 0
            }],
            "state": "off"
        },
        "roller_sh2": {
            "uuid": "0000-b8-27-eb-7a60d0",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 18888888,
                "unit": 15
            }],
            "state": "off"
        },
        "virtual_switch_sun": {
            "protocol": [ "generic_dimmer" ],
            "id": [{
                "id": 100
            }],
            "state": "on",
            "dimlevel": 1
        },
        "virtual_switch_wall_light_hall": {
            "uuid": "0000-b8-27-eb-7a60d0",
            "protocol": [ "kaku_dimmer" ],
            "id": [{
                "id": 11111112,
                "unit": 9
            }],
            "state": "off",
            "dimlevel": 11
        },
        "virtual_switch_PC": {
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 11111114,
                "unit": 0
            }],
            "state": "off"
        },
        "switch_R3_0": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 18910202,
                "unit": 0
            }],
            "state": "off"
        },
        "switch_R3_1": {
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 18910202,
                "unit": 1
            }],
            "state": "off"
        },
        "switch_R3_2": {
            "protocol": [ "kaku_dimmer" ],
            "id": [{
                "id": 18910202,
                "unit": 2
            }],
            "state": "on",
            "dimlevel": 7
        },
        "light_sensor": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "kaku_switch" ],
            "id": [{
                "id": 2070528,
                "unit": 1
            }],
            "state": "on"
        },
        "label": {
            "protocol": [ "generic_label" ],
            "id": [{
                "id": 100
            }],
            "label": "file_chg_roof: 2018-12-19_06:31 | file_chg_bw: 2018-12-19_06:29 | ws_roof: 5.0 | ws_buttwil: 6.4 | tempr_roof: 3.7 | age_bw: 13 minutes ago",
            "color": "black"
        },
        "test-slave": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 26473098,
                "unit": 1
            }],
            "state": "off"
        },
        "test-master": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 11118888,
                "unit": 2
            }],
            "state": "off"
        },
        "virtual_switch_hall": {
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 11111111,
                "unit": 10
            }],
            "state": "off"
        },
        "switch_ID_12345678": {
            "uuid": "0000-b8-27-eb-caec10",
            "protocol": [ "intertechno_switch" ],
            "id": [{
                "id": 12345678,
                "unit": 0
            }],
            "state": "on"
        },
        "dimmer_serial412100028": {
            "protocol": [ "kaku_dimmer" ],
            "id": [{
                "id": 11111113,
                "unit": 1
            }],
            "state": "off",
            "dimlevel": 7
        }
    },
    "rules": {
        "switch_hall_on": {
            "rule": "IF (motion_sensors_hall.state IS 1 AND virtual_switch_sun.dimlevel == 1) THEN switch DEVICE virtual_switch_hall TO on",
            "active": 1
        },
        "switch_hall_off": {
            "rule": "IF motion_sensors_hall.state IS 0 THEN switch DEVICE virtual_switch_hall TO off AFTER 205 SECOND",
            "active": 1
        },
        "switch_wall_light_hall_on": {
            "rule": "IF motion_sensors_hall.state IS 1 AND virtual_switch_sun.dimlevel == 1 THEN dim DEVICE virtual_switch_wall_light_hall TO 11",
            "active": 1
        },
        "switch_wall_light_hall_on_2": {
            "rule": "IF motion_sensors_hall.state IS 1 AND virtual_switch_sun.dimlevel == 2 THEN dim DEVICE virtual_switch_wall_light_hall TO 1",
            "active": 1
        },
        "switch_wall_light_hall_off": {
            "rule": "IF motion_sensors_hall.state IS 0 THEN switch DEVICE virtual_switch_wall_light_hall TO off AFTER 204 SECOND",
            "active": 1
        }
    },
    "gui": {
        "label": {
            "name": "Messwerte",
            "group": [ "Wetter & Temperatur" ],
            "media": [ "all" ]
        },
        "temperatur1": {
            "name": "wohnzimmer",
            "group": [ "Wetter & Temperatur" ],
            "media": [ "all" ],
            "show-battery": 1
        },
        "temperatur2": {
            "name": "Batterieraum",
            "group": [ "Wetter & Temperatur" ],
            "media": [ "all" ],
            "show-battery": 1
        },
        "switch_R1_1": {
            "name": "Esszimmer",
            "group": [ "Kueche & Wohnzimmer" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "switch_R1_2": {
            "name": "Sonne",
            "group": [ "Kueche & Wohnzimmer" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "switch_R1_3": {
            "name": "LED_Unterbau",
            "group": [ "Kueche & Wohnzimmer" ],
            "media": [ "all" ],
            "readonly": 0
        },
        "switch_R5_0": {
            "name": "Lampe_1",
            "group": [ "Kueche & Wohnzimmer" ],
            "media": [ "all" ]
        },
        "switch_R5_1": {
            "name": "Wandbild",
            "group": [ "Kueche & Wohnzimmer" ],
            "media": [ "all" ]
        },
        "switch_ID_12345678": {
            "name": "Lichterkette",
            "group": [ "Kueche & Wohnzimmer" ],
            "media": [ "all" ]
        },
        "virtual_switch_PC": {
            "name": "PC",
            "group": [ "Kueche & Wohnzimmer" ],
            "media": [ "all" ],
            "confirm": 1
        },
        "switch_R16_15": {
            "name": "Terrasse_Haustür",
            "group": [ "Outside" ],
            "media": [ "all" ]
        },
        "switch_R16_13": {
            "name": "Parkplatz",
            "group": [ "Outside" ],
            "media": [ "all" ]
        },
        "virtual_switch_sun": {
            "name": "day: 0, evening: 1, night: 2",
            "group": [ "Outside" ],
            "media": [ "all" ]
        },
        "light_sensor": {
            "name": "Nacht",
            "group": [ "Outside" ],
            "media": [ "all" ]
        },
        "wallswitch1_R": {
            "name": "Gästezimmer_Deckenlampe",
            "group": [ "Zimmer" ],
            "media": [ "all" ]
        },
        "motion_sensors_hall": {
            "name": "Bewegungsmelder Flur",
            "group": [ "Zimmer" ],
            "media": [ "all" ]
        },
        "virtual_switch_hall": {
            "name": "Flur",
            "group": [ "Zimmer" ],
            "media": [ "all" ]
        },
        "virtual_switch_wall_light_hall": {
            "name": "Wandlicht Flur",
            "group": [ "Zimmer" ],
            "media": [ "all" ]
        },
        "hall_led_strip_master": {
            "name": "LED Flur Master",
            "group": [ "Zimmer" ],
            "media": [ "all" ]
        },
        "roller_lr4": {
            "name": "Beschattung Wohnzimmer Nord-Ost",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_lr1": {
            "name": "Beschattung Wohnzimmer Ost",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_lr2": {
            "name": "Beschattung Wohnzimmer Sued-Ost",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_lr3": {
            "name": "Beschattung Wohnzimmer Sued",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_lr5": {
            "name": "Beschattung Wohnzimmer Sued-West",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_k1": {
            "name": "Beschattung Kueche links",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_k2": {
            "name": "Beschattung Kueche mitte",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_k3": {
            "name": "Beschattung Kueche rechts",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_br1": {
            "name": "Beschattung Bad",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_sh1": {
            "name": "Beschattung Solarthermie",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "roller_sh2": {
            "name": "Beschattung Solarthermie 2",
            "group": [ "Beschattung" ],
            "media": [ "all" ]
        },
        "test-master": {
            "name": "Test-Master",
            "group": [ "Test" ],
            "media": [ "all" ]
        },
        "test-slave": {
            "name": "Test-Slave",
            "group": [ "Test" ],
            "media": [ "all" ]
        }
    },
    "settings": {
        "log-level": 6,
        "pid-file": "/var/run/pilight.pid",
        "log-file": "/var/log/pilight.log",
        "webserver-enable": 1,
        "webserver-root": "/usr/local/share/pilight/webgui",
        "webserver-http-port": 5001,
        "webserver-cache": 1,
        "webgui-websockets": 1,
        "gpio-platform": "raspberrypi3"
    },
    "hardware": {
        "433gpio": {
            "sender": 0,
            "receiver": 1
        }
    },
    "registry": {
        "webgui": {
            "tabs": 0
        },
        "webserver": {
            "ssl": {
                "certificate": {
                    "location": "/etc/pilight/pilight.pem",
                    "secure": 0
                }
            }
        },
        "pilight": {
            "version": {
                "current": "8.0.4"
            }
        }
    }
}


Thanks
Tom
 
Reply
#7
Thanks for your investigation. But, it's very difficult to track the error when i don't know when it first occured. It is possible to be even more concrete? To be able to say like the error first occured in 8.0.5?
 
Reply
#8
ok, will test every version.
8.0.5: error does not occur.
8.0.6: will test now.
Bye
Tom
 
Reply
#9
Hi 

Testing takes time... 
but: found another issue with 8.0.5: communication between clientized and main deamon works (according to debug output), but:
- switching a device that runs on clientized daemon does not work via webgui and via pilight-control  (although communication seems normal)
- i can switch the same device by pilight-send ... so the pilight instance, antenna and everything else works on clientized daemon

weird... i will do a backup of the config to be able to reproduce it in January... no time until then.


Sorry,
Tom
 
Reply
#10
Where these issues not present in 8.0.4?
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight-send and pilight-daemon DieterK 0 511 06-20-2018, 12:44 AM
Last Post: DieterK
Bug Bug report: WIFI dongle stops when gpio_switch.gpio = 20 woutput 16 4,817 01-03-2018, 10:11 PM
Last Post: zackdvd
  Service doesn´t stop the daemon Alex 18 3,986 08-08-2017, 08:17 PM
Last Post: curlymo
  Chasing a Bug in daemon.c curlymo 2 1,116 12-13-2016, 12:48 AM
Last Post: wo_rasp
  pilight-daemon client in other subnet PT-Biker 1 821 12-11-2016, 09:42 PM
Last Post: curlymo
  pilight-daemon fails to start 2 of 3 times tietze111 4 1,647 12-11-2016, 09:06 PM
Last Post: tietze111
  pilight-daemon answers json request with html page michib 5 2,795 04-22-2016, 10:25 PM
Last Post: curlymo
Question [SOLVED]pilight-daemon: ERROR: config is not in a valid json format herrmeier 4 7,037 11-28-2015, 11:28 PM
Last Post: herrmeier
  Daemon hanging after sending raw derfrink 4 2,160 03-13-2015, 02:43 PM
Last Post: wo_rasp
  pilight - emulating api?, custom daemon as a data input sirkubax 2 2,846 01-25-2015, 08:24 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)