• 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
#11
Hi

For 8.0.4 i had to strip my config: had to delete ~15 generic dimmers wich 8.0.4  did not want to accept (ERROR: config device #17, invalid). 8.0.6 accepts them. 


Bye
Tom
 
Reply
#12
Isn't it nice to see how many work is put into pilight between each version Smile
 
Reply
#13
Hello again & a Happy New Year!



did some more tests:

1. main daemon & clientized daemon both on 8.0.2, communication stops after ~18 hours (longer than with other versions)

1.a) debug output of main daemon (on an RPi 3):
Code:
[Jan 01 17:40:05:497327] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":2.2804659529877598,"ram":1.1452633945237702},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0"}
[Jan 01 17:40:05:782559] pilight-daemon: DEBUG: successfully send arctech_switch code
[Jan 01 17:40:05:783291] pilight-daemon: DEBUG: socket recv: {"origin":"sender","protocol":"arctech_switch","message":{"id":11111333,"unit":10,"state":"on"},"uuid":"0000-b8-27-eb-7a60d0","repeat":1,"action":"update"}
[Jan 01 17:40:05:783489] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"arctech_switch","message":{"id":11111333,"unit":10,"state":"on"},"uuid":"0000-b8-27-eb-7a60d0","repeat":1}

[Jan 01 17:40:05:783522] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"arctech_switch","message":{"id":11111333,"unit":10,"state":"on"},"uuid":"0000-b8-27-eb-7a60d0","repeat":1}
[Jan 01 17:40:05:784325] pilight-daemon: DEBUG: socket write succeeded: {"origin":"sender","protocol":"arctech_switch","message":{"id":11111333,"unit":10,"state":"on"},"uuid":"0000-b8-27-eb-7a60d0","repeat":1}

[Jan 01 17:40:05:784411] pilight-daemon: DEBUG: broadcasted: {"origin":"sender","protocol":"arctech_switch","message":{"id":11111333,"unit":10,"state":"on"},"uuid":"0000-b8-27-eb-7a60d0","repeat":1}
[Jan 01 17:40:08:252310] pilight-daemon: DEBUG: socket recv: {"values":{"cpu":23.7511729000572096,"ram":1.0356745733863748},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0","action":"update"}
[Jan 01 17:40:08:498965] pilight-daemon: DEBUG: cpu: 1.275152%, ram: 1.145263%
[Jan 01 17:40:08:499079] pilight-daemon: DEBUG: - client: 0000-b8-27-eb-7a60d0 cpu: 23.751173%, ram: 1.035675%
[Jan 01 17:40:08:499674] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":1.2751518197566165,"ram":1.1452633945237702},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0"}

[Jan 01 17:40:08:499740] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":1.2751518197566165,"ram":1.1452633945237702},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0"}
[Jan 01 17:40:09:800798] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"switch_R1_2","state":"on"}}

[Jan 01 17:40:09:800924] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"switch_R1_2","state":"on"}}
[Jan 01 17:40:09:801234] pilight-daemon: DEBUG: socket write succeeded: {"code":{"id":24962886,"unit":2,"on":1,"protocol":["intertechno_switch"],"uuid":"0000-b8-27-eb-caec10"},"action":"send"}

[Jan 01 17:40:09:801417] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Jan 01 17:40:09:801741] pilight-daemon: DEBUG: socket recv: {"status":"success"}
[Jan 01 17:40:09:801800] pilight-daemon: DEBUG: client "0000-b8-27-eb-7a60d0" successfully executed our latest request
[Jan 01 17:40:11:254280] pilight-daemon: DEBUG: socket recv: {"values":{"cpu":24.1420676205724547,"ram":1.0356745733863748},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0","action":"update"}
[Jan 01 17:40:11:501494] pilight-daemon: DEBUG: cpu: 1.291072%, ram: 1.145263%
[Jan 01 17:40:11:501614] pilight-daemon: DEBUG: - client: 0000-b8-27-eb-7a60d0 cpu: 24.142068%, ram: 1.035675%
[Jan 01 17:40:11:502217] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":1.2910718584776482,"ram":1.1452633945237702},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0"}

[Jan 01 17:40:11:502284] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":1.2910718584776482,"ram":1.1452633945237702},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0"}
[Jan 01 17:40:13:742382] pilight-daemon: DEBUG: socket recv: {"message":{"id":4095,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":1,"action":"update"}
[Jan 01 17:40:13:743436] pilight-daemon: DEBUG: socket recv: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":1,"action":"update"}
[Jan 01 17:40:13:743651] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":4095,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":1}

[Jan 01 17:40:13:743706] pilight-daemon: DEBUG: broadcasted: {"message":{"id":4095,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":1}
[Jan 01 17:40:13:744891] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364413,"temperature":24.6,"humidity":45.0,"battery":1}}

[Jan 01 17:40:13:744969] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364413,"temperature":24.6,"humidity":45.0,"battery":1}}
[Jan 01 17:40:13:745372] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364413,"temperature":24.6,"humidity":45.0,"battery":1}}

[Jan 01 17:40:13:745432] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364413,"temperature":24.6,"humidity":45.0,"battery":1}}
[Jan 01 17:40:13:745685] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364413,"temperature":24.6,"humidity":45.0,"battery":1}}

[Jan 01 17:40:13:745735] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364413,"temperature":24.6,"humidity":45.0,"battery":1}}
[Jan 01 17:40:13:746034] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":1}

[Jan 01 17:40:13:746095] pilight-daemon: DEBUG: broadcasted: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":1}
[Jan 01 17:40:13:873301] pilight-daemon: DEBUG: socket recv: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":2,"action":"update"}
[Jan 01 17:40:13:874499] 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}

