activate_scenario.sh
Mon Jun 17 20:48:30 CEST 2024
scenario: offAll
phoneName: kanaDaham
vorher: 20:48:30.187
http://192.168.12.101/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "input" |
nachher: 20:48:30.238
Dauer: 51 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.201
http://192.168.12.102/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "input" |
nachher: 20:48:30.413
Dauer: 212 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.214
http://192.168.12.103/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "http" |
nachher: 20:48:30.244
Dauer: 29 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.227
http://192.168.12.104/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "input" |
nachher: 20:48:30.298
Dauer: 70 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.240
http://192.168.12.105/relay/0?turn=off |
---|
nachher: 20:48:33.299
Dauer: 3059 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.257
http://192.168.12.106/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 20:48:30.283
Dauer: 25 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.269
http://192.168.12.107/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 20:48:30.326
Dauer: 56 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.281
http://192.168.12.108/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 20:48:30.403
Dauer: 121 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.297
http://192.168.12.109/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 20:48:30.429
Dauer: 131 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.314
http://192.168.12.110/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 20:48:30.337
Dauer: 23 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.326
http://192.168.12.112/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 20:48:30.544
Dauer: 219 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.340
http://192.168.12.115/white/0?turn=off&brightness=50 |
---|
nachher: 20:48:33.395
Dauer: 3055 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.353
http://192.168.12.115/white/1?turn=off&brightness=50 |
---|
nachher: 20:48:33.396
Dauer: 3043 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.365
http://192.168.12.115/white/2?turn=off&brightness=50 |
---|
nachher: 20:48:33.396
Dauer: 3030 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.379
http://192.168.12.115/white/3?turn=off&brightness=50 |
---|
nachher: 20:48:33.396
Dauer: 3017 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.393
http://192.168.12.116/white/0?turn=off&brightness=50 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 50, "transition": 0, "power": 27.13, "overpower": false |
nachher: 20:48:30.417
Dauer: 23 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.406
http://192.168.12.116/white/1?turn=off&brightness=50 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 50, "transition": 0, "power": 27.13, "overpower": false |
nachher: 20:48:30.456
Dauer: 50 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.421
http://192.168.12.116/white/2?turn=off&brightness=50 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 50, "transition": 0, "power": 0, "overpower": false |
nachher: 20:48:30.512
Dauer: 92 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.437
http://192.168.12.116/white/3?turn=off&brightness=50 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 50, "transition": 0, "power": 0, "overpower": false |
nachher: 20:48:30.535
Dauer: 97 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.451
http://192.168.12.117/white/0?turn=off&brightness=50 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 50, "transition": 0, "power": 0, "overpower": false |
nachher: 20:48:30.480
Dauer: 28 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.464
http://192.168.12.117/white/1?turn=off&brightness=50 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 50, "transition": 0, "power": 0, "overpower": false |
nachher: 20:48:30.514
Dauer: 51 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.480
http://192.168.12.117/white/2?turn=off&brightness=50 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 50, "transition": 0, "power": 0, "overpower": false |
nachher: 20:48:30.599
Dauer: 120 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.493
http://192.168.12.117/white/3?turn=off&brightness=50 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 50, "transition": 0, "power": 0, "overpower": false |
nachher: 20:48:30.589
Dauer: 96 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.507
http://192.168.12.118/color/0?turn=off&red=128&green=128&blue=128&white=128 |
---|
nachher: 20:48:33.587
Dauer: 3081 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.521
http://192.168.12.119/relay/0?turn=off |
---|
nachher: 20:48:33.587
Dauer: 3067 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.536
http://192.168.12.120/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 20:48:30.634
Dauer: 99 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.548
http://192.168.12.122/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 20:48:30.583
Dauer: 34 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.563
http://192.168.12.123/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 20:48:30.634
Dauer: 70 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.576
http://192.168.12.124/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 20:48:30.644
Dauer: 69 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.589
http://192.168.12.125/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 20:48:30.653
Dauer: 63 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.604
http://192.168.12.134/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "overpower": false |
nachher: 20:48:30.733
Dauer: 128 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.617
http://192.168.12.135/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "overpower": false |
nachher: 20:48:30.731
Dauer: 113 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.630
http://192.168.12.140/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 20:48:30.741
Dauer: 111 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.646
http://192.168.12.141/light/0?turn=off&brightness=50 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 50, "transition": 0 |
nachher: 20:48:30.754
Dauer: 108 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.660
http://192.168.12.142/light/0?turn=off&brightness=50 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 50, "transition": 0 |
nachher: 20:48:30.774
Dauer: 113 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.676
http://192.168.12.147/relay/0?turn=off |
---|
nachher: 20:48:33.747
Dauer: 3072 msec
phName: 'phoneName:'kanaDaham''
vorher: 20:48:30.690
http://192.168.12.158/relay/0?turn=off |
---|
nachher: 20:48:33.747
Dauer: 3058 msec
phName: 'phoneName:'kanaDaham''
urls : 37
vorher : 20:48:30.151
nachher: 20:48:33.755
Dauer : 3607 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/17//scene_offAll_20240617_204830.txt'
Jun 17 20:45:01 srv4hai CRON[23097]: (root) CMD (/etc/linetest/linetest.sh) Jun 17 20:45:28 srv4hai ping_SP[14405]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1718649928 - 'ping_SP_0' Jun 17 20:45:28 srv4hai ping_SP[14405]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 17 20:45:54 srv4hai postfix/smtpd[23142]: warning: database /etc/aliases.db is older than source file /etc/aliases Jun 17 20:45:54 srv4hai postfix/smtpd[23142]: connect from unknown[92.118.39.119] Jun 17 20:45:54 srv4hai postfix/smtpd[23142]: warning: unknown[92.118.39.119]: SASL LOGIN authentication failed: Invalid authentication mechanism Jun 17 20:45:54 srv4hai postfix/smtpd[23142]: lost connection after AUTH from unknown[92.118.39.119] Jun 17 20:45:54 srv4hai postfix/smtpd[23142]: disconnect from unknown[92.118.39.119] ehlo=1 auth=0/1 commands=1/2 Jun 17 20:46:01 srv4hai CRON[23152]: (root) CMD (/etc/linetest/linetest.sh) Jun 17 20:46:44 srv4hai ping_SP[14405]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1718650004 - 'ping_SP_0' Jun 17 20:47:01 srv4hai CRON[23197]: (root) CMD (/etc/linetest/linetest.sh) Jun 17 20:47:10 srv4hai ping_SP[14405]: SHELLY (0)- ping 192.168.12.61 2 not answered (1) @~1718650030 - 'ping_SP_0' Jun 17 20:47:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23227, secured, session= Jun 17 20:47:28 srv4hai dovecot: imap(miglincit)<23227> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jun 17 20:47:36 srv4hai ping_SP[14405]: SHELLY (0)- ping 192.168.12.61 3 not answered (1) @~1718650056 - 'ping_SP_0' Jun 17 20:48:01 srv4hai CRON[23260]: (root) CMD (/etc/linetest/linetest.sh) Jun 17 20:48:03 srv4hai ping_SP[14405]: SHELLY (0)- ping 192.168.12.61 4 not answered (1) @~1718650083 - 'ping_SP_0' Jun 17 20:48:05 srv4hai mosquitto[18551]: Client shelly1pm-84CCA8A8557D has exceeded timeout, disconnecting. Jun 17 20:48:05 srv4hai mosquitto[18551]: Socket error on client shelly1pm-84CCA8A8557D, disconnecting. Jun 17 20:48:09 srv4hai common[23279]: SHELLY common.sh inkludiert von ./bt_scan.sh Jun 17 20:48:15 srv4hai postfix/smtpd[23296]: warning: database /etc/aliases.db is older than source file /etc/aliases Jun 17 20:48:15 srv4hai postfix/smtpd[23296]: connect from unknown[193.32.162.80] Jun 17 20:48:15 srv4hai postfix/smtpd[23296]: warning: unknown[193.32.162.80]: SASL LOGIN authentication failed: Invalid authentication mechanism Jun 17 20:48:15 srv4hai postfix/smtpd[23296]: lost connection after AUTH from unknown[193.32.162.80] Jun 17 20:48:15 srv4hai postfix/smtpd[23296]: disconnect from unknown[193.32.162.80] ehlo=1 auth=0/1 commands=1/2 Jun 17 20:48:19 srv4hai bt_scan[23279]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No' Jun 17 20:48:19 srv4hai bt_scan[23279]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Jun 17 20:48:19 srv4hai common[23322]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jun 17 20:48:20 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1718650100-1718650089 Jun 17 20:48:20 srv4hai check_presence[23322]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jun 17 20:48:20 srv4hai check_presence[23322]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.TRY' for what: 'presence' Jun 17 20:48:20 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1718650100-1718650089 Jun 17 20:48:20 srv4hai check_presence[23322]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jun 17 20:48:20 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1718650100-1718650089 Jun 17 20:48:20 srv4hai check_presence[23322]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Jun 17 20:48:20 srv4hai check_presence[23322]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/TRY) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Jun 17 20:48:20 srv4hai check_presence[23322]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_nasszeile_75) - sceneOFF(offAll) Jun 17 20:48:20 srv4hai check_presence[23322]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll Jun 17 20:48:29 srv4hai ping_SP[14405]: SHELLY (0)- ping 192.168.12.61 5 not answered (1) @~1718650109 - 'ping_SP_0' Jun 17 20:48:29 srv4hai ping_SP[14405]: SHELLY (0)- ping 192.168.12.61 5 not answered - abort (14405) @~1718650109 - rm 'ping_SP_0' Jun 17 20:48:29 srv4hai common[23488]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jun 17 20:48:29 srv4hai dhcpd[30731]: DHCPDISCOVER from 84:cc:a8:a8:55:7d via enp2s0 Jun 17 20:48:29 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0 Jun 17 20:48:29 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jun 17 20:48:29 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.102 Jun 17 20:48:29 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-02 Jun 17 20:48:29 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.102 (192.168.12.252) from 84:cc:a8:a8:55:7d via enp2s0 Jun 17 20:48:29 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.102 to 84:cc:a8:a8:55:7d via enp2s0 Jun 17 20:48:29 srv4hai named[30406]: client @0x7f93300ede20 192.168.12.252#47899/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-02.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 17 20:48:29 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#54903/key rndc-key: signer "rndc-key" approved Jun 17 20:48:29 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#54903/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' TXT Jun 17 20:48:29 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#54903/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' TXT "005dc8ffbb18e92d4c1a5981a9354b73fe" Jun 17 20:48:29 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#54903/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-02.viehai.at' A Jun 17 20:48:29 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#54903/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-02.viehai.at' A 192.168.12.102 Jun 17 20:48:29 srv4hai dhcpd[30731]: Added new forward map from shelly-02.viehai.at to 192.168.12.102 Jun 17 20:48:29 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#57075/key rndc-key: signer "rndc-key" approved Jun 17 20:48:29 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#57075/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '102.12.168.192.in-addr.arpa' PTR Jun 17 20:48:29 srv4hai named[30406]: client @0x7f931c04a000 192.168.12.252#57075/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '102.12.168.192.in-addr.arpa' PTR shelly-02.viehai.at. Jun 17 20:48:29 srv4hai dhcpd[30731]: Added reverse map from 102.12.168.192.in-addr.arpa. to shelly-02.viehai.at Jun 17 20:48:29 srv4hai common[23502]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jun 17 20:48:29 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-02' - shIP/2:'' perform:'conf' Jun 17 20:48:29 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'20'=1718650109-1718650089 Jun 17 20:48:29 srv4hai check_presence[23488]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jun 17 20:48:29 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'20'=1718650109-1718650089 Jun 17 20:48:29 srv4hai check_presence[23488]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jun 17 20:48:29 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'20'=1718650109-1718650089 Jun 17 20:48:29 srv4hai check_presence[23488]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Jun 17 20:48:29 srv4hai check_presence[23488]: SHELLY (ping_SP__NO_ping)-(0) what: 'presence' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false' Jun 17 20:48:29 srv4hai postfix/pickup[18946]: ED96060197: uid=0 from= Jun 17 20:48:29 srv4hai postfix/cleanup[23620]: ED96060197: message-id=<20240617184829.ED96060197@mail.viehai.at> Jun 17 20:48:29 srv4hai postfix/qmgr[31004]: ED96060197: from= , size=9091, nrcpt=1 (queue active) Jun 17 20:48:30 srv4hai check_presence[23488]: SHELLY - check 'presence': anyPresent(false) - lScene(scene_nasszeile_75) - sceneOFF(offAll) Jun 17 20:48:30 srv4hai check_presence[23488]: SHELLY (ping_SP__NO_ping)-(0)-presence: activate_scenario.shtml: offAll Jun 17 20:48:30 srv4hai activate_scenario[23653]: SHELLY scenario: 'offAll(offall)' started Jun 17 20:48:30 srv4hai activate_scenario[23653]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'kanaDaham'
finished