activate_scenario.sh
Wed Apr 24 21:33:54 CEST 2024
scenario: LOG_kommen
source: 192.168.12.103
urls : 0
vorher : 21:33:54.495
nachher: 21:33:54.500
Dauer : 4 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/24//scene_LOG_kommen_20240424_213354.txt'
Apr 24 21:30:01 srv4hai CRON[6845]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi) Apr 24 21:30:01 srv4hai CRON[6846]: (root) CMD (/etc/linetest/linetest.sh) Apr 24 21:30:01 srv4hai CRON[6847]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Apr 24 21:30:01 srv4hai common[6848]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh Apr 24 21:30:01 srv4hai meter.sh: SHELLY meter.sh started Apr 24 21:30:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring Apr 24 21:30:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring Apr 24 21:30:07 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 24 21:30:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring Apr 24 21:30:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring Apr 24 21:30:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring Apr 24 21:30:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring Apr 24 21:30:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring Apr 24 21:30:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 24 21:30:11 srv4hai postfix/smtpd[6725]: connect from modemcable098.146-70-69.static.videotron.ca[69.70.146.98] Apr 24 21:30:11 srv4hai postfix/smtpd[6725]: warning: modemcable098.146-70-69.static.videotron.ca[69.70.146.98]: SASL LOGIN authentication failed: Invalid authentication mechanism Apr 24 21:30:11 srv4hai postfix/smtpd[6725]: disconnect from modemcable098.146-70-69.static.videotron.ca[69.70.146.98] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Apr 24 21:30:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 24 21:30:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring Apr 24 21:30:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring Apr 24 21:30:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring Apr 24 21:30:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring Apr 24 21:30:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring Apr 24 21:30:14 srv4hai postfix/smtpd[6725]: connect from unknown[193.222.96.101] Apr 24 21:30:15 srv4hai postfix/smtpd[6725]: disconnect from unknown[193.222.96.101] ehlo=1 quit=1 commands=2 Apr 24 21:30:16 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 24 21:30:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring Apr 24 21:30:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring Apr 24 21:30:16 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring Apr 24 21:30:16 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring Apr 24 21:30:16 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring Apr 24 21:30:16 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring Apr 24 21:30:16 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring Apr 24 21:30:16 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring Apr 24 21:30:16 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring Apr 24 21:30:16 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring Apr 24 21:30:19 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 24 21:30:19 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring Apr 24 21:30:19 srv4hai common[6848]: SHELLY common.sh inkludiert von ./check_presence.sh Apr 24 21:30:19 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'8'=1713987019-1713987011 Apr 24 21:30:19 srv4hai check_presence[6848]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Apr 24 21:30:19 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'8'=1713987019-1713987011 Apr 24 21:30:19 srv4hai check_presence[6848]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Apr 24 21:30:19 srv4hai check_presence[6848]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence' Apr 24 21:30:19 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'8'=1713987019-1713987011 Apr 24 21:30:19 srv4hai check_presence[6848]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Apr 24 21:30:19 srv4hai check_presence[6848]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Apr 24 21:30:19 srv4hai check_presence[6848]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll Apr 24 21:30:19 srv4hai common[6848]: SHELLY common.sh inkludiert von ./check_shelly.sh Apr 24 21:30:19 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um' Apr 24 21:30:19 srv4hai check_shelly.sh: SHELLY found '2' active shelly outputs Apr 24 21:30:19 srv4hai meter.sh: SHELLY meter.sh ended Apr 24 21:30:19 srv4hai postfix/pickup[3541]: D0E246022F: uid=33 from=Apr 24 21:30:19 srv4hai postfix/cleanup[7876]: D0E246022F: message-id=<20240424193019.D0E246022F@mail.viehai.at> Apr 24 21:30:19 srv4hai postfix/qmgr[15291]: D0E246022F: from= , size=641, nrcpt=1 (queue active) Apr 24 21:30:19 srv4hai postfix/local[7878]: D0E246022F: to= , orig_to= , relay=local, delay=0.08, delays=0.05/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 24 21:30:19 srv4hai postfix/qmgr[15291]: D0E246022F: removed Apr 24 21:30:26 srv4hai ping_SP[3296]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1713987026 - 'ping_SP_1' Apr 24 21:30:26 srv4hai ping_SP[3296]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 24 21:31:01 srv4hai CRON[7903]: (root) CMD (/etc/linetest/linetest.sh) Apr 24 21:31:39 srv4hai ping_SP[3296]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1713987099 - 'ping_SP_1' Apr 24 21:31:39 srv4hai ping_SP[3296]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 24 21:31:47 srv4hai postfix/smtpd[6725]: connect from unknown[45.88.90.157] Apr 24 21:31:47 srv4hai postfix/smtpd[6725]: warning: unknown[45.88.90.157]: SASL LOGIN authentication failed: Invalid authentication mechanism Apr 24 21:31:47 srv4hai postfix/smtpd[6725]: disconnect from unknown[45.88.90.157] ehlo=1 auth=0/1 quit=1 commands=2/3 Apr 24 21:32:01 srv4hai CRON[7932]: (root) CMD (/etc/linetest/linetest.sh) Apr 24 21:32:36 srv4hai systemd[1]: Started Run anacron jobs. Apr 24 21:32:36 srv4hai anacron[7941]: Anacron 2.3 started on 2024-04-24 Apr 24 21:32:36 srv4hai anacron[7941]: Normal exit (0 jobs run) Apr 24 21:32:36 srv4hai systemd[1]: anacron.service: Succeeded. Apr 24 21:32:53 srv4hai ping_SP[3296]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1713987173 - 'ping_SP_1' Apr 24 21:32:53 srv4hai ping_SP[3296]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 24 21:33:01 srv4hai CRON[7967]: (root) CMD (/etc/linetest/linetest.sh) Apr 24 21:33:42 srv4hai common[7980]: SHELLY common.sh inkludiert von ./bt_scan.sh Apr 24 21:33:52 srv4hai dhcpd[22856]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Apr 24 21:33:52 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Apr 24 21:33:52 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Apr 24 21:33:52 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.61 Apr 24 21:33:52 srv4hai dhcpd[22856]: execute_statement argv[2] = fpThomas Apr 24 21:33:52 srv4hai common[7994]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Apr 24 21:33:52 srv4hai bt_scan[7980]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes' Apr 24 21:33:52 srv4hai bt_scan[7980]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61' Apr 24 21:33:52 srv4hai common[8024]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Apr 24 21:33:52 srv4hai ping_SP[8024]: SHELLY ping_SP.sh started from bt_scan, user:'www-data' Apr 24 21:33:52 srv4hai common[8045]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Apr 24 21:33:53 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'2'=1713987233-1713987231 Apr 24 21:33:54 srv4hai check_presence[8045]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes Apr 24 21:33:54 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'3'=1713987234-1713987231 Apr 24 21:33:54 srv4hai check_presence[8045]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Apr 24 21:33:54 srv4hai check_presence[8045]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Apr 24 21:33:54 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1713987234-1713987231 Apr 24 21:33:54 srv4hai check_presence[8045]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Apr 24 21:33:54 srv4hai check_presence[8045]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Apr 24 21:33:54 srv4hai check_presence[8045]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn Apr 24 21:33:54 srv4hai activate_scenario[8171]: SHELLY scenario: 'vorraumOn(vorraumon)' started Apr 24 21:33:54 srv4hai activate_scenario[8171]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0' Apr 24 21:33:54 srv4hai activate_scenario[8171]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0' Apr 24 21:33:54 srv4hai postfix/pickup[3541]: 573386022F: uid=33 from= Apr 24 21:33:54 srv4hai postfix/cleanup[8221]: 573386022F: message-id=<20240424193354.573386022F@mail.viehai.at> Apr 24 21:33:54 srv4hai postfix/qmgr[15291]: 573386022F: from= , size=11139, nrcpt=1 (queue active) Apr 24 21:33:54 srv4hai activate_scenario[8171]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Apr 24 21:33:54 srv4hai proc_url[8238]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/24/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0'' Apr 24 21:33:54 srv4hai activate_scenario[8171]: SHELLY scenario: 'vorraumOn(vorraumon)' took 70 msec, phoneName:'0' Apr 24 21:33:54 srv4hai ping_SP[8024]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan Apr 24 21:33:54 srv4hai ping_SP[8024]: SHELLY - running process-id(8024): '7994 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas#0128024 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ============== Apr 24 21:33:54 srv4hai activate_scenario[8269]: SHELLY scenario: 'LOG_kommen(log_kommen)' started Apr 24 21:33:54 srv4hai activate_scenario[8269]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
finished