activate_scenario.sh
Mon Feb 26 08:24:00 CET 2024
scenario: homeOffice
source: 192.168.12.140
vorher: 08:24:00.872
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:24:00.922
Dauer: 51 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:00.884
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:24:00.912
Dauer: 28 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:00.897
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": "input" |
nachher: 08:24:00.927
Dauer: 31 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:00.909
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: 08:24:00.935
Dauer: 27 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:00.924
http://192.168.12.106/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 08:24:00.971
Dauer: 47 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:00.940
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:24:00.971
Dauer: 30 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:00.953
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:24:01.063
Dauer: 110 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:00.965
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: 08:24:01.006
Dauer: 40 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:00.980
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:24:01.029
Dauer: 48 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:00.992
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:24:01.032
Dauer: 40 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:01.003
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:24:01.048
Dauer: 44 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:01.017
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:24:01.066
Dauer: 48 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:01.030
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:24:01.067
Dauer: 38 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:01.042
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:24:01.080
Dauer: 38 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:01.057
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:24:01.197
Dauer: 140 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:01.068
http://192.168.12.119/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 08:24:01.117
Dauer: 49 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:01.082
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:24:01.134
Dauer: 51 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:01.095
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:24:01.227
Dauer: 132 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:24:01.107
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:24:01.139
Dauer: 32 msec
phName: 'shelly-40:'Thomas Büro Licht''
urls : 19
vorher : 08:24:00.853
nachher: 08:24:01.234
Dauer : 382 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/26//scene_homeOffice_20240226_082400.txt'
Feb 26 08:21:01 srv4hai CRON[2517]: (root) CMD (/etc/linetest/linetest.sh) Feb 26 08:21:19 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Feb 26 08:21:20 srv4hai fetchmail[1651]: 38790 messages (38790 seen) for tmiglinci at mail.akis.at (-1091872128 octets). Feb 26 08:21:20 srv4hai fetchmail[1651]: 9939 messages (9939 seen) for srozum at mail.akis.at (1200664983 octets). Feb 26 08:21:21 srv4hai fetchmail[1651]: 21873 messages (21873 seen) for mrozum at mail.akis.at (-549250591 octets). Feb 26 08:21:21 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets). Feb 26 08:21:22 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2531, secured, session= Feb 26 08:21:22 srv4hai dovecot: imap(rozumm)<2531> : Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 26 08:21:30 srv4hai grab_shelly.sh: SHELLY 'shelly-39': OFFLINE, resp. not answering within connect-timeout 1.500000s Feb 26 08:22:01 srv4hai CRON[2558]: (root) CMD (/etc/linetest/linetest.sh) Feb 26 08:22:01 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=2563, secured, session= Feb 26 08:22:01 srv4hai dovecot: imap(miglincit)<2563> : Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 26 08:22:22 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=2569, secured, session= Feb 26 08:22:22 srv4hai dovecot: imap(rozumm)<2569> : Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 26 08:22:39 srv4hai postfix/smtpd[2574]: connect from unknown[193.222.96.116] Feb 26 08:22:39 srv4hai postfix/smtpd[2574]: disconnect from unknown[193.222.96.116] ehlo=1 quit=1 commands=2 Feb 26 08:22:52 srv4hai postfix/smtpd[2574]: connect from unknown[193.222.96.107] Feb 26 08:22:52 srv4hai postfix/smtpd[2574]: warning: unknown[193.222.96.107]: SASL LOGIN authentication failed: Invalid authentication mechanism Feb 26 08:22:52 srv4hai postfix/smtpd[2574]: disconnect from unknown[193.222.96.107] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 26 08:23:01 srv4hai CRON[2585]: (root) CMD (/etc/linetest/linetest.sh) Feb 26 08:23:22 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=2605, secured, session=<417jyEMSrKQAAAAAAAAAAAAAAAAAAAAB> Feb 26 08:23:22 srv4hai dovecot: imap(rozumm)<2605><417jyEMSrKQAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 26 08:23:28 srv4hai dhcpd[5037]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Feb 26 08:23:28 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Feb 26 08:23:28 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Feb 26 08:23:28 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.61 Feb 26 08:23:28 srv4hai dhcpd[5037]: execute_statement argv[2] = fpThomas Feb 26 08:23:28 srv4hai common[2606]: SHELLY common.sh inkludiert Feb 26 08:23:28 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Feb 26 08:23:28 srv4hai common[2618]: SHELLY common.sh inkludiert Feb 26 08:23:28 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Feb 26 08:23:28 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Feb 26 08:23:28 srv4hai named[14530]: client @0x7fc3200e9ad0 192.168.12.252#33409/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 26 08:23:28 srv4hai named[14530]: client @0x7fc32409b3f0 192.168.12.252#59539/key rndc-key: signer "rndc-key" approved Feb 26 08:23:28 srv4hai named[14530]: client @0x7fc32409b3f0 192.168.12.252#59539/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Feb 26 08:23:28 srv4hai named[14530]: client @0x7fc32409b3f0 192.168.12.252#59539/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Feb 26 08:23:28 srv4hai named[14530]: client @0x7fc32409b3f0 192.168.12.252#59539/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Feb 26 08:23:28 srv4hai named[14530]: client @0x7fc32409b3f0 192.168.12.252#59539/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Feb 26 08:23:28 srv4hai dhcpd[5037]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Feb 26 08:23:28 srv4hai named[14530]: client @0x7fc3140a1100 192.168.12.252#33765/key rndc-key: signer "rndc-key" approved Feb 26 08:23:28 srv4hai named[14530]: client @0x7fc3140a1100 192.168.12.252#33765/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Feb 26 08:23:28 srv4hai named[14530]: client @0x7fc3140a1100 192.168.12.252#33765/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. Feb 26 08:23:28 srv4hai dhcpd[5037]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Feb 26 08:23:28 srv4hai ping_SP[2618]: SHELLY ping_SP.sh started from smartphone Feb 26 08:23:29 srv4hai common[2635]: SHELLY common.sh inkludiert Feb 26 08:23:38 srv4hai common[2666]: SHELLY common.sh inkludiert Feb 26 08:23:38 srv4hai check_presence[2666]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and /srv/www/viehai/shelly//meter/BTscan_BTid_0.No Feb 26 08:23:38 srv4hai check_presence[2666]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_1.No Feb 26 08:23:38 srv4hai check_presence[2666]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and /srv/www/viehai/shelly//meter/BTscan_BTid_2.No Feb 26 08:23:38 srv4hai check_presence[2666]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false' Feb 26 08:23:38 srv4hai check_presence[2666]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Feb 26 08:23:38 srv4hai activate_scenario[2717]: SHELLY scenario: 'vorraumOn(vorraumon)' started Feb 26 08:23:38 srv4hai activate_scenario[2717]: SHELLY dayState='day' <--> DayTime=unchecked NightTime=checked - phoneName:'0' Feb 26 08:23:38 srv4hai activate_scenario[2717]: SHELLY scenario: 'vorraumOn(vorraumon)' NOT EXECUTED, phoneName:'0' Feb 26 08:23:38 srv4hai ping_SP[2618]: SHELLY check_presence.sh coming 0 ping_SP__smartphone Feb 26 08:23:38 srv4hai postfix/pickup[380]: E78A360244: uid=33 from= Feb 26 08:23:38 srv4hai postfix/cleanup[2767]: E78A360244: message-id=<20240226072338.E78A360244@mail.viehai.at> Feb 26 08:23:38 srv4hai postfix/qmgr[28610]: E78A360244: from= , size=11669, nrcpt=1 (queue active) Feb 26 08:23:39 srv4hai bt_scan[2635]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes' Feb 26 08:23:39 srv4hai bt_scan[2635]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61' Feb 26 08:23:40 srv4hai postfix/relay/smtp[2773]: E78A360244: to= , relay=mx01.nic.name[209.131.159.47]:25, delay=1.2, delays=0.02/0.01/0.88/0.26, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as DEBAF201B1) Feb 26 08:23:40 srv4hai postfix/qmgr[28610]: E78A360244: removed Feb 26 08:23:40 srv4hai ping_SP[2618]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1708932220 Feb 26 08:23:45 srv4hai postfix/smtpd[2574]: connect from unknown[194.48.251.202] Feb 26 08:23:45 srv4hai postfix/smtpd[2574]: warning: unknown[194.48.251.202]: SASL LOGIN authentication failed: Invalid authentication mechanism Feb 26 08:23:45 srv4hai postfix/smtpd[2574]: disconnect from unknown[194.48.251.202] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 26 08:23:54 srv4hai ping_SP[2618]: SHELLY (0) - ping 192.168.12.61 0 sucessfully @~1708932234 - 'ping_SP_0' Feb 26 08:23:54 srv4hai ping_SP[2618]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 26 08:24:00 srv4hai activate_scenario[2827]: SHELLY scenario: 'homeOffice(homeoffice)' started Feb 26 08:24:00 srv4hai activate_scenario[2827]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
finished