activate_scenario.sh
Fri Sep 13 17:37:22 CEST 2024
scenario: vorraumOn
phoneName: 0
vorher: 17:37:23.113
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:37:23.226
Dauer: 112 msec
phName: 'phoneName:'0''
urls : 1
vorher : 17:37:23.055
nachher: 17:37:23.232
Dauer : 178 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/13//scene_vorraumOn_20240913_173722.txt'
Sep 13 17:34:01 srv4hai CRON[26316]: (root) CMD (/etc/linetest/linetest.sh) Sep 13 17:34:02 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1726241642 - 'ping_SP_1' Sep 13 17:34:02 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Sep 13 17:34:22 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1726241662 - 'ping_SP_0' Sep 13 17:34:22 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Sep 13 17:35:01 srv4hai CRON[26378]: (root) CMD (/etc/linetest/linetest.sh) Sep 13 17:35:05 srv4hai common[26386]: SHELLY common.sh inkludiert von ./bt_scan.sh Sep 13 17:35:15 srv4hai bt_scan[26386]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes' Sep 13 17:35:15 srv4hai bt_scan[26386]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61' Sep 13 17:35:15 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1726241715 - 'ping_SP_1' Sep 13 17:35:15 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Sep 13 17:35:35 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1726241735 - 'ping_SP_0' Sep 13 17:35:35 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Sep 13 17:36:01 srv4hai CRON[26473]: (root) CMD (/etc/linetest/linetest.sh) Sep 13 17:36:29 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1726241789 - 'ping_SP_1' Sep 13 17:36:29 srv4hai ping_SP[21455]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Sep 13 17:36:34 srv4hai common[26513]: SHELLY common.sh inkludiert von ./bt_scan.sh Sep 13 17:36:44 srv4hai bt_scan[26513]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No' Sep 13 17:36:44 srv4hai bt_scan[26513]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Sep 13 17:36:44 srv4hai common[26549]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Sep 13 17:36:45 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1726241805-1726241794 Sep 13 17:36:45 srv4hai check_presence[26549]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Sep 13 17:36:45 srv4hai check_presence[26549]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence' Sep 13 17:36:45 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1726241805-1726241794 Sep 13 17:36:45 srv4hai check_presence[26549]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Sep 13 17:36:45 srv4hai check_presence[26549]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence' Sep 13 17:36:45 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1726241805-1726241794 Sep 13 17:36:45 srv4hai check_presence[26549]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Sep 13 17:36:45 srv4hai check_presence[26549]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Sep 13 17:36:45 srv4hai check_presence[26549]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_buero_UM) - sceneOFF(offAll) Sep 13 17:36:45 srv4hai check_presence[26549]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll Sep 13 17:36:49 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1726241808 - 'ping_SP_0' Sep 13 17:36:49 srv4hai ping_SP[9173]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Sep 13 17:36:52 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Sep 13 17:36:52 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Sep 13 17:36:52 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Sep 13 17:36:52 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Sep 13 17:36:52 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Sep 13 17:36:52 srv4hai common[26713]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Sep 13 17:37:01 srv4hai CRON[26727]: (root) CMD (/etc/linetest/linetest.sh) Sep 13 17:37:02 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Sep 13 17:37:02 srv4hai common[26733]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Sep 13 17:37:02 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Sep 13 17:37:02 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Sep 13 17:37:02 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Sep 13 17:37:02 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Sep 13 17:37:02 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Sep 13 17:37:02 srv4hai common[26746]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Sep 13 17:37:02 srv4hai ping_SP[26733]: SHELLY ping_SP.sh started from smartphone, user:'root' Sep 13 17:37:12 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Sep 13 17:37:12 srv4hai common[26775]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Sep 13 17:37:12 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Sep 13 17:37:12 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Sep 13 17:37:12 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Sep 13 17:37:12 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Sep 13 17:37:12 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Sep 13 17:37:12 srv4hai common[26786]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Sep 13 17:37:12 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#48977/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 13 17:37:12 srv4hai common[26794]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Sep 13 17:37:12 srv4hai ping_SP[26775]: SHELLY ping_SP.sh started from smartphone, user:'root' Sep 13 17:37:12 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'2'=1726241832-1726241830 Sep 13 17:37:12 srv4hai check_presence[26786]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Sep 13 17:37:12 srv4hai check_presence[26786]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Sep 13 17:37:12 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'2'=1726241832-1726241830 Sep 13 17:37:12 srv4hai check_presence[26786]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Sep 13 17:37:12 srv4hai check_presence[26786]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Sep 13 17:37:12 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'2'=1726241832-1726241830 Sep 13 17:37:12 srv4hai check_presence[26786]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Sep 13 17:37:13 srv4hai check_presence[26786]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Sep 13 17:37:13 srv4hai check_presence[26786]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_buero_UM) - sceneONsmall(vorraumOn) Sep 13 17:37:13 srv4hai check_presence[26786]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Sep 13 17:37:13 srv4hai activate_scenario[26959]: SHELLY scenario: 'vorraumOn(vorraumon)' started Sep 13 17:37:13 srv4hai activate_scenario[26959]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0' Sep 13 17:37:13 srv4hai activate_scenario[26959]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0' Sep 13 17:37:13 srv4hai postfix/pickup[18429]: 310756345B: uid=33 from=Sep 13 17:37:13 srv4hai postfix/cleanup[27009]: 310756345B: message-id=<20240913153713.310756345B@mail.viehai.at> Sep 13 17:37:13 srv4hai postfix/qmgr[8566]: 310756345B: from= , size=8966, nrcpt=1 (queue active) Sep 13 17:37:13 srv4hai activate_scenario[26959]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Sep 13 17:37:13 srv4hai proc_url[27026]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/13/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0'' Sep 13 17:37:13 srv4hai activate_scenario[26959]: SHELLY scenario: 'vorraumOn(vorraumon)' took 101 msec, phoneName:'0' Sep 13 17:37:13 srv4hai ping_SP[26733]: SHELLY check_presence.sh coming 0 ping_SP__smartphone Sep 13 17:37:14 srv4hai postfix/relay/smtp[27022]: 310756345B: to= , relay=mx02.nic.name[209.131.158.56]:25, delay=0.91, delays=0.03/0.01/0.6/0.27, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as DA32A8002F) Sep 13 17:37:14 srv4hai postfix/qmgr[8566]: 310756345B: removed Sep 13 17:37:15 srv4hai ping_SP[26733]: SHELLY - running process-id(26733): '9173 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan#01226733 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01226775 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01226794 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas' - 'ping_SP_0' - exiting ============== Sep 13 17:37:22 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Sep 13 17:37:22 srv4hai common[27067]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Sep 13 17:37:22 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Sep 13 17:37:22 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Sep 13 17:37:22 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Sep 13 17:37:22 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61 Sep 13 17:37:22 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas Sep 13 17:37:22 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#44615/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 13 17:37:22 srv4hai named[30406]: client @0x7f93506e53a0 192.168.12.252#48977/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 13 17:37:22 srv4hai common[27084]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Sep 13 17:37:22 srv4hai common[27087]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Sep 13 17:37:22 srv4hai ping_SP[27067]: SHELLY ping_SP.sh started from smartphone, user:'root' Sep 13 17:37:22 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1726241842-1726241841 Sep 13 17:37:22 srv4hai check_presence[27084]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Sep 13 17:37:22 srv4hai check_presence[27084]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Sep 13 17:37:22 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1726241842-1726241841 Sep 13 17:37:22 srv4hai check_presence[27084]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Sep 13 17:37:22 srv4hai check_presence[27084]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Sep 13 17:37:22 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1726241842-1726241841 Sep 13 17:37:22 srv4hai check_presence[27084]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Sep 13 17:37:22 srv4hai check_presence[27084]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Sep 13 17:37:22 srv4hai check_presence[27084]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn) Sep 13 17:37:22 srv4hai check_presence[27084]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Sep 13 17:37:23 srv4hai activate_scenario[27240]: SHELLY scenario: 'vorraumOn(vorraumon)' started Sep 13 17:37:23 srv4hai activate_scenario[27240]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
finished