activate_scenario.sh
Wed Sep 4 17:55:21 CEST 2024
scenario: vorraumOn
phoneName: 1
vorher: 17:55:21.946
http://192.168.12.103/relay/0?turn=on |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "input" |
nachher: 17:55:22.036
Dauer: 89 msec
phName: 'phoneName:'1''
urls : 1
vorher : 17:55:21.906
nachher: 17:55:22.042
Dauer : 139 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/04//scene_vorraumOn_20240904_175521.txt'
Sep 4 17:52:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12637, secured, session= Sep 4 17:52:01 srv4hai dovecot: imap(rozums)<12637> : Logged out in=93 out=1021 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Sep 4 17:52:01 srv4hai CRON[12639]: (root) CMD (/etc/linetest/linetest.sh) Sep 4 17:52:32 srv4hai postfix/smtpd[12664]: connect from unknown[94.141.120.207] Sep 4 17:52:32 srv4hai postfix/smtpd[12664]: warning: unknown[94.141.120.207]: SASL LOGIN authentication failed: Invalid authentication mechanism Sep 4 17:52:32 srv4hai postfix/smtpd[12664]: disconnect from unknown[94.141.120.207] ehlo=1 auth=0/1 quit=1 commands=2/3 Sep 4 17:53:01 srv4hai CRON[12689]: (root) CMD (/etc/linetest/linetest.sh) Sep 4 17:53:02 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=12697, secured, session= Sep 4 17:53:02 srv4hai dovecot: imap(rozums)<12697> : Logged out in=93 out=1021 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Sep 4 17:53:10 srv4hai ping_SP[7234]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1725465190 - 'ping_SP_1' Sep 4 17:53:10 srv4hai ping_SP[7234]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Sep 4 17:53:14 srv4hai postfix/smtpd[12664]: connect from unknown[94.141.120.77] Sep 4 17:53:14 srv4hai postfix/smtpd[12664]: warning: unknown[94.141.120.77]: SASL LOGIN authentication failed: Invalid authentication mechanism Sep 4 17:53:14 srv4hai postfix/smtpd[12664]: disconnect from unknown[94.141.120.77] ehlo=1 auth=0/1 quit=1 commands=2/3 Sep 4 17:54:00 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=12751, secured, session= Sep 4 17:54:00 srv4hai dovecot: imap(rozums)<12751>: Logged out in=93 out=1021 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Sep 4 17:54:01 srv4hai CRON[12753]: (root) CMD (/etc/linetest/linetest.sh) Sep 4 17:54:34 srv4hai ping_SP[7234]: SHELLY (1)- ping 192.168.12.62 1 not answered (1) @~1725465274 - 'ping_SP_1' Sep 4 17:54:42 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Sep 4 17:54:43 srv4hai fetchmail[1651]: 51558 messages (51558 seen) for tmiglinci at mail.akis.at (-44009284 octets). Sep 4 17:54:43 srv4hai fetchmail[1651]: 10675 messages (10675 seen) for srozum at mail.akis.at (1287996291 octets). Sep 4 17:54:44 srv4hai fetchmail[1651]: 25715 messages (25714 seen) for mrozum at mail.akis.at (184883424 octets). Sep 4 17:54:44 srv4hai postfix/smtpd[12664]: connect from localhost[127.0.0.1] Sep 4 17:54:44 srv4hai postfix/smtpd[12664]: 33CC86004E: client=localhost[127.0.0.1] Sep 4 17:54:44 srv4hai postfix/cleanup[12810]: 33CC86004E: message-id=<000e01dafee2$12cd7650$386862f0$@chello.at> Sep 4 17:54:44 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:25715 of 25715 (9147 octets) not flushed Sep 4 17:54:44 srv4hai postfix/qmgr[8566]: 33CC86004E: from= , size=9424, nrcpt=1 (queue active) Sep 4 17:54:44 srv4hai postfix/smtpd[12664]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Sep 4 17:54:44 srv4hai postfix/local[12811]: 33CC86004E: to= , relay=local, delay=0.11, delays=0.08/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Sep 4 17:54:44 srv4hai postfix/qmgr[8566]: 33CC86004E: removed Sep 4 17:54:44 srv4hai fetchmail[1651]: 1141 messages (1141 seen) for admin@bastelstube.wien at pop3.world4you.com (51598561 octets). Sep 4 17:54:50 srv4hai dhcpd[30731]: DHCPDISCOVER from f0:39:65:25:8d:c7 via enp2s0 Sep 4 17:54:50 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Sep 4 17:54:50 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Sep 4 17:54:50 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62 Sep 4 17:54:50 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20 Sep 4 17:54:51 srv4hai common[12821]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Sep 4 17:54:57 srv4hai ping_SP[7234]: SHELLY (1)- ping 192.168.12.62 2 not answered (1) @~1725465297 - 'ping_SP_1' Sep 4 17:54:59 srv4hai postfix/smtpd[12664]: connect from unknown[94.141.120.207] Sep 4 17:54:59 srv4hai postfix/smtpd[12664]: warning: unknown[94.141.120.207]: SASL LOGIN authentication failed: Invalid authentication mechanism Sep 4 17:54:59 srv4hai postfix/smtpd[12664]: disconnect from unknown[94.141.120.207] ehlo=1 auth=0/1 quit=1 commands=2/3 Sep 4 17:55:00 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=12856, secured, session= Sep 4 17:55:00 srv4hai dovecot: imap(rozums)<12856> : Logged out in=93 out=1021 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Sep 4 17:55:01 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'GreteS20' / '1' Sep 4 17:55:01 srv4hai common[12859]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Sep 4 17:55:01 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0 Sep 4 17:55:01 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Sep 4 17:55:01 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Sep 4 17:55:01 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62 Sep 4 17:55:01 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20 Sep 4 17:55:01 srv4hai common[12872]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Sep 4 17:55:01 srv4hai ping_SP[12859]: SHELLY ping_SP.sh started from smartphone, user:'root' Sep 4 17:55:01 srv4hai CRON[12893]: (root) CMD (/etc/linetest/linetest.sh) Sep 4 17:55:11 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'GreteS20' / '1' Sep 4 17:55:11 srv4hai common[12920]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Sep 4 17:55:11 srv4hai common[12929]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Sep 4 17:55:11 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0 Sep 4 17:55:11 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Sep 4 17:55:11 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Sep 4 17:55:11 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62 Sep 4 17:55:11 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20 Sep 4 17:55:11 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#40893/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 4 17:55:11 srv4hai common[12940]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Sep 4 17:55:11 srv4hai ping_SP[12920]: SHELLY ping_SP.sh started from smartphone, user:'root' Sep 4 17:55:11 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'12'=1725465311-1725465299 Sep 4 17:55:11 srv4hai check_presence[12929]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Sep 4 17:55:11 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'12'=1725465311-1725465299 Sep 4 17:55:11 srv4hai check_presence[12929]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Sep 4 17:55:11 srv4hai check_presence[12929]: SHELLY (ping_SP__smartphone)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Sep 4 17:55:11 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'12'=1725465311-1725465299 Sep 4 17:55:11 srv4hai check_presence[12929]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Sep 4 17:55:11 srv4hai check_presence[12929]: SHELLY (ping_SP__smartphone)-(1) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false' Sep 4 17:55:12 srv4hai check_presence[12929]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn) Sep 4 17:55:12 srv4hai check_presence[12929]: SHELLY (ping_SP__smartphone)-(1)-coming: activate_scenario.shtml: vorraumOn Sep 4 17:55:12 srv4hai activate_scenario[13117]: SHELLY scenario: 'vorraumOn(vorraumon)' started Sep 4 17:55:12 srv4hai activate_scenario[13117]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1' Sep 4 17:55:12 srv4hai activate_scenario[13117]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'1' Sep 4 17:55:12 srv4hai postfix/pickup[4448]: 126836345B: uid=33 from= Sep 4 17:55:12 srv4hai postfix/cleanup[12810]: 126836345B: message-id=<20240904155512.126836345B@mail.viehai.at> Sep 4 17:55:12 srv4hai postfix/qmgr[8566]: 126836345B: from= , size=9826, nrcpt=1 (queue active) Sep 4 17:55:12 srv4hai activate_scenario[13117]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Sep 4 17:55:12 srv4hai proc_url[13182]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/04/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'1'' Sep 4 17:55:12 srv4hai activate_scenario[13117]: SHELLY scenario: 'vorraumOn(vorraumon)' took 116 msec, phoneName:'1' Sep 4 17:55:12 srv4hai ping_SP[12859]: SHELLY check_presence.sh coming 1 ping_SP__smartphone Sep 4 17:55:12 srv4hai postfix/relay/smtp[13170]: 126836345B: to= , relay=mx04.nic.name[209.131.160.34]:25, delay=0.9, delays=0.02/0.02/0.55/0.31, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as B052380032) Sep 4 17:55:12 srv4hai postfix/qmgr[8566]: 126836345B: removed Sep 4 17:55:14 srv4hai ping_SP[12859]: SHELLY - running process-id(12859): '7234 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.62 bt_scan#01212859 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.62 smartphone#01212920 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.62 smartphone#01212940 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.62 GreteS20' - 'ping_SP_1' - exiting ============== Sep 4 17:55:20 srv4hai ping_SP[7234]: SHELLY (1) - ping 192.168.12.62 3 sucessfully @~1725465320 - 'ping_SP_1' Sep 4 17:55:20 srv4hai ping_SP[7234]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Sep 4 17:55:21 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'GreteS20' / '1' Sep 4 17:55:21 srv4hai common[13243]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Sep 4 17:55:21 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0 Sep 4 17:55:21 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Sep 4 17:55:21 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Sep 4 17:55:21 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62 Sep 4 17:55:21 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20 Sep 4 17:55:21 srv4hai named[30406]: client @0x7f9330095370 192.168.12.252#36533/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 4 17:55:21 srv4hai named[30406]: client @0x7f9348054f20 192.168.12.252#40893/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 4 17:55:21 srv4hai common[13258]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Sep 4 17:55:21 srv4hai common[13263]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Sep 4 17:55:21 srv4hai ping_SP[13243]: SHELLY ping_SP.sh started from smartphone, user:'root' Sep 4 17:55:21 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'5'=1725465321-1725465316 Sep 4 17:55:21 srv4hai check_presence[13258]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Sep 4 17:55:21 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'5'=1725465321-1725465316 Sep 4 17:55:21 srv4hai check_presence[13258]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Sep 4 17:55:21 srv4hai check_presence[13258]: SHELLY (ping_SP__smartphone)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Sep 4 17:55:21 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'5'=1725465321-1725465316 Sep 4 17:55:21 srv4hai check_presence[13258]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Sep 4 17:55:21 srv4hai check_presence[13258]: SHELLY (ping_SP__smartphone)-(1) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false' Sep 4 17:55:21 srv4hai check_presence[13258]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn) Sep 4 17:55:21 srv4hai check_presence[13258]: SHELLY (ping_SP__smartphone)-(1)-coming: activate_scenario.shtml: vorraumOn Sep 4 17:55:21 srv4hai activate_scenario[13428]: SHELLY scenario: 'vorraumOn(vorraumon)' started Sep 4 17:55:21 srv4hai activate_scenario[13428]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'
finished