activate_scenario.sh
Sun Sep 29 10:18:22 CEST 2024
scenario: vorraumOn
phoneName: 1
vorher: 10:18:22.582
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: 10:18:22.644
Dauer: 63 msec
phName: 'phoneName:'1''
urls : 1
vorher : 10:18:22.564
nachher: 10:18:22.650
Dauer : 86 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/29//scene_vorraumOn_20240929_101822.txt'
Sep 29 10:15:01 srv4hai CRON[27465]: (root) CMD (/etc/linetest/linetest.sh) Sep 29 10:15:21 srv4hai ping_SP[23119]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1727597721 - 'ping_SP_0' Sep 29 10:15:21 srv4hai ping_SP[23119]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Sep 29 10:15:37 srv4hai postfix/smtpd[27507]: connect from unknown[94.141.120.236] Sep 29 10:15:37 srv4hai postfix/smtpd[27507]: warning: unknown[94.141.120.236]: SASL LOGIN authentication failed: Invalid authentication mechanism Sep 29 10:15:37 srv4hai postfix/smtpd[27507]: disconnect from unknown[94.141.120.236] ehlo=1 auth=0/1 quit=1 commands=2/3 Sep 29 10:15:51 srv4hai postfix/smtpd[27507]: connect from unknown[92.255.85.107] Sep 29 10:15:51 srv4hai postfix/smtpd[27507]: lost connection after CONNECT from unknown[92.255.85.107] Sep 29 10:15:51 srv4hai postfix/smtpd[27507]: disconnect from unknown[92.255.85.107] commands=0/0 Sep 29 10:16:01 srv4hai CRON[27522]: (root) CMD (/etc/linetest/linetest.sh) Sep 29 10:16:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27537, secured, session= Sep 29 10:16:13 srv4hai dovecot: imap(miglincit)<27537>: Logged out in=198 out=1285 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Sep 29 10:16:34 srv4hai ping_SP[23119]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1727597794 - 'ping_SP_0' Sep 29 10:16:34 srv4hai ping_SP[23119]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Sep 29 10:16:53 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Sep 29 10:16:54 srv4hai fetchmail[1651]: 53369 messages (53369 seen) for tmiglinci at mail.akis.at (83621703 octets). Sep 29 10:16:54 srv4hai fetchmail[1651]: 10784 messages (10784 seen) for srozum at mail.akis.at (1306849243 octets). Sep 29 10:16:55 srv4hai fetchmail[1651]: 26225 messages (26225 seen) for mrozum at mail.akis.at (255852407 octets). Sep 29 10:16:56 srv4hai fetchmail[1651]: 1145 messages (1145 seen) for admin@bastelstube.wien at pop3.world4you.com (51919832 octets). Sep 29 10:17:01 srv4hai CRON[27586]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Sep 29 10:17:01 srv4hai CRON[27587]: (root) CMD (/etc/linetest/linetest.sh) Sep 29 10:17:47 srv4hai postfix/anvil[26136]: statistics: max connection rate 1/60s for (smtp:188.190.10.124) at Sep 29 10:07:48 Sep 29 10:17:47 srv4hai postfix/anvil[26136]: statistics: max connection count 1 for (smtp:188.190.10.124) at Sep 29 10:07:48 Sep 29 10:17:47 srv4hai postfix/anvil[26136]: statistics: max cache size 2 at Sep 29 10:15:51 Sep 29 10:17:49 srv4hai ping_SP[23119]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1727597869 - 'ping_SP_0' Sep 29 10:17:49 srv4hai ping_SP[23119]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Sep 29 10:17:51 srv4hai dhcpd[30731]: DHCPDISCOVER from f0:39:65:25:8d:c7 via enp2s0 Sep 29 10:17:51 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Sep 29 10:17:51 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Sep 29 10:17:51 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62 Sep 29 10:17:51 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20 Sep 29 10:17:51 srv4hai common[27639]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Sep 29 10:18:01 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'GreteS20' / '1' Sep 29 10:18:01 srv4hai common[27657]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Sep 29 10:18:01 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0 Sep 29 10:18:01 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Sep 29 10:18:01 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Sep 29 10:18:01 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62 Sep 29 10:18:01 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20 Sep 29 10:18:01 srv4hai common[27670]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Sep 29 10:18:01 srv4hai ping_SP[27657]: SHELLY ping_SP.sh started from smartphone, user:'root' Sep 29 10:18:01 srv4hai CRON[27691]: (root) CMD (/etc/linetest/linetest.sh) Sep 29 10:18:11 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'GreteS20' / '1' Sep 29 10:18:11 srv4hai common[27710]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Sep 29 10:18:11 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0 Sep 29 10:18:11 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Sep 29 10:18:11 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Sep 29 10:18:11 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62 Sep 29 10:18:11 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20 Sep 29 10:18:11 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#33497/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 29 10:18:11 srv4hai common[27722]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Sep 29 10:18:11 srv4hai common[27730]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Sep 29 10:18:11 srv4hai ping_SP[27710]: SHELLY ping_SP.sh started from smartphone, user:'root' Sep 29 10:18:12 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'54'=1727597892-1727597838 Sep 29 10:18:12 srv4hai check_presence[27722]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes Sep 29 10:18:12 srv4hai check_presence[27722]: SHELLY (ping_SP__smartphone)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Sep 29 10:18:12 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'54'=1727597892-1727597838 Sep 29 10:18:12 srv4hai check_presence[27722]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Sep 29 10:18:12 srv4hai check_presence[27722]: SHELLY (ping_SP__smartphone)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Sep 29 10:18:12 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'54'=1727597892-1727597838 Sep 29 10:18:12 srv4hai check_presence[27722]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Sep 29 10:18:12 srv4hai check_presence[27722]: SHELLY (ping_SP__smartphone)-(1) what: 'coming' - persPresent: '(BT/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Sep 29 10:18:12 srv4hai check_presence[27722]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn) Sep 29 10:18:12 srv4hai check_presence[27722]: SHELLY (ping_SP__smartphone)-(1)-coming: activate_scenario.shtml: vorraumOn Sep 29 10:18:12 srv4hai activate_scenario[27898]: SHELLY scenario: 'vorraumOn(vorraumon)' started Sep 29 10:18:12 srv4hai activate_scenario[27898]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1' Sep 29 10:18:12 srv4hai activate_scenario[27898]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'1' Sep 29 10:18:12 srv4hai postfix/pickup[15968]: A71AF63463: uid=33 from= Sep 29 10:18:12 srv4hai postfix/cleanup[27948]: A71AF63463: message-id=<20240929081812.A71AF63463@mail.viehai.at> Sep 29 10:18:12 srv4hai postfix/qmgr[8566]: A71AF63463: from= , size=8146, nrcpt=1 (queue active) Sep 29 10:18:12 srv4hai activate_scenario[27898]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Sep 29 10:18:12 srv4hai proc_url[27965]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/29/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'1'' Sep 29 10:18:12 srv4hai activate_scenario[27898]: SHELLY scenario: 'vorraumOn(vorraumon)' took 144 msec, phoneName:'1' Sep 29 10:18:12 srv4hai ping_SP[27657]: SHELLY check_presence.sh coming 1 ping_SP__smartphone Sep 29 10:18:13 srv4hai common[28005]: SHELLY common.sh inkludiert von ./bt_scan.sh Sep 29 10:18:13 srv4hai postfix/relay/smtp[27961]: A71AF63463: to= , relay=mx02.nic.name[209.131.158.56]:25, delay=0.95, delays=0.04/0.01/0.62/0.28, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 6732980058) Sep 29 10:18:13 srv4hai postfix/qmgr[8566]: A71AF63463: removed Sep 29 10:18:14 srv4hai ping_SP[27657]: SHELLY - running process-id(27657): '27657 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.62 smartphone#01227710 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.62 smartphone#01227730 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.62 GreteS20' - 'ping_SP_1' - exiting ============== Sep 29 10:18:21 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.62' / 'GreteS20' / '1' Sep 29 10:18:21 srv4hai common[28036]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Sep 29 10:18:21 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0 Sep 29 10:18:21 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Sep 29 10:18:21 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Sep 29 10:18:21 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62 Sep 29 10:18:21 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20 Sep 29 10:18:21 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#45339/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 29 10:18:21 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#33497/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 29 10:18:21 srv4hai common[28053]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Sep 29 10:18:21 srv4hai common[28056]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Sep 29 10:18:21 srv4hai ping_SP[28036]: SHELLY ping_SP.sh started from smartphone, user:'root' Sep 29 10:18:22 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_older_60sec' dweetAge:'64'=1727597902-1727597838 Sep 29 10:18:22 srv4hai check_presence[28053]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes Sep 29 10:18:22 srv4hai check_presence[28053]: SHELLY (ping_SP__smartphone)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Sep 29 10:18:22 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_older_60sec' dweetAge:'64'=1727597902-1727597838 Sep 29 10:18:22 srv4hai check_presence[28053]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Sep 29 10:18:22 srv4hai check_presence[28053]: SHELLY (ping_SP__smartphone)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Sep 29 10:18:22 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_older_60sec' dweetAge:'64'=1727597902-1727597838 Sep 29 10:18:22 srv4hai check_presence[28053]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Sep 29 10:18:22 srv4hai check_presence[28053]: SHELLY (ping_SP__smartphone)-(1) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Sep 29 10:18:22 srv4hai check_presence[28053]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn) Sep 29 10:18:22 srv4hai check_presence[28053]: SHELLY (ping_SP__smartphone)-(1)-coming: activate_scenario.shtml: vorraumOn Sep 29 10:18:22 srv4hai activate_scenario[28291]: SHELLY scenario: 'vorraumOn(vorraumon)' started Sep 29 10:18:22 srv4hai activate_scenario[28291]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'
finished