activate_scenario.sh
Thu Aug 1 09:39:56 CEST 2024
scenario: homeOffice
source: 192.168.12.140
vorher: 09:39:56.207
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: 09:39:56.239
Dauer: 32 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.223
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: 09:39:56.285
Dauer: 61 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.238
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: 09:39:56.286
Dauer: 48 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.255
http://192.168.12.105/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 09:39:56.285
Dauer: 30 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.270
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: 09:39:56.294
Dauer: 24 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.284
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: 09:39:56.321
Dauer: 38 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.300
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: 09:39:56.335
Dauer: 35 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.313
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: 09:39:56.339
Dauer: 26 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.326
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: 09:39:56.381
Dauer: 56 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.340
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: 09:39:56.387
Dauer: 47 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.353
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: 09:39:56.431
Dauer: 78 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.366
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: 09:39:56.503
Dauer: 138 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.378
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: 09:39:56.526
Dauer: 148 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.393
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: 09:39:56.438
Dauer: 44 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.406
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: 09:39:56.451
Dauer: 45 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.419
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: 09:39:56.531
Dauer: 112 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.431
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: 09:39:56.531
Dauer: 100 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.445
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: 09:39:56.537
Dauer: 91 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 09:39:56.458
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: 09:39:56.547
Dauer: 89 msec
phName: 'shelly-40:'Thomas Büro Licht''
urls : 19
vorher : 09:39:56.165
nachher: 09:39:56.554
Dauer : 391 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/08/01//scene_homeOffice_20240801_093956.txt'
Aug 1 09:36:01 srv4hai CRON[11530]: (root) CMD (/etc/linetest/linetest.sh) Aug 1 09:36:39 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Aug 1 09:36:39 srv4hai fetchmail[1651]: 49816 messages (49815 seen) for tmiglinci at mail.akis.at (-177134669 octets). Aug 1 09:36:39 srv4hai postfix/smtpd[11539]: warning: database /etc/aliases.db is older than source file /etc/aliases Aug 1 09:36:39 srv4hai postfix/smtpd[11539]: connect from localhost[127.0.0.1] Aug 1 09:36:39 srv4hai postfix/smtpd[11539]: CE34860189: client=localhost[127.0.0.1] Aug 1 09:36:39 srv4hai postfix/cleanup[11542]: CE34860189: message-id=Aug 1 09:36:39 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:49816 of 49816 (176049 octets) not flushed Aug 1 09:36:39 srv4hai postfix/qmgr[8566]: CE34860189: from= , size=176353, nrcpt=1 (queue active) Aug 1 09:36:39 srv4hai postfix/local[11543]: warning: database /etc/aliases.db is older than source file /etc/aliases Aug 1 09:36:39 srv4hai postfix/smtpd[11539]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Aug 1 09:36:39 srv4hai postfix/local[11543]: CE34860189: to= , relay=local, delay=0.14, delays=0.13/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Aug 1 09:36:39 srv4hai postfix/qmgr[8566]: CE34860189: removed Aug 1 09:36:40 srv4hai fetchmail[1651]: 10535 messages (10535 seen) for srozum at mail.akis.at (1266681161 octets). Aug 1 09:36:40 srv4hai fetchmail[1651]: 25060 messages (25060 seen) for mrozum at mail.akis.at (80504805 octets). Aug 1 09:36:41 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets). Aug 1 09:37:01 srv4hai CRON[11548]: (root) CMD (/etc/linetest/linetest.sh) Aug 1 09:37:30 srv4hai postfix/anvil[11500]: statistics: max connection rate 1/60s for (smtp:178.215.236.216) at Aug 1 09:33:50 Aug 1 09:37:30 srv4hai postfix/anvil[11500]: statistics: max connection count 1 for (smtp:178.215.236.216) at Aug 1 09:33:50 Aug 1 09:37:30 srv4hai postfix/anvil[11500]: statistics: max cache size 2 at Aug 1 09:34:10 Aug 1 09:38:01 srv4hai CRON[11559]: (root) CMD (/etc/linetest/linetest.sh) Aug 1 09:38:03 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=11566, secured, session=<5Vp1SpoePtgAAAAAAAAAAAAAAAAAAAAB> Aug 1 09:38:03 srv4hai dovecot: imap(miglincit)<11566><5Vp1SpoePtgAAAAAAAAAAAAAAAAAAAAB>: Logged out in=730 out=54981 deleted=0 expunged=0 trashed=0 hdr_count=58 hdr_bytes=26803 body_count=0 body_bytes=0 Aug 1 09:39:01 srv4hai CRON[11576]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi) Aug 1 09:39:01 srv4hai CRON[11577]: (root) CMD (/etc/linetest/linetest.sh) Aug 1 09:39:01 srv4hai systemd[1]: Starting Clean php session files... Aug 1 09:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded. Aug 1 09:39:01 srv4hai systemd[1]: Started Clean php session files. Aug 1 09:39:20 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Aug 1 09:39:20 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Aug 1 09:39:21 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Aug 1 09:39:21 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Aug 1 09:39:21 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Aug 1 09:39:21 srv4hai common[11679]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Aug 1 09:39:21 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Aug 1 09:39:21 srv4hai common[11693]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Aug 1 09:39:21 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Aug 1 09:39:21 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Aug 1 09:39:21 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#36781/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Aug 1 09:39:21 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#47339/key rndc-key: signer "rndc-key" approved Aug 1 09:39:21 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#47339/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Aug 1 09:39:21 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#47339/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Aug 1 09:39:21 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#47339/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Aug 1 09:39:21 srv4hai named[30406]: client @0x7f935062dc00 192.168.12.252#47339/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Aug 1 09:39:21 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Aug 1 09:39:21 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#51251/key rndc-key: signer "rndc-key" approved Aug 1 09:39:21 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#51251/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Aug 1 09:39:21 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#51251/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. Aug 1 09:39:21 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Aug 1 09:39:21 srv4hai ping_SP[11693]: SHELLY ping_SP.sh started from smartphone, user:'root' Aug 1 09:39:31 srv4hai common[11725]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Aug 1 09:39:31 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1722497971-1722497970 Aug 1 09:39:31 srv4hai check_presence[11725]: 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 Aug 1 09:39:31 srv4hai check_presence[11725]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Aug 1 09:39:31 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1722497971-1722497970 Aug 1 09:39:31 srv4hai check_presence[11725]: 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 Aug 1 09:39:31 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1722497971-1722497970 Aug 1 09:39:31 srv4hai check_presence[11725]: 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 Aug 1 09:39:31 srv4hai check_presence[11725]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Aug 1 09:39:31 srv4hai check_presence[11725]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn) Aug 1 09:39:31 srv4hai check_presence[11725]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Aug 1 09:39:31 srv4hai activate_scenario[11858]: SHELLY scenario: 'vorraumOn(vorraumon)' started Aug 1 09:39:31 srv4hai activate_scenario[11858]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0' Aug 1 09:39:31 srv4hai activate_scenario[11858]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0' Aug 1 09:39:31 srv4hai postfix/pickup[10396]: DABD56018A: uid=33 from= Aug 1 09:39:31 srv4hai postfix/cleanup[11908]: DABD56018A: message-id=<20240801073931.DABD56018A@mail.viehai.at> Aug 1 09:39:31 srv4hai postfix/qmgr[8566]: DABD56018A: from= , size=8643, nrcpt=1 (queue active) Aug 1 09:39:31 srv4hai activate_scenario[11858]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Aug 1 09:39:31 srv4hai proc_url[11925]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/08/01/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0'' Aug 1 09:39:32 srv4hai activate_scenario[11858]: SHELLY scenario: 'vorraumOn(vorraumon)' took 123 msec, phoneName:'0' Aug 1 09:39:32 srv4hai ping_SP[11693]: SHELLY check_presence.sh coming 0 ping_SP__smartphone Aug 1 09:39:32 srv4hai postfix/relay/smtp[11921]: DABD56018A: to= , relay=mx04.nic.name[209.131.160.34]:25, delay=0.86, delays=0.04/0.01/0.56/0.25, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 87FD18003E) Aug 1 09:39:32 srv4hai postfix/qmgr[8566]: DABD56018A: removed Aug 1 09:39:34 srv4hai ping_SP[11693]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1722497974 Aug 1 09:39:43 srv4hai common[11968]: SHELLY common.sh inkludiert von ./bt_scan.sh Aug 1 09:39:47 srv4hai ping_SP[11693]: SHELLY (0) - ping 192.168.12.61 0 sucessfully @~1722497987 - 'ping_SP_0' Aug 1 09:39:47 srv4hai ping_SP[11693]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Aug 1 09:39:53 srv4hai bt_scan[11968]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes' Aug 1 09:39:53 srv4hai bt_scan[11968]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61' Aug 1 09:39:56 srv4hai activate_scenario[12016]: SHELLY scenario: 'homeOffice(homeoffice)' started Aug 1 09:39:56 srv4hai activate_scenario[12016]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
finished