• 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:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Incompatibility in handling of rules:
#5
No. It was the first run after compilation. I killed the process and started pilight again in debug mode. It was running for about 20 minutes before i stopped it and restarted it again.
Code:
[Mar 05 22:34:34:655018] pilight-daemon: DEBUG: rule #10 RuleLampen_off_sunrise was parsed in 0.000106 seconds
[Mar 05 22:34:35:334731] pilight-daemon: DEBUG: cpu: 7.088581%, ram: 2.269477%
[Mar 05 22:34:35:334964] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":7.088581,"ram":2.269477},"origin":"core","type":-1}
[Mar 05 22:34:35:652372] pilight-daemon: DEBUG: broadcasted: {"message":{"longitude":10.559400,"latitude":52.244300,"year":2016,"month":3,"day":5,"weekday":7,"hour":23,"minute":34,"second":35,"dst":0},"origin":"receiver","protocol":"datetime","uuid":"0000-b8-27-eb-13d705","repeats":1}
[Mar 05 22:34:35:654777] pilight-daemon: DEBUG: rule #7 RuleLampen_on_sunset was parsed in 0.000507 seconds
[Mar 05 22:34:35:655081] pilight-daemon: DEBUG: rule #8 RuleLampen_off_4h_sunset was parsed in 0.000117 seconds
[Mar 05 22:34:35:655748] pilight-daemon: DEBUG: rule #9 RuleLampen_on_1h_sunrise was parsed in 0.000532 seconds
[Mar 05 22:34:35:655993] pilight-daemon: DEBUG: rule #10 RuleLampen_off_sunrise was parsed in 0.000107 seconds
[Mar 05 22:34:36:653319] pilight-daemon: DEBUG: broadcasted: {"message":{"longitude":10.559400,"latitude":52.244300,"year":2016,"month":3,"day":5,"weekday":7,"hour":23,"minute":34,"second":36,"dst":0},"origin":"receiver","protocol":"datetime","uuid":"0000-b8-27-eb-13d705","repeats":1}
[Mar 05 22:34:36:655765] pilight-daemon: DEBUG: rule #7 RuleLampen_on_sunset was parsed in 0.000636 seconds
[Mar 05 22:34:36:656062] pilight-daemon: DEBUG: rule #8 RuleLampen_off_4h_sunset was parsed in 0.000111 seconds
[Mar 05 22:34:36:656774] pilight-daemon: DEBUG: rule #9 RuleLampen_on_1h_sunrise was parsed in 0.000588 seconds
[Mar 05 22:34:36:657048] pilight-daemon: DEBUG: rule #10 RuleLampen_off_sunrise was parsed in 0.000108 seconds
[Mar 05 22:34:37:420965] pilight-daemon: DEBUG: possible tfa protocol
[Mar 05 22:34:37:421055] pilight-daemon: DEBUG: recevied pulse length of 224
[Mar 05 22:34:37:421098] pilight-daemon: DEBUG: caught minimum # of repeats 1 of tfa
[Mar 05 22:34:37:421140] pilight-daemon: DEBUG: called tfa parseRaw()
[Mar 05 22:34:37:421370] pilight-daemon: DEBUG: broadcasted: {"message":{"id":245,"temperature":14.88,"humidity":48.00,"channel":2,"battery":1},"origin":"receiver","protocol":"tfa","uuid":"0000-b8-27-eb-13d705","repeats":1}
[Mar 05 22:34:37:421873] pilight-daemon: DEBUG: rule #19 Rule_TH_Anbau was parsed in 0.000117 seconds
[Mar 05 22:34:37:422959] pilight-daemon: INFO: executed rule: Rule_TH_Keller
[Mar 05 22:34:37:423035] pilight-daemon: DEBUG: rule #20 Rule_TH_Keller was parsed in 0.000543 seconds
[Mar 05 22:34:37:423116] pilight-daemon: INFO: started "label" action for device "LBL_TH_Keller"
[Mar 05 22:34:37:423274] pilight-daemon: DEBUG: rule #21 Rule_TH_Aussen was parsed in 0.000115 seconds
[Mar 05 22:34:37:423527] pilight-daemon: DEBUG: rule #22 Rule_TH_Bad was parsed in 0.000091 seconds
[Mar 05 22:34:37:423815] pilight-daemon: INFO: stopped "label" action for device "LBL_TH_Keller"
[Mar 05 22:34:37:423837] pilight-daemon: DEBUG: rule #23 Rule_TH_SZimmer was parsed in 0.000091 seconds
[Mar 05 22:34:37:424309] pilight-daemon: DEBUG: broadcasted: {"message":{"id":101,"label":"05.03.2016 23:34","color":"black"},"protocol":"generic_label","uuid":"0000-b8-27-eb-13d705","repeats":1}
[Mar 05 22:34:37:572518] pilight-daemon: DEBUG: possible tfa protocol
[Mar 05 22:34:37:572614] pilight-daemon: DEBUG: recevied pulse length of 224
[Mar 05 22:34:37:572660] pilight-daemon: DEBUG: caught minimum # of repeats 2 of tfa
[Mar 05 22:34:37:572702] pilight-daemon: DEBUG: called tfa parseRaw()
[Mar 05 22:34:37:572933] pilight-daemon: DEBUG: broadcasted: {"message":{"id":245,"temperature":14.88,"humidity":48.00,"channel":2,"battery":1},"origin":"receiver","protocol":"tfa","uuid":"0000-b8-27-eb-13d705","repeats":2}
[Mar 05 22:34:37:573461] pilight-daemon: DEBUG: rule #19 Rule_TH_Anbau was parsed in 0.000136 seconds
[Mar 05 22:34:37:574719] pilight-daemon: INFO: executed rule: Rule_TH_Keller
[Mar 05 22:34:37:574807] pilight-daemon: INFO: started "label" action for device "LBL_TH_Keller"
[Mar 05 22:34:37:574798] pilight-daemon: DEBUG: rule #20 Rule_TH_Keller was parsed in 0.000572 seconds
[Mar 05 22:34:37:575089] pilight-daemon: DEBUG: rule #21 Rule_TH_Aussen was parsed in 0.000109 seconds
[Mar 05 22:34:37:575327] pilight-daemon: DEBUG: rule #22 Rule_TH_Bad was parsed in 0.000088 seconds
[Mar 05 22:34:37:575538] pilight-daemon: DEBUG: rule #23 Rule_TH_SZimmer was parsed in 0.000081 seconds
[Mar 05 22:34:37:575660] pilight-daemon: INFO: stopped "label" action for device "LBL_TH_Keller"
[Mar 05 22:34:37:576036] pilight-daemon: DEBUG: broadcasted: {"message":{"id":101,"label":"05.03.2016 23:34","color":"black"},"protocol":"generic_label","uuid":"0000-b8-27-eb-13d705","repeats":1}
[Mar 05 22:34:37:654220] pilight-daemon: DEBUG: broadcasted: {"message":{"longitude":10.559400,"latitude":52.244300,"year":2016,"month":3,"day":5,"weekday":7,"hour":23,"minute":34,"second":37,"dst":0},"origin":"receiver","protocol":"datetime","uuid":"0000-b8-27-eb-13d705","repeats":1}
[Mar 05 22:34:37:656595] pilight-daemon: DEBUG: rule #7 RuleLampen_on_sunset was parsed in 0.000537 seconds
[Mar 05 22:34:37:656908] pilight-daemon: DEBUG: rule #8 RuleLampen_off_4h_sunset was parsed in 0.000132 seconds
[Mar 05 22:34:37:657562] pilight-daemon: DEBUG: rule #9 RuleLampen_on_1h_sunrise was parsed in 0.000522 seconds
[Mar 05 22:34:37:657794] pilight-daemon: DEBUG: rule #10 RuleLampen_off_sunrise was parsed in 0.000106 seconds
[Mar 05 22:34:37:875397] pilight-daemon: DEBUG: possible tfa protocol
[Mar 05 22:34:37:875489] pilight-daemon: DEBUG: recevied pulse length of 224
[Mar 05 22:34:37:875533] pilight-daemon: DEBUG: caught minimum # of repeats 3 of tfa
[Mar 05 22:34:37:875573] pilight-daemon: DEBUG: called tfa parseRaw()
[Mar 05 22:34:37:875807] pilight-daemon: DEBUG: broadcasted: {"message":{"id":245,"temperature":14.88,"humidity":48.00,"channel":2,"battery":1},"origin":"receiver","protocol":"tfa","uuid":"0000-b8-27-eb-13d705","repeats":3}
[Mar 05 22:34:37:876344] pilight-daemon: DEBUG: rule #19 Rule_TH_Anbau was parsed in 0.000148 seconds
[Mar 05 22:34:37:877783] pilight-daemon: INFO: executed rule: Rule_TH_Keller
[Mar 05 22:34:37:877811] pilight-daemon: INFO: started "label" action for device "LBL_TH_Keller"
[Mar 05 22:34:37:877888] pilight-daemon: DEBUG: rule #20 Rule_TH_Keller was parsed in 0.000933 seconds
[Mar 05 22:34:37:878116] pilight-daemon: DEBUG: rule #21 Rule_TH_Aussen was parsed in 0.000104 seconds
[Mar 05 22:34:37:878391] pilight-daemon: DEBUG: rule #22 Rule_TH_Bad was parsed in 0.000088 seconds
[Mar 05 22:34:37:878606] pilight-daemon: INFO: stopped "label" action for device "LBL_TH_Keller"
[Mar 05 22:34:37:878641] pilight-daemon: DEBUG: rule #23 Rule_TH_SZimmer was parsed in 0.000084 seconds
[Mar 05 22:34:37:879076] pilight-daemon: DEBUG: broadcasted: {{"id":101,"label":"05.03.2016 23:34","color":"black"},"protocol":"generic_label","uuid":"0000-b8-27-eb-13d705","repeats":1}
[ Mar 05 22:34:38:26906] pilight-daemon: DEBUG: possible tfa protocol
[ Mar 05 22:34:38:27005] pilight-daemon: DEBUG: recevied pulse length of 224
[ Mar 05 22:34:38:27049] pilight-daemon: DEBUG: caught minimum # of repeats 4 of tfa
[ Mar 05 22:34:38:27089] pilight-daemon: DEBUG: called tfa parseRaw()
[ Mar 05 22:34:38:27330] pilight-daemon: DEBUG: broadcasted: {"message":{"id":245,"temperature":14.88,"humidity":48.00,"channel":2,"battery":1},"origin":"receiver","protocol":"tfa","uuid":"0000-b8-27-eb-13d705","repeats":4}
[ Mar 05 22:34:38:27839] pilight-daemon: DEBUG: rule #19 Rule_TH_Anbau was parsed in 0.000131 seconds
[ Mar 05 22:34:38:29034] pilight-daemon: INFO: executed rule: Rule_TH_Keller
[ Mar 05 22:34:38:29113] pilight-daemon: DEBUG: rule #20 Rule_TH_Keller was parsed in 0.000567 seconds
[ Mar 05 22:34:38:29126] pilight-daemon: INFO: started "label" action for device "LBL_TH_Keller"
[ Mar 05 22:34:38:29344] pilight-daemon: DEBUG: rule #21 Rule_TH_Aussen was parsed in 0.000096 seconds
[ Mar 05 22:34:38:29611] pilight-daemon: DEBUG: rule #22 Rule_TH_Bad was parsed in 0.000089 seconds
[ Mar 05 22:34:38:29819] pilight-daemon: INFO: stopped "label" action for device "LBL_TH_Keller"
[ Mar 05 22:34:38:29858] pilight-daemon: DEBUG: rule #23 Rule_TH_SZimmer was parsed in 0.000080 seconds
[ Mar 05 22:34:38:30393] pilight-daemon: DEBUG: broadcasted: {{"id":101,"label":"05.03.2016 23:34","color":"black"},"protocol":"generic_label","uuid":"0000-b8-27-eb-13d705","repeats":1}
[Mar 05 22:34:38:334989] pilight-daemon: DEBUG: cpu: 4.776880%, ram: 2.269477%
[Mar 05 22:34:38:335261] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":4.776880,"ram":2.269477},"origin":"core","type":-1}
[Mar 05 22:34:38:655116] pilight-daemon: DEBUG: broadcasted: {"message":{"longitude":10.559400,"latitude":52.244300,"year":2016,"month":3,"day":5,"weekday":7,"hour":23,"minute":34,"second":38,"dst":0},"origin":"receiver","protocol":"datetime","uuid":"0000-b8-27-eb-13d705","repeats":1}
[Mar 05 22:34:38:657482] pilight-daemon: DEBUG: rule #7 RuleLampen_on_sunset was parsed in 0.000489 seconds
[Mar 05 22:34:38:657774] pilight-daemon: DEBUG: rule #8 RuleLampen_off_4h_sunset was parsed in 0.000114 seconds
[Mar 05 22:34:38:658527] pilight-daemon: DEBUG: rule #9 RuleLampen_on_1h_sunrise was parsed in 0.000616 seconds
[Mar 05 22:34:38:658782] pilight-daemon: DEBUG: rule #10 RuleLampen_off_sunrise was parsed in 0.000107 seconds
[Mar 05 22:34:39:656027] pilight-daemon: DEBUG: broadcasted: {"message":{"longitude":10.559400,"latitude":52.244300,"year":2016,"month":3,"day":5,"weekday":7,"hour":23,"minute":34,"second":39,"dst":0},"origin":"receiver","protocol":"datetime","uuid":"0000-b8-27-eb-13d705","repeats":1}
[Mar 05 22:34:39:658372] pilight-daemon: DEBUG: rule #7 RuleLampen_on_sunset was parsed in 0.000487 seconds
[Mar 05 22:34:39:658666] pilight-daemon: DEBUG: rule #8 RuleLampen_off_4h_sunset was parsed in 0.000115 seconds
[Mar 05 22:34:39:659442] pilight-daemon: DEBUG: rule #9 RuleLampen_on_1h_sunrise was parsed in 0.000635 seconds
[Mar 05 22:34:39:659700] pilight-daemon: DEBUG: rule #10 RuleLampen_off_sunrise was parsed in 0.000109 seconds
I stopped the daemon and restarted it again, this time it stopped responding:
Code:
[Mar 05 22:37:24:607166] pilight-daemon: DEBUG: broadcasted: {"message":{"longitude":10.559400,"latitude":52.244300,"year":2016,"month":3,"day":5,"weekday":7,"hour":23,"minute":37,"second":24,"dst":0},"origin":"receiver","protocol":"datetime","uuid":"0000-b8-27-eb-13d705","repeats":1}
[Mar 05 22:37:24:609433] pilight-daemon: DEBUG: rule #7 RuleLampen_on_sunset was parsed in 0.000468 seconds
[Mar 05 22:37:24:609702] pilight-daemon: DEBUG: rule #8 RuleLampen_off_4h_sunset was parsed in 0.000109 seconds
[Mar 05 22:37:24:610331] pilight-daemon: DEBUG: rule #9 RuleLampen_on_1h_sunrise was parsed in 0.000509 seconds
[Mar 05 22:37:24:610558] pilight-daemon: DEBUG: rule #10 RuleLampen_off_sunrise was parsed in 0.000105 seconds
[Mar 05 22:37:25:607758] pilight-daemon: DEBUG: broadcasted: {"message":{"longitude":10.559400,"latitude":52.244300,"year":2016,"month":3,"day":5,"weekday":7,"hour":23,"minute":37,"second":25,"dst":0},"origin":"receiver","protocol":"datetime","uuid":"0000-b8-27-eb-13d705","repeats":1}
[Mar 05 22:37:25:609349] pilight-daemon: DEBUG: rule #7 RuleLampen_on_sunset was parsed in 0.000316 seconds
[Mar 05 22:37:25:609534] pilight-daemon: DEBUG: rule #8 RuleLampen_off_4h_sunset was parsed in 0.000075 seconds
[Mar 05 22:37:25:609953] pilight-daemon: DEBUG: rule #9 RuleLampen_on_1h_sunrise was parsed in 0.000337 seconds
[Mar 05 22:37:25:610106] pilight-daemon: DEBUG: rule #10 RuleLampen_off_sunrise was parsed in 0.000071 seconds
[Mar 05 22:37:25:737116] pilight-daemon: DEBUG: trying to sync with ntp-server pool.ntp.org
Pressing CTRL+C terminated pilight:
Code:
^C
[Mar 05 22:37:45:572410] pilight-daemon: DEBUG: cpu: 100.450209%, ram: 2.255132%
[Mar 05 22:40:25:843205] pilight-daemon: DEBUG: received interrupt signal, stopping pilight...
[Mar 05 22:40:25:843881] pilight-daemon: DEBUG: cpu: 100.000741%, ram: 2.255132%
[Mar 05 22:40:25:844254] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":100.450209,"ram":2.255132},"origin":"core","type":-1}
[Mar 05 22:40:25:844312] pilight-daemon: DEBUG: rule #8 RuleLampen_off_4h_sunset was parsed in 0.000124 seconds
[Mar 05 22:40:25:844359] pilight-daemon: DEBUG: broadcasted: {"message":{"longitude":10.559400,"latitude":52.244300,"year":2016,"month":3,"day":5,"weekday":7,"hour":23,"minute":40,"second":25,"dst":0},"origin":"receiver","protocol":"datetime","uuid":"0000-b8-27-eb-13d705","repeats":1}
[Mar 05 22:40:25:844444] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":100.000741,"ram":2.255132},"origin":"core","type":-1}
[Mar 05 22:40:25:845053] pilight-daemon: DEBUG: rule #9 RuleLampen_on_1h_sunrise was parsed in 0.000473 seconds
[Mar 05 22:40:25:845529] pilight-daemon: DEBUG: rule #10 RuleLampen_off_sunrise was parsed in 0.000092 seconds
[Mar 05 22:40:25:846104] pilight-daemon: DEBUG: rule #7 RuleLampen_on_sunset was parsed in 0.000322 seconds
[Mar 05 22:40:25:846349] pilight-daemon: DEBUG: rule #8 RuleLampen_off_4h_sunset was parsed in 0.000131 seconds
[Mar 05 22:40:25:846831] pilight-daemon: DEBUG: rule #9 RuleLampen_on_1h_sunrise was parsed in 0.000387 seconds
[Mar 05 22:40:25:847059] pilight-daemon: DEBUG: rule #10 RuleLampen_off_sunrise was parsed in 0.000098 seconds
[Mar 05 22:40:25:847445] pilight-daemon: DEBUG: garbage collected event operator library
[Mar 05 22:40:25:847538] pilight-daemon: DEBUG: garbage collected event action library
[Mar 05 22:40:25:847591] pilight-daemon: DEBUG: garbage collected event function library
[Mar 05 22:40:25:847619] pilight-daemon: DEBUG: garbage collected events library
[Mar 05 22:40:25:847898] pilight-daemon: INFO: removed stale pid_file /var/run/pilight.pid
[Mar 05 22:40:25:847969] pilight-daemon: DEBUG: garbage collected fcache library
[Mar 05 22:40:25:848001] pilight-daemon: DEBUG: garbage collected sha256cache library
[Mar 05 22:40:25:848029] pilight-daemon: DEBUG: garbage collected webserver library
[Mar 05 22:40:25:848054] pilight-daemon: DEBUG: garbage collected datetime library
[Mar 05 22:40:25:848112] pilight-daemon: DEBUG: garbage collected options library
[Mar 05 22:40:25:848142] pilight-daemon: DEBUG: garbage collected socket library
[Mar 05 22:40:25:848170] pilight-daemon: DEBUG: [Z-Wave]: closing and freeing z-wave modules, please wait...
[Mar 05 22:40:25:848209] pilight-daemon: DEBUG: garbage collected config hardware library
[Mar 05 22:40:25:862192] pilight-daemon: DEBUG: garbage collected config rules library
[Mar 05 22:40:25:862273] pilight-daemon: DEBUG: garbage collected config storage library
[Mar 05 22:40:25:862953] pilight-daemon: DEBUG: garbage collected protocol library
[Mar 05 22:40:25:862988] pilight-daemon: DEBUG: garbage collected ntp library
[Mar 05 22:40:25:863134] pilight-daemon: DEBUG: garbage collected threads library
[Mar 05 22:40:25:863765] pilight-daemon: DEBUG: garbage collected wiringX library
[Mar 05 22:40:25:863825] pilight-daemon: DEBUG: garbage collected dso library
DEBUG: garbage collected log library
 
Reply
  


Messages In This Thread
RE: Incompatibility in handling of rules: - by wo_rasp - 03-05-2016, 11:59 PM

Forum Jump:


Browsing: 1 Guest(s)