[Jan 01 17:40:13:874576] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":2}
[Jan 01 17:40:13:904608] pilight-daemon: DEBUG: socket recv: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":2,"action":"update"}
[Jan 01 17:40:13:905962] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364413,"temperature":24.6,"humidity":45.0,"battery":1}}

[Jan 01 17:40:13:906035] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364413,"temperature":24.6,"humidity":45.0,"battery":1}}
[Jan 01 17:40:13:906419] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364413,"temperature":24.6,"humidity":45.0,"battery":1}}

[Jan 01 17:40:13:906476] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364413,"temperature":24.6,"humidity":45.0,"battery":1}}
[Jan 01 17:40:13:906757] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364413,"temperature":24.6,"humidity":45.0,"battery":1}}

[Jan 01 17:40:13:906811] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364413,"temperature":24.6,"humidity":45.0,"battery":1}}
[Jan 01 17:40:13:907253] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":2}

[Jan 01 17:40:13:907311] pilight-daemon: DEBUG: broadcasted: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":2}
[  Jan 01 17:40:14:4062] pilight-daemon: DEBUG: socket recv: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":3,"action":"update"}
[  Jan 01 17:40:14:5246] 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}

[  Jan 01 17:40:14:5320] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":3}
[ Jan 01 17:40:14:34606] pilight-daemon: DEBUG: socket recv: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":3,"action":"update"}
[ Jan 01 17:40:14:35978] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364414,"temperature":24.6,"humidity":45.0,"battery":1}}

[ Jan 01 17:40:14:36050] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364414,"temperature":24.6,"humidity":45.0,"battery":1}}
[ Jan 01 17:40:14:36426] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364414,"temperature":24.6,"humidity":45.0,"battery":1}}

[ Jan 01 17:40:14:36481] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364414,"temperature":24.6,"humidity":45.0,"battery":1}}
[ Jan 01 17:40:14:36760] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364414,"temperature":24.6,"humidity":45.0,"battery":1}}

[ Jan 01 17:40:14:36813] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364414,"temperature":24.6,"humidity":45.0,"battery":1}}
[ Jan 01 17:40:14:37259] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":3}

[ Jan 01 17:40:14:37317] pilight-daemon: DEBUG: broadcasted: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":3}
[Jan 01 17:40:14:135040] pilight-daemon: DEBUG: socket recv: {"message":{"id":2045,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":4,"action":"update"}
[Jan 01 17:40:14:136171] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":2045,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":4}

[Jan 01 17:40:14:136245] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2045,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-7a60d0","repeats":4}
[Jan 01 17:40:14:174609] pilight-daemon: DEBUG: socket recv: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":4,"action":"update"}
[Jan 01 17:40:14:175962] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364414,"temperature":24.6,"humidity":45.0,"battery":1}}

[Jan 01 17:40:14:176029] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364414,"temperature":24.6,"humidity":45.0,"battery":1}}
[Jan 01 17:40:14:176411] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364414,"temperature":24.6,"humidity":45.0,"battery":1}}

[Jan 01 17:40:14:176468] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364414,"temperature":24.6,"humidity":45.0,"battery":1}}
[Jan 01 17:40:14:176748] pilight-daemon: DEBUG: socket write succeeded: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364414,"temperature":24.6,"humidity":45.0,"battery":1}}

[Jan 01 17:40:14:176800] pilight-daemon: DEBUG: broadcasted: {"origin":"update","type":3,"uuid":"0000-b8-27-eb-7a60d0","devices":["temperatur1"],"values":{"timestamp":1546364414,"temperature":24.6,"humidity":45.0,"battery":1}}
[Jan 01 17:40:14:177241] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":4}

[Jan 01 17:40:14:177298] pilight-daemon: DEBUG: broadcasted: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-7a60d0","repeats":4}
[Jan 01 17:40:14:256273] pilight-daemon: DEBUG: socket recv: {"values":{"cpu":8.7262096641365101,"ram":1.0356745733863748},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0","action":"update"}
[Jan 01 17:40:14:504013] pilight-daemon: DEBUG: cpu: 3.104761%, ram: 1.145263%
[Jan 01 17:40:14:504129] pilight-daemon: DEBUG: - client: 0000-b8-27-eb-7a60d0 cpu: 8.726210%, ram: 1.035675%
[Jan 01 17:40:14:504760] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":3.1047609124162907,"ram":1.1452633945237702},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0"}

[Jan 01 17:40:14:504819] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":3.1047609124162907,"ram":1.1452633945237702},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0"}
[Jan 01 17:40:17:266420] pilight-daemon: DEBUG: socket recv: {"values":{"cpu":23.2538972237451311,"ram":1.0356745733863748},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0","action":"update"}
[Jan 01 17:40:17:506617] pilight-daemon: DEBUG: cpu: 1.323235%, ram: 1.145263%
[Jan 01 17:40:17:506732] pilight-daemon: DEBUG: - client: 0000-b8-27-eb-7a60d0 cpu: 23.253897%, ram: 1.035675%
[Jan 01 17:40:17:507315] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":1.3232346127045171,"ram":1.1452633945237702},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0"}

[Jan 01 17:40:17:507378] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":1.3232346127045171,"ram":1.1452633945237702},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0"}
[Jan 01 17:40:20:283627] pilight-daemon: DEBUG: socket recv: {"values":{"cpu":23.2197573611395107,"ram":1.0356745733863748},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0","action":"update"}
[Jan 01 17:40:20:509097] pilight-daemon: DEBUG: cpu: 1.295562%, ram: 1.145263%
[Jan 01 17:40:20:509210] pilight-daemon: DEBUG: - client: 0000-b8-27-eb-7a60d0 cpu: 23.219757%, ram: 1.035675%
[Jan 01 17:40:20:509838] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":1.2955617040184162,"ram":1.1452633945237702},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0"}

