activate_scenario.sh
Sat Jun 29 14:55:20 CEST 2024
scenario: vorraumOn
phoneName: 0
vorher: 14:55:20.256
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: 14:55:20.294
Dauer: 39 msec
phName: 'phoneName:'0''
urls : 1
vorher : 14:55:20.238
nachher: 14:55:20.300
Dauer : 63 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/29//scene_vorraumOn_20240629_145520.txt'
Jun 29 14:52:01 srv4hai CRON[4613]: (root) CMD (/etc/linetest/linetest.sh) Jun 29 14:52:02 srv4hai ping_SP[30982]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1719665522 - 'ping_SP_0' Jun 29 14:52:02 srv4hai ping_SP[30982]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 29 14:52:14 srv4hai ping_SP[27222]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1719665534 - 'ping_SP_1' Jun 29 14:52:14 srv4hai ping_SP[27222]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jun 29 14:53:00 srv4hai ping_SP[29182]: SHELLY (2) - ping 192.168.12.63 1 sucessfully @~1719665580 - 'ping_SP_2' Jun 29 14:53:00 srv4hai ping_SP[29182]: SHELLY (2) - ping 192.168.12.63 pCnt:'1' Jun 29 14:53:01 srv4hai CRON[4685]: (root) CMD (/etc/linetest/linetest.sh) Jun 29 14:53:15 srv4hai ping_SP[30982]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1719665595 - 'ping_SP_0' Jun 29 14:53:15 srv4hai ping_SP[30982]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 29 14:53:28 srv4hai ping_SP[27222]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1719665608 - 'ping_SP_1' Jun 29 14:53:28 srv4hai ping_SP[27222]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jun 29 14:53:37 srv4hai common[4730]: SHELLY common.sh inkludiert von ./bt_scan.sh Jun 29 14:53:47 srv4hai bt_scan[4730]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No' Jun 29 14:53:47 srv4hai bt_scan[4730]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Jun 29 14:53:47 srv4hai common[4762]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jun 29 14:53:48 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1719665628-1719665617 Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence' Jun 29 14:53:48 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1719665628-1719665617 Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence' Jun 29 14:53:48 srv4hai common.sh: SHELLY: BTstatus[2]:'On' dweetAge:'11'=1719665628-1719665617 Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_2.LIVE' for what: 'presence' Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/LIVE) (BT/LIVE)' - anyPresent: 'true' - otherPresent:'true' Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll) Jun 29 14:53:48 srv4hai check_presence[4762]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll Jun 29 14:54:01 srv4hai CRON[4917]: (root) CMD (/etc/linetest/linetest.sh) Jun 29 14:54:13 srv4hai ping_SP[29182]: SHELLY (2) - ping 192.168.12.63 1 sucessfully @~1719665653 - 'ping_SP_2' Jun 29 14:54:13 srv4hai ping_SP[29182]: SHELLY (2) - ping 192.168.12.63 pCnt:'1' Jun 29 14:54:28 srv4hai ping_SP[30982]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1719665668 - 'ping_SP_0' Jun 29 14:54:28 srv4hai ping_SP[30982]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 29 14:54:31 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Jun 29 14:54:32 srv4hai fetchmail[1651]: 47587 messages (47587 seen) for tmiglinci at mail.akis.at (-361528327 octets). Jun 29 14:54:32 srv4hai fetchmail[1651]: 10379 messages (10379 seen) for srozum at mail.akis.at (1248491141 octets). Jun 29 14:54:33 srv4hai fetchmail[1651]: 24440 messages (24440 seen) for mrozum at mail.akis.at (-10929829 octets). Jun 29 14:54:33 srv4hai fetchmail[1651]: 1138 messages (1138 seen) for admin@bastelstube.wien at pop3.world4you.com (51557211 octets). Jun 29 14:54:41 srv4hai ping_SP[27222]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1719665681 - 'ping_SP_1' Jun 29 14:54:41 srv4hai ping_SP[27222]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jun 29 14:54:49 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Jun 29 14:54:49 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 29 14:54:49 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 29 14:54:49 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 29 14:54:49 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 29 14:54:49 srv4hai common[4979]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 29 14:54:59 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 29 14:54:59 srv4hai common[4997]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jun 29 14:54:59 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 29 14:54:59 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 29 14:54:59 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 29 14:54:59 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 29 14:54:59 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 29 14:54:59 srv4hai common[5010]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 29 14:54:59 srv4hai ping_SP[4997]: SHELLY ping_SP.sh started from smartphone, user:'root' Jun 29 14:55:01 srv4hai CRON[5031]: (root) CMD (/etc/linetest/linetest.sh) Jun 29 14:55:09 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 29 14:55:09 srv4hai common[5047]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jun 29 14:55:09 srv4hai common[5057]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jun 29 14:55:09 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 29 14:55:09 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 29 14:55:09 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 29 14:55:09 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 29 14:55:09 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 29 14:55:09 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#39389/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 29 14:55:09 srv4hai common[5067]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 29 14:55:09 srv4hai ping_SP[5047]: SHELLY ping_SP.sh started from smartphone, user:'root' Jun 29 14:55:09 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_older_60sec' dweetAge:'92'=1719665709-1719665617 Jun 29 14:55:10 srv4hai check_presence[5057]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jun 29 14:55:10 srv4hai check_presence[5057]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Jun 29 14:55:10 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_older_60sec' dweetAge:'93'=1719665710-1719665617 Jun 29 14:55:10 srv4hai check_presence[5057]: 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 Jun 29 14:55:10 srv4hai check_presence[5057]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Jun 29 14:55:10 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_older_60sec' dweetAge:'93'=1719665710-1719665617 Jun 29 14:55:10 srv4hai check_presence[5057]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes Jun 29 14:55:10 srv4hai check_presence[5057]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_2.LIVE' for what: 'coming' Jun 29 14:55:10 srv4hai check_presence[5057]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/LIVE)' - anyPresent: 'true' - otherPresent:'true' Jun 29 14:55:10 srv4hai check_presence[5057]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn) Jun 29 14:55:10 srv4hai check_presence[5057]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Jun 29 14:55:10 srv4hai activate_scenario[5219]: SHELLY scenario: 'vorraumOn(vorraumon)' started Jun 29 14:55:10 srv4hai activate_scenario[5219]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0' Jun 29 14:55:10 srv4hai activate_scenario[5219]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0' Jun 29 14:55:10 srv4hai postfix/pickup[20298]: 3E6B062A56: uid=33 from=Jun 29 14:55:10 srv4hai postfix/cleanup[5269]: 3E6B062A56: message-id=<20240629125510.3E6B062A56@mail.viehai.at> Jun 29 14:55:10 srv4hai postfix/qmgr[8566]: 3E6B062A56: from= , size=9994, nrcpt=1 (queue active) Jun 29 14:55:10 srv4hai activate_scenario[5219]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Jun 29 14:55:10 srv4hai proc_url[5286]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/29/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0'' Jun 29 14:55:10 srv4hai activate_scenario[5219]: SHELLY scenario: 'vorraumOn(vorraumon)' took 56 msec, phoneName:'0' Jun 29 14:55:10 srv4hai ping_SP[4997]: SHELLY check_presence.sh coming 0 ping_SP__smartphone Jun 29 14:55:11 srv4hai postfix/relay/smtp[5282]: 3E6B062A56: to= , relay=mx04.nic.name[209.131.160.34]:25, delay=0.85, delays=0.02/0.01/0.55/0.27, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as DB1C6802A9) Jun 29 14:55:11 srv4hai postfix/qmgr[8566]: 3E6B062A56: removed Jun 29 14:55:12 srv4hai ping_SP[4997]: SHELLY - running process-id(4997): '4997 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#0125047 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#0125067 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas#01230982 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ============== Jun 29 14:55:19 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jun 29 14:55:19 srv4hai common[5334]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jun 29 14:55:19 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jun 29 14:55:19 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jun 29 14:55:19 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jun 29 14:55:19 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Jun 29 14:55:19 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Jun 29 14:55:19 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#39389/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 29 14:55:19 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#49929/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 29 14:55:19 srv4hai common[5349]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jun 29 14:55:19 srv4hai common[5355]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jun 29 14:55:19 srv4hai ping_SP[5334]: SHELLY ping_SP.sh started from smartphone, user:'root' Jun 29 14:55:19 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_older_60sec' dweetAge:'102'=1719665719-1719665617 Jun 29 14:55:19 srv4hai check_presence[5349]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jun 29 14:55:20 srv4hai check_presence[5349]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Jun 29 14:55:20 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_older_60sec' dweetAge:'103'=1719665720-1719665617 Jun 29 14:55:20 srv4hai check_presence[5349]: 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 Jun 29 14:55:20 srv4hai check_presence[5349]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Jun 29 14:55:20 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_older_60sec' dweetAge:'103'=1719665720-1719665617 Jun 29 14:55:20 srv4hai check_presence[5349]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes Jun 29 14:55:20 srv4hai check_presence[5349]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_2.LIVE' for what: 'coming' Jun 29 14:55:20 srv4hai check_presence[5349]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/LIVE)' - anyPresent: 'true' - otherPresent:'true' Jun 29 14:55:20 srv4hai check_presence[5349]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn) Jun 29 14:55:20 srv4hai check_presence[5349]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Jun 29 14:55:20 srv4hai activate_scenario[5508]: SHELLY scenario: 'vorraumOn(vorraumon)' started Jun 29 14:55:20 srv4hai activate_scenario[5508]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
finished