activate_scenario.sh
Wed Nov 13 16:49:15 CET 2024
scenario: homeOffice
source: 192.168.12.140
vorher: 16:49:15.260
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": "http" |
nachher: 16:49:15.291
Dauer: 31 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.283
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": "http" |
nachher: 16:49:15.324
Dauer: 42 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.304
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: 16:49:15.353
Dauer: 49 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.320
http://192.168.12.105/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 16:49:15.349
Dauer: 29 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.337
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: 16:49:15.387
Dauer: 50 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.352
http://192.168.12.107/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 16:49:15.395
Dauer: 43 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.368
http://192.168.12.108/relay/0?turn=on |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 16:49:15.399
Dauer: 32 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.383
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: 16:49:15.420
Dauer: 38 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.398
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: 16:49:15.426
Dauer: 28 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.414
http://192.168.12.140/relay/0?turn=on |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 16:49:15.452
Dauer: 37 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.429
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: 16:49:15.466
Dauer: 36 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.444
http://192.168.12.116/white/0?turn=on&brightness=20 |
---|
"ison": true, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 20, "transition": 0, "power": 0, "overpower": false |
nachher: 16:49:15.485
Dauer: 41 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.459
http://192.168.12.116/white/1?turn=on&brightness=20 |
---|
"ison": true, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 20, "transition": 0, "power": 0, "overpower": false |
nachher: 16:49:15.496
Dauer: 35 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.477
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: 16:49:15.502
Dauer: 25 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.491
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: 16:49:15.519
Dauer: 28 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.506
http://192.168.12.119/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 16:49:15.555
Dauer: 49 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.520
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: 16:49:15.548
Dauer: 28 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.534
http://192.168.12.124/relay/0?turn=on |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 16:49:15.610
Dauer: 77 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 16:49:15.547
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: 16:49:15.687
Dauer: 139 msec
phName: 'shelly-40:'Thomas Büro Licht''
urls : 19
vorher : 16:49:15.233
nachher: 16:49:15.694
Dauer : 461 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/11/13//scene_homeOffice_20241113_164915.txt'
Nov 13 16:46:01 srv4hai CRON[23959]: (root) CMD (/etc/linetest/linetest.sh) Nov 13 16:47:01 srv4hai CRON[24014]: (root) CMD (/etc/linetest/linetest.sh) Nov 13 16:47:37 srv4hai postfix/smtpd[24040]: connect from unknown[80.94.95.239] Nov 13 16:47:39 srv4hai postfix/smtpd[24040]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism Nov 13 16:47:41 srv4hai postfix/smtpd[24040]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Nov 13 16:47:52 srv4hai common[24056]: SHELLY common.sh inkludiert von ./bt_scan.sh Nov 13 16:47:52 srv4hai bt_scan[24056]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes' Nov 13 16:47:52 srv4hai bt_scan[24056]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61' Nov 13 16:47:52 srv4hai common[24087]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Nov 13 16:47:52 srv4hai ping_SP[24087]: SHELLY ping_SP.sh started from bt_scan, user:'www-data' Nov 13 16:47:52 srv4hai common[24108]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Nov 13 16:47:52 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Nov 13 16:47:52 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Nov 13 16:47:52 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Nov 13 16:47:52 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Nov 13 16:47:52 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Nov 13 16:47:52 srv4hai common[24121]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Nov 13 16:47:53 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1731512873-1731512872 Nov 13 16:47:53 srv4hai check_presence[24108]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes Nov 13 16:47:53 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1731512873-1731512872 Nov 13 16:47:53 srv4hai check_presence[24108]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Nov 13 16:47:53 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1731512873-1731512872 Nov 13 16:47:53 srv4hai check_presence[24108]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Nov 13 16:47:53 srv4hai check_presence[24108]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false' Nov 13 16:47:53 srv4hai postfix/pickup[18367]: 80C6663463: uid=33 from=Nov 13 16:47:53 srv4hai postfix/cleanup[24224]: 80C6663463: message-id=<20241113154753.80C6663463@mail.viehai.at> Nov 13 16:47:53 srv4hai postfix/qmgr[8566]: 80C6663463: from= , size=5508, nrcpt=1 (queue active) Nov 13 16:47:53 srv4hai check_presence[24108]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_offAll) - sceneONsmall(vorraumOn) Nov 13 16:47:53 srv4hai check_presence[24108]: SHELLY (ping_SP__bt_scan)-(0)-coming: NOT activate_scenario.shtml: vorraumOn Nov 13 16:47:53 srv4hai ping_SP[24087]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan Nov 13 16:47:53 srv4hai ping_SP[24087]: SHELLY - running process-id(24087): '24087 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan#01224121 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas' - 'ping_SP_0' - exiting ============== Nov 13 16:47:53 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Nov 13 16:47:53 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Nov 13 16:47:53 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Nov 13 16:47:53 srv4hai named[30406]: client @0x7f93100c3be0 192.168.12.252#41361/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Nov 13 16:47:53 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#45693/key rndc-key: signer "rndc-key" approved Nov 13 16:47:53 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#45693/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Nov 13 16:47:53 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#45693/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Nov 13 16:47:53 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#45693/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Nov 13 16:47:53 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#45693/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Nov 13 16:47:53 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Nov 13 16:47:53 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#57743/key rndc-key: signer "rndc-key" approved Nov 13 16:47:53 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#57743/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Nov 13 16:47:53 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#57743/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at. Nov 13 16:47:53 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Nov 13 16:48:01 srv4hai CRON[24278]: (root) CMD (/etc/linetest/linetest.sh) Nov 13 16:48:23 srv4hai postfix/relay/smtp[24231]: connect to mx04.nic.name[209.131.160.34]:25: Connection timed out Nov 13 16:48:24 srv4hai postfix/relay/smtp[24231]: 80C6663463: to= , relay=mx02.nic.name[209.131.158.56]:25, delay=31, delays=0.02/0.01/31/0.28, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 690B48005A) Nov 13 16:48:24 srv4hai postfix/qmgr[8566]: 80C6663463: removed Nov 13 16:49:01 srv4hai CRON[24327]: (root) CMD (/etc/linetest/linetest.sh) Nov 13 16:49:15 srv4hai activate_scenario[24340]: SHELLY scenario: 'homeOffice(homeoffice)' started Nov 13 16:49:15 srv4hai activate_scenario[24340]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
finished