[Jan 01 17:40:20:510019] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":1.2955617040184162,"ram":1.1452633945237702},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0"}












[Jan 01 17:40:22:767205] pilight-daemon: DEBUG: socket write succeeded: {"action":"control","code":{"device":"switch_R1_2","state":"off"}}

[Jan 01 17:40:22:767322] pilight-daemon: DEBUG: socket recv: {"action":"control","code":{"device":"switch_R1_2","state":"off"}}
[Jan 01 17:40:22:767701] pilight-daemon: DEBUG: socket write succeeded: {"code":{"id":24962886,"unit":2,"off":1,"protocol":["intertechno_switch"],"uuid":"0000-b8-27-eb-caec10"},"action":"send"}

[Jan 01 17:40:22:767872] pilight-daemon: DEBUG: socket write succeeded: {"status":"success"}

[Jan 01 17:40:22:768135] pilight-daemon: DEBUG: socket recv: {"status":"success"}
[Jan 01 17:40:22:768193] pilight-daemon: DEBUG: client "0000-b8-27-eb-7a60d0" successfully executed our latest request
[Jan 01 17:40:23:301120] pilight-daemon: DEBUG: socket recv: {"values":{"cpu":23.2450619524591140,"ram":1.0356745733863748},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0","action":"update"}
[Jan 01 17:40:23:511630] pilight-daemon: DEBUG: cpu: 1.448199%, ram: 1.145263%
[Jan 01 17:40:23:511757] pilight-daemon: DEBUG: - client: 0000-b8-27-eb-7a60d0 cpu: 23.245062%, ram: 1.035675%
[Jan 01 17:40:23:512398] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":1.4481991952714153,"ram":1.1452633945237702},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0"}

[Jan 01 17:40:23:512463] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":1.4481991952714153,"ram":1.1452633945237702},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0"}
[Jan 01 17:40:26:318472] pilight-daemon: DEBUG: socket recv: {"values":{"cpu":23.3123086975881755,"ram":1.0356745733863748},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0","action":"update"}
[Jan 01 17:40:26:514194] pilight-daemon: DEBUG: cpu: 1.317957%, ram: 1.145263%
[Jan 01 17:40:26:514308] pilight-daemon: DEBUG: - client: 0000-b8-27-eb-7a60d0 cpu: 23.312309%, ram: 1.035675%
[Jan 01 17:40:26:514915] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":1.3179565834257849,"ram":1.1452633945237702},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0"}

