activate_scenario.sh
Mon Jul 15 08:28:55 CEST 2024
scenario: homeOffice
source: 192.168.12.140
vorher: 08:28:55.636
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: 08:28:55.677
Dauer: 42 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.648
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: 08:28:55.678
Dauer: 30 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.660
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: 08:28:55.717
Dauer: 56 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.673
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: 08:28:55.723
Dauer: 49 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.689
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: 08:28:55.817
Dauer: 127 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.703
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: 08:28:55.731
Dauer: 29 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.715
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: 08:28:55.752
Dauer: 38 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.729
http://192.168.12.109/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 08:28:55.764
Dauer: 36 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.743
http://192.168.12.110/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 08:28:55.918
Dauer: 174 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.758
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: 08:28:56.819
Dauer: 1061 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.771
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: 08:28:55.881
Dauer: 110 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.786
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: 08:28:55.815
Dauer: 30 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.799
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: 08:28:55.832
Dauer: 33 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.814
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: 08:28:55.844
Dauer: 30 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.828
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: 08:28:55.920
Dauer: 93 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.840
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: 08:28:55.911
Dauer: 71 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.856
http://192.168.12.123/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 08:28:55.909
Dauer: 53 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.868
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: 08:28:56.021
Dauer: 153 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:28:55.881
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: 08:28:55.928
Dauer: 47 msec
phName: 'shelly-40:'Thomas Büro Licht''
urls : 19
vorher : 08:28:55.616
nachher: 08:28:56.834
Dauer : 1217 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/15//scene_homeOffice_20240715_082855.txt'
Jul 15 08:25:01 srv4hai CRON[25598]: (root) CMD (/etc/linetest/linetest.sh) Jul 15 08:26:01 srv4hai CRON[25615]: (root) CMD (/etc/linetest/linetest.sh) Jul 15 08:26:19 srv4hai nmbd[2172]: [2024/07/15 08:26:19.226491, 0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail) Jul 15 08:26:19 srv4hai nmbd[2172]: find_domain_master_name_query_fail: Jul 15 08:26:19 srv4hai nmbd[2172]: Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP. Jul 15 08:26:19 srv4hai nmbd[2172]: Unable to sync browse lists in this workgroup. Jul 15 08:27:01 srv4hai CRON[25636]: (root) CMD (/etc/linetest/linetest.sh) Jul 15 08:27:03 srv4hai postfix/anvil[25572]: statistics: max connection rate 1/60s for (smtp:94.154.35.194) at Jul 15 08:23:43 Jul 15 08:27:03 srv4hai postfix/anvil[25572]: statistics: max connection count 1 for (smtp:94.154.35.194) at Jul 15 08:23:43 Jul 15 08:27:03 srv4hai postfix/anvil[25572]: statistics: max cache size 1 at Jul 15 08:23:43 Jul 15 08:27:09 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db. Jul 15 08:27:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=25648, secured, session= Jul 15 08:27:41 srv4hai dovecot: imap(miglincit)<25648>: Logged out in=520 out=1285 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jul 15 08:28:01 srv4hai CRON[25653]: (root) CMD (/etc/linetest/linetest.sh) Jul 15 08:28:04 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Jul 15 08:28:04 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jul 15 08:28:04 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jul 15 08:28:04 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jul 15 08:28:04 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jul 15 08:28:04 srv4hai common[25658]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jul 15 08:28:04 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jul 15 08:28:04 srv4hai common[25672]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jul 15 08:28:04 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jul 15 08:28:04 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jul 15 08:28:04 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#57561/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jul 15 08:28:04 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#45973/key rndc-key: signer "rndc-key" approved Jul 15 08:28:04 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#45973/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Jul 15 08:28:04 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#45973/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Jul 15 08:28:04 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#45973/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Jul 15 08:28:04 srv4hai named[30406]: client @0x7f9350694cd0 192.168.12.252#45973/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Jul 15 08:28:04 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Jul 15 08:28:04 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#60301/key rndc-key: signer "rndc-key" approved Jul 15 08:28:04 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#60301/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Jul 15 08:28:04 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#60301/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. Jul 15 08:28:04 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Jul 15 08:28:04 srv4hai ping_SP[25672]: SHELLY ping_SP.sh started from smartphone, user:'root' Jul 15 08:28:14 srv4hai common[25706]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jul 15 08:28:14 srv4hai common[25720]: SHELLY common.sh inkludiert von ./bt_scan.sh Jul 15 08:28:14 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1721024894-1721024894 Jul 15 08:28:14 srv4hai check_presence[25706]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jul 15 08:28:14 srv4hai check_presence[25706]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Jul 15 08:28:14 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1721024894-1721024894 Jul 15 08:28:14 srv4hai check_presence[25706]: 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 Jul 15 08:28:14 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1721024894-1721024894 Jul 15 08:28:14 srv4hai check_presence[25706]: 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 Jul 15 08:28:14 srv4hai check_presence[25706]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Jul 15 08:28:14 srv4hai check_presence[25706]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn) Jul 15 08:28:14 srv4hai check_presence[25706]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Jul 15 08:28:14 srv4hai activate_scenario[25852]: SHELLY scenario: 'vorraumOn(vorraumon)' started Jul 15 08:28:14 srv4hai activate_scenario[25852]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0' Jul 15 08:28:14 srv4hai activate_scenario[25852]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0' Jul 15 08:28:14 srv4hai postfix/pickup[25629]: F230D6018A: uid=33 from= Jul 15 08:28:15 srv4hai postfix/cleanup[25902]: F230D6018A: message-id=<20240715062814.F230D6018A@mail.viehai.at> Jul 15 08:28:15 srv4hai postfix/qmgr[8566]: F230D6018A: from= , size=7070, nrcpt=1 (queue active) Jul 15 08:28:15 srv4hai activate_scenario[25852]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Jul 15 08:28:15 srv4hai proc_url[25919]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/15/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0'' Jul 15 08:28:15 srv4hai activate_scenario[25852]: SHELLY scenario: 'vorraumOn(vorraumon)' took 61 msec, phoneName:'0' Jul 15 08:28:15 srv4hai ping_SP[25672]: SHELLY check_presence.sh coming 0 ping_SP__smartphone Jul 15 08:28:17 srv4hai ping_SP[25672]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1721024897 Jul 15 08:28:24 srv4hai bt_scan[25720]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes' Jul 15 08:28:24 srv4hai bt_scan[25720]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61' Jul 15 08:28:26 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Jul 15 08:28:27 srv4hai fetchmail[1651]: 48694 messages (48694 seen) for tmiglinci at mail.akis.at (-266865808 octets). Jul 15 08:28:28 srv4hai fetchmail[1651]: 10449 messages (10449 seen) for srozum at mail.akis.at (1258979227 octets). Jul 15 08:28:28 srv4hai fetchmail[1651]: 24737 messages (24737 seen) for mrozum at mail.akis.at (36760402 octets). Jul 15 08:28:29 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets). Jul 15 08:28:30 srv4hai ping_SP[25672]: SHELLY (0) - ping 192.168.12.61 0 sucessfully @~1721024910 - 'ping_SP_0' Jul 15 08:28:30 srv4hai ping_SP[25672]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 15 08:28:45 srv4hai postfix/relay/smtp[25915]: connect to mx01.nic.name[209.131.159.47]:25: Connection timed out Jul 15 08:28:45 srv4hai postfix/relay/smtp[25915]: F230D6018A: to= , relay=mx02.nic.name[209.131.158.56]:25, delay=31, delays=0.04/0.01/31/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as BF476800C2) Jul 15 08:28:45 srv4hai postfix/qmgr[8566]: F230D6018A: removed Jul 15 08:28:55 srv4hai activate_scenario[26001]: SHELLY scenario: 'homeOffice(homeoffice)' started Jul 15 08:28:55 srv4hai activate_scenario[26001]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
finished