activate_scenario.sh
Tue Jun 4 15:36:11 CEST 2024
scenario: homeOffice
source: 192.168.12.140
vorher: 15:36:11.997
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: 15:36:12.037
Dauer: 41 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.013
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: 15:36:12.041
Dauer: 28 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.029
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: 15:36:12.061
Dauer: 32 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.046
http://192.168.12.105/relay/0?turn=off |
---|
nachher: 15:36:15.123
Dauer: 3077 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.063
http://192.168.12.106/relay/0?turn=off |
---|
nachher: 15:36:15.123
Dauer: 3060 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.078
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: 15:36:12.114
Dauer: 35 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.093
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: 15:36:12.138
Dauer: 45 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.105
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: 15:36:12.130
Dauer: 25 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.118
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: 15:36:12.140
Dauer: 21 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.131
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: 15:36:12.178
Dauer: 47 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.147
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: 15:36:12.176
Dauer: 28 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.160
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: 15:36:12.186
Dauer: 26 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.174
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: 15:36:12.202
Dauer: 28 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.189
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: 15:36:12.218
Dauer: 29 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.202
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: 15:36:12.285
Dauer: 84 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.216
http://192.168.12.119/relay/0?turn=off |
---|
nachher: 15:36:15.283
Dauer: 3068 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.229
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: 15:36:12.324
Dauer: 96 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.241
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: 15:36:12.287
Dauer: 46 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:36:12.254
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: 15:36:13.136
Dauer: 883 msec
phName: 'shelly-40:'Thomas Büro Licht''
urls : 19
vorher : 15:36:11.972
nachher: 15:36:15.292
Dauer : 3321 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/04//scene_homeOffice_20240604_153611.txt'
Jun 4 15:33:01 srv4hai CRON[31893]: (root) CMD (/etc/linetest/linetest.sh) Jun 4 15:33:49 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Jun 4 15:33:49 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 4 15:33:49 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 4 15:33:49 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 4 15:33:49 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 4 15:33:49 srv4hai common[31955]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 4 15:33:49 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 4 15:33:49 srv4hai common[31969]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jun 4 15:33:49 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 4 15:33:49 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 4 15:33:49 srv4hai named[30406]: client @0x7f93506d04d0 192.168.12.252#34659/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 4 15:33:49 srv4hai named[30406]: client @0x7f93480e0b10 192.168.12.252#51587/key rndc-key: signer "rndc-key" approved Jun 4 15:33:49 srv4hai named[30406]: client @0x7f93480e0b10 192.168.12.252#51587/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Jun 4 15:33:49 srv4hai named[30406]: client @0x7f93480e0b10 192.168.12.252#51587/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Jun 4 15:33:49 srv4hai named[30406]: client @0x7f93480e0b10 192.168.12.252#51587/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Jun 4 15:33:49 srv4hai named[30406]: client @0x7f93480e0b10 192.168.12.252#51587/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Jun 4 15:33:49 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Jun 4 15:33:49 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#44029/key rndc-key: signer "rndc-key" approved Jun 4 15:33:49 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#44029/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Jun 4 15:33:49 srv4hai named[30406]: client @0x7f93506c16d0 192.168.12.252#44029/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. Jun 4 15:33:49 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Jun 4 15:33:49 srv4hai ping_SP[31969]: SHELLY ping_SP.sh started from smartphone, user:'root' Jun 4 15:33:56 srv4hai common[31995]: SHELLY common.sh inkludiert von ./bt_scan.sh Jun 4 15:33:59 srv4hai common[32022]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jun 4 15:34:00 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'4'=1717508040-1717508036 Jun 4 15:34:00 srv4hai check_presence[32022]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jun 4 15:34:00 srv4hai check_presence[32022]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Jun 4 15:34:00 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'4'=1717508040-1717508036 Jun 4 15:34:00 srv4hai check_presence[32022]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jun 4 15:34:00 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'4'=1717508040-1717508036 Jun 4 15:34:00 srv4hai check_presence[32022]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Jun 4 15:34:00 srv4hai check_presence[32022]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(BT/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Jun 4 15:34:00 srv4hai check_presence[32022]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn) Jun 4 15:34:00 srv4hai check_presence[32022]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Jun 4 15:34:00 srv4hai activate_scenario[32173]: SHELLY scenario: 'vorraumOn(vorraumon)' started Jun 4 15:34:00 srv4hai activate_scenario[32173]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0' Jun 4 15:34:00 srv4hai activate_scenario[32173]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0' Jun 4 15:34:00 srv4hai postfix/pickup[31478]: 67C3060197: uid=33 from=Jun 4 15:34:00 srv4hai postfix/cleanup[32223]: 67C3060197: message-id=<20240604133400.67C3060197@mail.viehai.at> Jun 4 15:34:00 srv4hai postfix/qmgr[31004]: 67C3060197: from= , size=6299, nrcpt=1 (queue active) Jun 4 15:34:00 srv4hai activate_scenario[32173]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Jun 4 15:34:00 srv4hai proc_url[32240]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/04/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0'' Jun 4 15:34:00 srv4hai activate_scenario[32173]: SHELLY scenario: 'vorraumOn(vorraumon)' took 52 msec, phoneName:'0' Jun 4 15:34:00 srv4hai ping_SP[31969]: SHELLY check_presence.sh coming 0 ping_SP__smartphone Jun 4 15:34:01 srv4hai postfix/relay/smtp[32236]: 67C3060197: to= , relay=mx03.nic.name[209.131.161.54]:25, delay=1.1, delays=0.02/0.01/0.85/0.24, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 53A07800D3) Jun 4 15:34:01 srv4hai postfix/qmgr[31004]: 67C3060197: removed Jun 4 15:34:01 srv4hai CRON[32271]: (root) CMD (/etc/linetest/linetest.sh) Jun 4 15:34:02 srv4hai ping_SP[31969]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1717508042 Jun 4 15:34:06 srv4hai bt_scan[31995]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes' Jun 4 15:34:06 srv4hai bt_scan[31995]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61' Jun 4 15:34:16 srv4hai ping_SP[31969]: SHELLY (0) - ping 192.168.12.61 0 sucessfully @~1717508056 - 'ping_SP_0' Jun 4 15:34:16 srv4hai ping_SP[31969]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 4 15:34:19 srv4hai postfix/anvil[31708]: statistics: max connection rate 1/60s for (smtp:94.156.8.152) at Jun 4 15:30:30 Jun 4 15:34:19 srv4hai postfix/anvil[31708]: statistics: max connection count 1 for (smtp:94.156.8.152) at Jun 4 15:30:30 Jun 4 15:34:19 srv4hai postfix/anvil[31708]: statistics: max cache size 2 at Jun 4 15:30:59 Jun 4 15:34:50 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=32369, secured, session= Jun 4 15:34:50 srv4hai dovecot: imap(miglincit)<32369> : 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 4 15:35:01 srv4hai CRON[32385]: (root) CMD (/etc/linetest/linetest.sh) Jun 4 15:35:14 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Jun 4 15:35:15 srv4hai fetchmail[1651]: 45700 messages (45698 seen) for tmiglinci at mail.akis.at (-524046108 octets). Jun 4 15:35:15 srv4hai postfix/smtpd[32400]: warning: database /etc/aliases.db is older than source file /etc/aliases Jun 4 15:35:15 srv4hai postfix/smtpd[32400]: connect from localhost[127.0.0.1] Jun 4 15:35:15 srv4hai postfix/smtpd[32400]: E616C6018A: client=localhost[127.0.0.1] Jun 4 15:35:15 srv4hai postfix/cleanup[32223]: E616C6018A: message-id= Jun 4 15:35:16 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:45699 of 45700 (51261 octets) not flushed Jun 4 15:35:16 srv4hai postfix/qmgr[31004]: E616C6018A: from= , size=51506, nrcpt=1 (queue active) Jun 4 15:35:16 srv4hai postfix/local[32402]: warning: database /etc/aliases.db is older than source file /etc/aliases Jun 4 15:35:16 srv4hai postfix/local[32402]: E616C6018A: to= , relay=local, delay=0.08, delays=0.07/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Jun 4 15:35:16 srv4hai postfix/qmgr[31004]: E616C6018A: removed Jun 4 15:35:16 srv4hai postfix/smtpd[32400]: 0BB816018A: client=localhost[127.0.0.1] Jun 4 15:35:16 srv4hai postfix/cleanup[32223]: 0BB816018A: message-id=<20240604133400.67C3060197@mail.viehai.at> Jun 4 15:35:16 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:45700 of 45700 (7274 octets) not flushed Jun 4 15:35:16 srv4hai postfix/qmgr[31004]: 0BB816018A: from= , size=7571, nrcpt=1 (queue active) Jun 4 15:35:16 srv4hai postfix/local[32402]: 0BB816018A: to= , relay=local, delay=0.06, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Jun 4 15:35:16 srv4hai postfix/qmgr[31004]: 0BB816018A: removed Jun 4 15:35:16 srv4hai postfix/smtpd[32400]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8 Jun 4 15:35:16 srv4hai fetchmail[1651]: 10286 messages (10286 seen) for srozum at mail.akis.at (1238307482 octets). Jun 4 15:35:17 srv4hai fetchmail[1651]: 23868 messages (23868 seen) for mrozum at mail.akis.at (-171442152 octets). Jun 4 15:35:17 srv4hai fetchmail[1651]: 87 messages (87 seen) for admin@bastelstube.wien at pop3.world4you.com (34052777 octets). Jun 4 15:35:29 srv4hai ping_SP[31969]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1717508129 - 'ping_SP_0' Jun 4 15:35:29 srv4hai ping_SP[31969]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 4 15:36:01 srv4hai CRON[32464]: (root) CMD (/etc/linetest/linetest.sh) Jun 4 15:36:11 srv4hai activate_scenario[32477]: SHELLY scenario: 'homeOffice(homeoffice)' started Jun 4 15:36:11 srv4hai activate_scenario[32477]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
finished