[Jan 01 17:40:26:514986] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":1.3179565834257849,"ram":1.1452633945237702},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-7a60d0"}
^C[Jan 01 17:40:28:270483] pilight-daemon: DEBUG: received interrupt signal, stopping pilight...
[Jan 01 17:40:28:277379] pilight-daemon: DEBUG: garbage collected event operator library
[Jan 01 17:40:28:277472] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:277511] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:277542] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:277577] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:277611] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:277646] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:277682] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:277710] pilight-daemon: DEBUG: garbage collected event action library
[Jan 01 17:40:28:277751] pilight-daemon: DEBUG: garbage collected event function library
[Jan 01 17:40:28:277782] pilight-daemon: DEBUG: garbage collected events library
[Jan 01 17:40:28:279057] pilight-daemon: INFO: removed stale pid_file /var/run/pilight.pid
[Jan 01 17:40:28:281082] pilight-daemon: DEBUG: garbage collected fcache library
[Jan 01 17:40:28:281175] pilight-daemon: DEBUG: garbage collected sha256cache library
[Jan 01 17:40:28:281209] pilight-daemon: DEBUG: garbage collected webserver library
[Jan 01 17:40:28:281248] pilight-daemon: DEBUG: garbage collected datetime library
[Jan 01 17:40:28:281579] pilight-daemon: DEBUG: garbage collected ssdp library
[Jan 01 17:40:28:281641] pilight-daemon: DEBUG: garbage collected options library
[Jan 01 17:40:28:282081] pilight-daemon: DEBUG: client disconnected, ip 10.23.6.26, port 39994
[Jan 01 17:40:28:282980] pilight-daemon: DEBUG: client disconnected, ip 127.0.0.1, port 39994
[Jan 01 17:40:28:283356] pilight-daemon: DEBUG: garbage collected socket library
[Jan 01 17:40:28:283890] pilight-daemon: DEBUG: stopping thread program
[Jan 01 17:40:28:283951] pilight-daemon: DEBUG: stopped thread program, 12 threads running
[Jan 01 17:40:28:284011] pilight-daemon: DEBUG: stopping thread program
[Jan 01 17:40:28:284044] pilight-daemon: DEBUG: stopped thread program, 11 threads running
[Jan 01 17:40:28:284914] pilight-daemon: DEBUG: garbage collected config devices library
[Jan 01 17:40:28:284974] pilight-daemon: DEBUG: garbage collected config rules library
[Jan 01 17:40:28:285215] pilight-daemon: DEBUG: garbage collected config gui library
[Jan 01 17:40:28:285270] pilight-daemon: DEBUG: garbage collected config settings library
[Jan 01 17:40:28:285316] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:285352] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:285386] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:285512] pilight-daemon: DEBUG: stopping thread 433gpio
[Jan 01 17:40:28:285556] pilight-daemon: DEBUG: stopped thread 433gpio, 10 threads running
[Jan 01 17:40:28:285594] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:285621] pilight-daemon: DEBUG: garbage collected config hardware library
[Jan 01 17:40:28:285668] pilight-daemon: DEBUG: garbage collected config registry library
[Jan 01 17:40:28:285697] pilight-daemon: DEBUG: garbage collected config library
[Jan 01 17:40:28:285731] pilight-daemon: DEBUG: protocol raw
[Jan 01 17:40:28:285761] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:285789] pilight-daemon: DEBUG: protocol pilight_firmware
[Jan 01 17:40:28:285820] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:285846] pilight-daemon: DEBUG: protocol pilight_firmware
[Jan 01 17:40:28:285877] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:285904] pilight-daemon: DEBUG: protocol ping
[Jan 01 17:40:28:285935] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:285970] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:285997] pilight-daemon: DEBUG: protocol arping
[Jan 01 17:40:28:286027] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:286060] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:286089] pilight-daemon: DEBUG: protocol relay
[Jan 01 17:40:28:286114] pilight-daemon: DEBUG: ran garbage collector
[Jan 01 17:40:28:286147] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:286173] pilight-daemon: DEBUG: protocol lm76
[Jan 01 17:40:28:286203] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:286235] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:286265] pilight-daemon: DEBUG: protocol lm75
[Jan 01 17:40:28:286294] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:286326] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:286352] pilight-daemon: DEBUG: protocol gpio_switch
[Jan 01 17:40:28:286383] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:286417] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:286443] pilight-daemon: DEBUG: protocol ds18s20
[Jan 01 17:40:28:286472] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:286504] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:286530] pilight-daemon: DEBUG: protocol ds18b20
[Jan 01 17:40:28:286559] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:286591] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:286620] pilight-daemon: DEBUG: protocol dht22
[Jan 01 17:40:28:286649] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:286685] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:286712] pilight-daemon: DEBUG: protocol dht11
[Jan 01 17:40:28:286741] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:286775] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:286801] pilight-daemon: DEBUG: protocol bmp180
[Jan 01 17:40:28:286830] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:286870] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:286897] pilight-daemon: DEBUG: protocol generic_webcam
[Jan 01 17:40:28:286930] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:286956] pilight-daemon: DEBUG: protocol generic_weather
[Jan 01 17:40:28:286991] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:287018] pilight-daemon: DEBUG: protocol generic_switch
[Jan 01 17:40:28:287050] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:287076] pilight-daemon: DEBUG: protocol generic_screen
[Jan 01 17:40:28:287110] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:287136] pilight-daemon: DEBUG: protocol generic_label
[Jan 01 17:40:28:287166] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:287193] pilight-daemon: DEBUG: protocol generic_dimmer
[Jan 01 17:40:28:287227] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:287253] pilight-daemon: DEBUG: protocol xbmc
[Jan 01 17:40:28:287282] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:287313] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:287341] pilight-daemon: DEBUG: protocol wunderground
[Jan 01 17:40:28:287370] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:287412] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:287438] pilight-daemon: DEBUG: protocol sunriseset
[Jan 01 17:40:28:287468] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:287501] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:287527] pilight-daemon: DEBUG: protocol program
[Jan 01 17:40:28:287557] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:287593] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:287619] pilight-daemon: DEBUG: protocol openweathermap
[Jan 01 17:40:28:287650] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:287690] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:287717] pilight-daemon: DEBUG: protocol lirc
[Jan 01 17:40:28:287747] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:287777] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:287803] pilight-daemon: DEBUG: protocol datetime
[Jan 01 17:40:28:287833] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:287859] pilight-daemon: DEBUG: ran garbage collector
[Jan 01 17:40:28:287896] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:287922] pilight-daemon: DEBUG: protocol cpu_temp
[Jan 01 17:40:28:287952] pilight-daemon: DEBUG: stopped protocol threads
[Jan 01 17:40:28:287984] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:288010] pilight-daemon: DEBUG: protocol x10
[Jan 01 17:40:28:288041] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:288068] pilight-daemon: DEBUG: protocol tfa30
[Jan 01 17:40:28:288094] pilight-daemon: DEBUG: ran garbage collector
[Jan 01 17:40:28:288128] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:288154] pilight-daemon: DEBUG: protocol tfa
[Jan 01 17:40:28:288180] pilight-daemon: DEBUG: ran garbage collector
[Jan 01 17:40:28:288217] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:288247] pilight-daemon: DEBUG: protocol teknihall
[Jan 01 17:40:28:288273] pilight-daemon: DEBUG: ran garbage collector
[Jan 01 17:40:28:288310] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:288336] pilight-daemon: DEBUG: protocol techlico_switch
[Jan 01 17:40:28:288368] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:288395] pilight-daemon: DEBUG: protocol tcm
[Jan 01 17:40:28:288420] pilight-daemon: DEBUG: ran garbage collector
[Jan 01 17:40:28:288456] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:288483] pilight-daemon: DEBUG: protocol silvercrest
[Jan 01 17:40:28:288516] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:288542] pilight-daemon: DEBUG: protocol selectremote
[Jan 01 17:40:28:288574] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:288600] pilight-daemon: DEBUG: protocol secudo_smoke_sensor
[Jan 01 17:40:28:288630] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:288656] pilight-daemon: DEBUG: protocol sc2262
[Jan 01 17:40:28:288687] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:288713] pilight-daemon: DEBUG: protocol rsl366
[Jan 01 17:40:28:288746] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:288773] pilight-daemon: DEBUG: protocol rc101
[Jan 01 17:40:28:288806] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:288833] pilight-daemon: DEBUG: protocol quigg_screen
[Jan 01 17:40:28:288868] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:288894] pilight-daemon: DEBUG: protocol quigg_gt9000
[Jan 01 17:40:28:288925] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:288952] pilight-daemon: DEBUG: protocol quigg_gt7000
[Jan 01 17:40:28:288986] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:289013] pilight-daemon: DEBUG: protocol quigg_gt1000
[Jan 01 17:40:28:289047] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:289073] pilight-daemon: DEBUG: protocol pollin
[Jan 01 17:40:28:289105] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:289132] pilight-daemon: DEBUG: protocol ninjablocks_weather
[Jan 01 17:40:28:289159] pilight-daemon: DEBUG: ran garbage collector
[Jan 01 17:40:28:289193] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:289219] pilight-daemon: DEBUG: protocol mumbi
[Jan 01 17:40:28:289252] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:289278] pilight-daemon: DEBUG: protocol logilink_switch
[Jan 01 17:40:28:289310] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:289337] pilight-daemon: DEBUG: protocol impuls
[Jan 01 17:40:28:289370] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:289397] pilight-daemon: DEBUG: protocol heitech
[Jan 01 17:40:28:289427] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:289453] pilight-daemon: DEBUG: protocol ev1527
[Jan 01 17:40:28:289484] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:289510] pilight-daemon: DEBUG: protocol eurodomest_switch
[Jan 01 17:40:28:289545] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:289571] pilight-daemon: DEBUG: protocol elro_800_switch
[Jan 01 17:40:28:289604] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:289631] pilight-daemon: DEBUG: protocol elro_800_contact
[Jan 01 17:40:28:289662] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:289688] pilight-daemon: DEBUG: protocol elro_400_switch
[Jan 01 17:40:28:289722] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:289748] pilight-daemon: DEBUG: protocol elro_300_switch
[Jan 01 17:40:28:289782] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:289808] pilight-daemon: DEBUG: protocol ehome
[Jan 01 17:40:28:289839] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:289865] pilight-daemon: DEBUG: protocol daycom
[Jan 01 17:40:28:289897] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:289923] pilight-daemon: DEBUG: protocol conrad_rsl_switch
[Jan 01 17:40:28:289959] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:289985] pilight-daemon: DEBUG: protocol conrad_rsl_contact
[Jan 01 17:40:28:290015] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:290041] pilight-daemon: DEBUG: protocol cleverwatts
[Jan 01 17:40:28:290075] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:290101] pilight-daemon: DEBUG: protocol clarus_switch
[Jan 01 17:40:28:290133] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:290169] pilight-daemon: DEBUG: protocol beamish_switch
[Jan 01 17:40:28:290204] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:290230] pilight-daemon: DEBUG: protocol auriol
[Jan 01 17:40:28:290257] pilight-daemon: DEBUG: ran garbage collector
[Jan 01 17:40:28:290291] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:290317] pilight-daemon: DEBUG: protocol arctech_switch_old
[Jan 01 17:40:28:290350] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:290381] pilight-daemon: DEBUG: protocol arctech_switch
[Jan 01 17:40:28:290414] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:290444] pilight-daemon: DEBUG: protocol arctech_screen_old
[Jan 01 17:40:28:290477] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:290504] pilight-daemon: DEBUG: protocol arctech_screen
[Jan 01 17:40:28:290538] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:290566] pilight-daemon: DEBUG: protocol arctech_motion
[Jan 01 17:40:28:290598] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:290624] pilight-daemon: DEBUG: protocol arctech_dusk
[Jan 01 17:40:28:290655] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:290681] pilight-daemon: DEBUG: protocol arctech_dimmer
[Jan 01 17:40:28:290718] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:290744] pilight-daemon: DEBUG: protocol arctech_contact
[Jan 01 17:40:28:290776] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:290803] pilight-daemon: DEBUG: protocol alecto_wx500
[Jan 01 17:40:28:290829] pilight-daemon: DEBUG: ran garbage collector
[Jan 01 17:40:28:290870] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:290900] pilight-daemon: DEBUG: protocol alecto_wsd17
[Jan 01 17:40:28:290926] pilight-daemon: DEBUG: ran garbage collector
[Jan 01 17:40:28:290958] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:290983] pilight-daemon: DEBUG: protocol alecto_ws1700
[Jan 01 17:40:28:291011] pilight-daemon: DEBUG: ran garbage collector
[Jan 01 17:40:28:291047] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:291073] pilight-daemon: DEBUG: protocol process
[Jan 01 17:40:28:291102] pilight-daemon: DEBUG: freed options struct
[Jan 01 17:40:28:291127] pilight-daemon: DEBUG: garbage collected protocol library
[Jan 01 17:40:28:291160] pilight-daemon: DEBUG: garbage collected ntp library
[Jan 01 17:40:28:291213] pilight-daemon: DEBUG: stopping socket thread
[Jan 01 17:40:28:291246] pilight-daemon: DEBUG: stopped thread socket, 9 threads running
[Jan 01 17:40:28:301360] pilight-daemon: DEBUG: stopping ssdp thread
[Jan 01 17:40:28:301475] pilight-daemon: DEBUG: stopped thread ssdp, 8 threads running
[Jan 01 17:40:28:311621] pilight-daemon: DEBUG: stopping sender thread
[Jan 01 17:40:28:311814] pilight-daemon: DEBUG: stopped thread sender, 7 threads running
[Jan 01 17:40:28:321965] pilight-daemon: DEBUG: stopping broadcaster thread
[Jan 01 17:40:28:322102] pilight-daemon: DEBUG: stopped thread broadcaster, 6 threads running
[Jan 01 17:40:28:332259] pilight-daemon: DEBUG: stopping receive parser thread
[Jan 01 17:40:28:332407] pilight-daemon: DEBUG: stopped thread receive parser, 5 threads running
[Jan 01 17:40:28:342562] pilight-daemon: DEBUG: stopping events client thread
[Jan 01 17:40:28:342706] pilight-daemon: DEBUG: stopped thread events client, 4 threads running
[Jan 01 17:40:28:352861] pilight-daemon: DEBUG: stopping events loop thread
[Jan 01 17:40:28:352994] pilight-daemon: DEBUG: stopped thread events loop, 3 threads running
[Jan 01 17:40:28:363147] pilight-daemon: DEBUG: stopping webserver worker #0 thread
[Jan 01 17:40:28:363266] pilight-daemon: DEBUG: stopped thread webserver worker #0, 2 threads running
[Jan 01 17:40:28:373419] pilight-daemon: DEBUG: stopping webserver client thread
[Jan 01 17:40:28:373542] pilight-daemon: DEBUG: stopped thread webserver client, 1 thread running
[Jan 01 17:40:28:383694] pilight-daemon: DEBUG: stopping webserver broadcast thread
[Jan 01 17:40:28:383812] pilight-daemon: DEBUG: stopped thread webserver broadcast, 0 threads running
[Jan 01 17:40:28:394023] pilight-daemon: DEBUG: garbage collected threads library
[Jan 01 17:40:28:394613] pilight-daemon: DEBUG: garbage collected dso library
DEBUG: garbage collected log library


1.b) debug output of clientized daemon (on an RPi 3B+). 
Code:
[Jan 01 17:40:05:608007] pilight-daemon: DEBUG: broadcasted: {"message":{"id":11111333,"unit":10,"state":"opened"},"origin":"receiver","protocol":"arctech_contact","uuid":"0000-b8-27-eb-caec10","repeats":4}
[ Jan 01 17:40:06:25275] pilight-daemon: DEBUG: cpu: 39.087913%, ram: 1.094109%
[ Jan 01 17:40:06:25729] pilight-daemon: DEBUG: socket write failed: {"values":{"cpu":39.0879125922720760,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}

[ Jan 01 17:40:06:25788] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":39.0879125922720760,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10"}











[ Jan 01 17:40:09:26436] pilight-daemon: DEBUG: cpu: 34.984578%, ram: 1.094109%
[ Jan 01 17:40:09:26676] pilight-daemon: DEBUG: socket write failed: {"values":{"cpu":34.9845783910360737,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}

[ Jan 01 17:40:09:26702] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":34.9845783910360737,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10"}






[ Jan 01 17:40:12:27616] pilight-daemon: DEBUG: cpu: 34.808583%, ram: 1.094109%
[ Jan 01 17:40:12:27847] pilight-daemon: DEBUG: socket write failed: {"values":{"cpu":34.8085830866874630,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}

[ Jan 01 17:40:12:27874] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":34.8085830866874630,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10"}

[Jan 01 17:40:13:736728] pilight-daemon: DEBUG: possible alecto_wx500 protocol
[Jan 01 17:40:13:736782] pilight-daemon: DEBUG: recevied pulse length of 269
[Jan 01 17:40:13:736798] pilight-daemon: DEBUG: caught minimum # of repeats 1 of alecto_wx500
[Jan 01 17:40:13:736813] pilight-daemon: DEBUG: called alecto_wx500 parseRaw()
[Jan 01 17:40:13:736832] pilight-daemon: DEBUG: possible alecto_wsd17 protocol
[Jan 01 17:40:13:736844] pilight-daemon: DEBUG: recevied pulse length of 269
[Jan 01 17:40:13:736856] pilight-daemon: DEBUG: caught minimum # of repeats 1 of alecto_wsd17
[Jan 01 17:40:13:736870] pilight-daemon: DEBUG: called alecto_wsd17 parseRaw()
[Jan 01 17:40:13:737043] pilight-daemon: DEBUG: possible alecto_ws1700 protocol
[Jan 01 17:40:13:737060] pilight-daemon: DEBUG: recevied pulse length of 269
[Jan 01 17:40:13:737073] pilight-daemon: DEBUG: caught minimum # of repeats 1 of alecto_ws1700
[Jan 01 17:40:13:737086] pilight-daemon: DEBUG: called alecto_ws1700 parseRaw()
[Jan 01 17:40:13:737318] 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"}

[Jan 01 17:40:13:737344] pilight-daemon: DEBUG: broadcasted: {"message":{"id":4095,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":1}
[Jan 01 17:40:13:737749] pilight-daemon: DEBUG: socket write failed: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":1,"action":"update"}

[Jan 01 17:40:13:737780] pilight-daemon: DEBUG: broadcasted: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":1}
[Jan 01 17:40:13:867581] pilight-daemon: DEBUG: possible alecto_wx500 protocol
[Jan 01 17:40:13:867606] pilight-daemon: DEBUG: recevied pulse length of 270
[Jan 01 17:40:13:867621] pilight-daemon: DEBUG: caught minimum # of repeats 2 of alecto_wx500
[Jan 01 17:40:13:867635] pilight-daemon: DEBUG: called alecto_wx500 parseRaw()
[Jan 01 17:40:13:867653] pilight-daemon: DEBUG: possible alecto_wsd17 protocol
[Jan 01 17:40:13:867667] pilight-daemon: DEBUG: recevied pulse length of 270
[Jan 01 17:40:13:867680] pilight-daemon: DEBUG: caught minimum # of repeats 2 of alecto_wsd17
[Jan 01 17:40:13:867693] pilight-daemon: DEBUG: called alecto_wsd17 parseRaw()
[Jan 01 17:40:13:867834] pilight-daemon: DEBUG: possible alecto_ws1700 protocol
[Jan 01 17:40:13:867851] pilight-daemon: DEBUG: recevied pulse length of 270
[Jan 01 17:40:13:867863] pilight-daemon: DEBUG: caught minimum # of repeats 2 of alecto_ws1700
[Jan 01 17:40:13:867876] pilight-daemon: DEBUG: called alecto_ws1700 parseRaw()
[Jan 01 17:40:13:868091] pilight-daemon: DEBUG: socket write failed: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":2,"action":"update"}

[Jan 01 17:40:13:868118] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":2}
[Jan 01 17:40:13:868466] pilight-daemon: DEBUG: socket write failed: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":2,"action":"update"}

[Jan 01 17:40:13:868504] pilight-daemon: DEBUG: broadcasted: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":2}
[Jan 01 17:40:14:260145] pilight-daemon: DEBUG: possible alecto_wx500 protocol
[Jan 01 17:40:14:260200] pilight-daemon: DEBUG: recevied pulse length of 270
[Jan 01 17:40:14:260218] pilight-daemon: DEBUG: caught minimum # of repeats 3 of alecto_wx500
[Jan 01 17:40:14:260231] pilight-daemon: DEBUG: called alecto_wx500 parseRaw()
[Jan 01 17:40:14:260250] pilight-daemon: DEBUG: possible alecto_wsd17 protocol
[Jan 01 17:40:14:260263] pilight-daemon: DEBUG: recevied pulse length of 270
[Jan 01 17:40:14:260275] pilight-daemon: DEBUG: caught minimum # of repeats 3 of alecto_wsd17
[Jan 01 17:40:14:260289] pilight-daemon: DEBUG: called alecto_wsd17 parseRaw()
[Jan 01 17:40:14:260458] pilight-daemon: DEBUG: possible alecto_ws1700 protocol
[Jan 01 17:40:14:260475] pilight-daemon: DEBUG: recevied pulse length of 270
[Jan 01 17:40:14:260487] pilight-daemon: DEBUG: caught minimum # of repeats 3 of alecto_ws1700
[Jan 01 17:40:14:260501] pilight-daemon: DEBUG: called alecto_ws1700 parseRaw()
[Jan 01 17:40:14:260738] pilight-daemon: DEBUG: socket write failed: {"message":{"id":4095,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":3,"action":"update"}

[Jan 01 17:40:14:260766] pilight-daemon: DEBUG: broadcasted: {"message":{"id":4095,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":3}
[Jan 01 17:40:14:261164] pilight-daemon: DEBUG: socket write failed: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":3,"action":"update"}

[Jan 01 17:40:14:261196] pilight-daemon: DEBUG: broadcasted: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":3}
[Jan 01 17:40:14:390921] pilight-daemon: DEBUG: possible alecto_wx500 protocol
[Jan 01 17:40:14:390949] pilight-daemon: DEBUG: recevied pulse length of 266
[Jan 01 17:40:14:390964] pilight-daemon: DEBUG: caught minimum # of repeats 4 of alecto_wx500
[Jan 01 17:40:14:390977] pilight-daemon: DEBUG: called alecto_wx500 parseRaw()
[Jan 01 17:40:14:390995] pilight-daemon: DEBUG: possible alecto_wsd17 protocol
[Jan 01 17:40:14:391007] pilight-daemon: DEBUG: recevied pulse length of 266
[Jan 01 17:40:14:391022] pilight-daemon: DEBUG: caught minimum # of repeats 4 of alecto_wsd17
[Jan 01 17:40:14:391035] pilight-daemon: DEBUG: called alecto_wsd17 parseRaw()
[Jan 01 17:40:14:391182] pilight-daemon: DEBUG: possible alecto_ws1700 protocol
[Jan 01 17:40:14:391198] pilight-daemon: DEBUG: recevied pulse length of 266
[Jan 01 17:40:14:391210] pilight-daemon: DEBUG: caught minimum # of repeats 4 of alecto_ws1700
[Jan 01 17:40:14:391223] pilight-daemon: DEBUG: called alecto_ws1700 parseRaw()
[Jan 01 17:40:14:391470] 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"}

[Jan 01 17:40:14:391505] pilight-daemon: DEBUG: broadcasted: {"message":{"id":2047,"temperature":409.5},"origin":"receiver","protocol":"alecto_wsd17","uuid":"0000-b8-27-eb-caec10","repeats":4}
[Jan 01 17:40:14:391839] pilight-daemon: DEBUG: socket write failed: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":4,"action":"update"}

[Jan 01 17:40:14:391871] pilight-daemon: DEBUG: broadcasted: {"message":{"id":76,"temperature":24.6,"humidity":45.0,"battery":1},"origin":"receiver","protocol":"alecto_ws1700","uuid":"0000-b8-27-eb-caec10","repeats":4}
[ Jan 01 17:40:15:28901] pilight-daemon: DEBUG: cpu: 36.352925%, ram: 1.094109%
[ Jan 01 17:40:15:29104] pilight-daemon: DEBUG: socket write failed: {"values":{"cpu":36.3529250024595143,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}

[ Jan 01 17:40:15:29130] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":36.3529250024595143,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10"}
[ Jan 01 17:40:18:30075] pilight-daemon: DEBUG: cpu: 35.144823%, ram: 1.094109%
[ Jan 01 17:40:18:30565] pilight-daemon: DEBUG: socket write failed: {"values":{"cpu":35.1448232636983775,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}

[ Jan 01 17:40:18:30625] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":35.1448232636983775,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10"}
[ Jan 01 17:40:21:31175] pilight-daemon: DEBUG: cpu: 34.794837%, ram: 1.094109%
[ Jan 01 17:40:21:31419] pilight-daemon: DEBUG: socket write failed: {"values":{"cpu":34.7948373393757890,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}

[ Jan 01 17:40:21:31446] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":34.7948373393757890,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10"}
[ Jan 01 17:40:24:32151] pilight-daemon: DEBUG: cpu: 34.792765%, ram: 1.094109%
[ Jan 01 17:40:24:32394] pilight-daemon: DEBUG: socket write failed: {"values":{"cpu":34.7927646733932576,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}

[ Jan 01 17:40:24:32421] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":34.7927646733932576,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10"}
[ Jan 01 17:40:27:33120] pilight-daemon: DEBUG: cpu: 36.549923%, ram: 1.094109%
[ Jan 01 17:40:27:33348] pilight-daemon: DEBUG: socket write failed: {"values":{"cpu":36.5499225682443836,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}

[ Jan 01 17:40:27:33383] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":36.5499225682443836,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10"}
[ Jan 01 17:40:30:34236] pilight-daemon: DEBUG: cpu: 34.832022%, ram: 1.094109%
[ Jan 01 17:40:30:34471] pilight-daemon: DEBUG: socket write failed: {"values":{"cpu":34.8320215145451826,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10","action":"update"}

[ Jan 01 17:40:30:34505] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":34.8320215145451826,"ram":1.0941094193678853},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-caec10"}
^C[Jan 01 17:40:31:687256] pilight-daemon: DEBUG: received interrupt signal, stopping pilight...




Getötet
pi@rpi3bp:~ $
pi@rpi3bp:~ $
pi@rpi3bp:~ $
pi@rpi3bp:~ $
pi@rpi3bp:~ $ date
Die Jan  1 18:16:53 UTC 2019
pi@rpi3bp:~ $ sudo pilight-daemon --version
pilight-daemon version v8.0.2


(note 1: the additional newlines are from me)
(note 2: the debug logs are 5000 and 6000 lines, but too large to post here. let me know if I should post them as attachement)



I can't see anything that points to the error from the debug log. Interesting is: mostly (always?) when the communication between both did not work any more, then I had to kill the clientized daemon. As you can see in the debug output I stopped the clientized daemon (at 17:40 with Crtl-C) and waited patiently for 36min before i killed it (on another shell), had to use '-9'.

I now went back to only 1 pilight daemon. In summer I will try it again with 2 daemons as i need the extended range to control some rollers. 

Let me know what I can do to troubleshoot further...


Thanks
Tom
 
Reply
#14
That kill -9 part is very usefull, because that would indicate that pilight hangs or deadlocks somewhere. Is there still a version that just works? Or do they all fail after some time from version 8 onwards?
 
Reply
#15
Hi

I tested all versions >= 8.0.2. I did not test 8.0.1 & 8.0.0.   Crying

Do you have any ideas on how to debug further?


Bye
Tom
 
Reply
#16
We still miss the one version that just works. That the key here.
 
Reply
#17
(01-12-2019, 06:53 PM)curlymo Wrote: We still miss the one version that just works. That the key here.

Hi ho

I supposed that it might not even be a problem between main and client, but even a more general problem. So I changed to only one main daemon (no clientized pilight anymore, only one pilight instance running in my network), disabled my script that checks pilight sanity and restarts it and did a trace, after 18hours pilight crashed :

Code:
[Feb 11 10:10:06:733433] pilight-daemon: DEBUG: broadcasted: {"message":{"id":22222223,"unit":5,"state":"off"},"origin":"receiver","protocol":"arctech_dimmer","uuid":"0000-b8-27-eb-caec10","repeats":5}
[Feb 11 10:10:06:734187] pilight-daemon: DEBUG: socket write succeeded: {"message":{"id":132238,"unit":5,"state":"closed"},"origin":"receiver","protocol":"arctech_contact","uuid":"0000-b8-27-eb-caec10","repeats":5}

[Feb 11 10:10:06:734250] pilight-daemon: DEBUG: broadcasted: {"message":{"id":132238,"unit":5,"state":"closed"},"origin":"receiver","protocol":"arctech_contact","uuid":"0000-b8-27-eb-caec10","repeats":5}

Thread 10 "pilight-daemon" received signal SIGABRT, Aborted.
[Switching to Thread 0x71aff470 (LWP 31185)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: Datei oder Verzeichnis nicht gefunden.
(gdb)
(gdb)
(gdb)
(gdb) Quit
(gdb) backtrace
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x763c1824 in __GI_abort () at abort.c:89
#2  0x763faf78 in __libc_message (do_abort=do_abort@entry=2, fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:175
#3  0x76401ad4 in malloc_printerr (action=<optimized out>, str=0x764b4070 "double free or corruption (fasttop)", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5049
#4  0x76402514 in _int_free (av=0x75000010, p=0x750009a0, have_lock=<optimized out>) at malloc.c:3905
#5  0x767a1a30 in json_delete () from /usr/local/lib/libpilight.so
#6  0x0000d7b8 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) frame 6
#6  0x0000d7b8 in ?? ()
(gdb) frame 7
#0  0x00000000 in ?? ()
(gdb) frame 6
#6  0x0000d7b8 in ?? ()
(gdb) frame 5
#5  0x767a1a30 in json_delete () from /usr/local/lib/libpilight.so
(gdb) frame 4
#4  0x76402514 in _int_free (av=0x75000010, p=0x750009a0, have_lock=<optimized out>) at malloc.c:3905
3905 malloc.c: Datei oder Verzeichnis nicht gefunden.
(gdb) frame 3
#3  0x76401ad4 in malloc_printerr (action=<optimized out>, str=0x764b4070 "double free or corruption (fasttop)", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5049
5049 in malloc.c
(gdb) frame 2
#2  0x763faf78 in __libc_message (do_abort=do_abort@entry=2, fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:175
175 ../sysdeps/posix/libc_fatal.c: Datei oder Verzeichnis nicht gefunden.
(gdb) frame 1
#1  0x763c1824 in __GI_abort () at abort.c:89
89 abort.c: Datei oder Verzeichnis nicht gefunden.


Don't know what to do next...

Thanks
Tom
 
Reply
#18
sorry, forgot to mention: 
Code:
pilight-daemon version v8.1.4
 
Reply
#19
Can you please first edit your post and use code tags?
 
Reply
#20
done Wink
 
Reply
  


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

Forum Jump:


Browsing: 1 Guest(s)