activate_scenario.sh
Mon Apr 15 19:23:19 CEST 2024
scenario: LOG_kommen
source: 192.168.12.103

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to ''

scenario: 'LOG_EIN' - 'LOG_kommen' - 'log_kommen'

scenario: 'LOG_EIN' - 'LOG_kommen' - 'log_kommen'

urls : 0
vorher : 19:23:19.250
nachher: 19:23:19.255
Dauer : 4 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/15//scene_LOG_kommen_20240415_192319.txt'


syslog

Apr 15 19:20:01 srv4hai CRON[25400]: (root) CMD (/etc/linetest/linetest.sh)
Apr 15 19:20:01 srv4hai CRON[25401]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 15 19:20:01 srv4hai common[25403]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 15 19:20:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 15 19:20:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 15 19:20:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 15 19:20:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 15 19:20:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 15 19:20:06 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 15 19:20:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 15 19:20:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 15 19:20:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 15 19:20:12 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 15 19:20:12 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 15 19:20:12 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 15 19:20:12 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 15 19:20:12 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 15 19:20:12 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 15 19:20:15 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 15 19:20:15 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 15 19:20:15 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 15 19:20:15 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 15 19:20:15 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 15 19:20:15 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 15 19:20:15 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 15 19:20:15 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 15 19:20:15 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 15 19:20:15 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 15 19:20:15 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 15 19:20:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 15 19:20:20 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 15 19:20:20 srv4hai common[25403]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 15 19:20:20 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'9'=1713201620-1713201611
Apr 15 19:20:20 srv4hai check_presence[25403]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 15 19:20:20 srv4hai check_presence[25403]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 15 19:20:20 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'9'=1713201620-1713201611
Apr 15 19:20:20 srv4hai check_presence[25403]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr 15 19:20:20 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'9'=1713201620-1713201611
Apr 15 19:20:20 srv4hai check_presence[25403]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 15 19:20:20 srv4hai check_presence[25403]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 15 19:20:20 srv4hai check_presence[25403]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 15 19:20:20 srv4hai common[25403]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 15 19:20:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'LOG_gehen'
Apr 15 19:20:20 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
Apr 15 19:20:20 srv4hai meter.sh: SHELLY meter.sh ended
Apr 15 19:20:20 srv4hai postfix/pickup[7820]: D729A6022F: uid=33 from=
Apr 15 19:20:20 srv4hai postfix/cleanup[25359]: D729A6022F: message-id=<20240415172020.D729A6022F@mail.viehai.at>
Apr 15 19:20:20 srv4hai postfix/qmgr[15291]: D729A6022F: from=, size=641, nrcpt=1 (queue active)
Apr 15 19:20:20 srv4hai postfix/local[25360]: D729A6022F: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 15 19:20:20 srv4hai postfix/qmgr[15291]: D729A6022F: removed
Apr 15 19:20:46 srv4hai ping_SP[5286]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713201646 - 'ping_SP_0'
Apr 15 19:20:46 srv4hai ping_SP[5286]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 15 19:21:01 srv4hai CRON[26480]: (root) CMD (/etc/linetest/linetest.sh)
Apr 15 19:21:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26492, secured, session=<+a3W2iUWtNAAAAAAAAAAAAAAAAAAAAAB>
Apr 15 19:21:41 srv4hai dovecot: imap(miglincit)<26492><+a3W2iUWtNAAAAAAAAAAAAAAAAAAAAAB>: Logged out in=749 out=42467 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=18276 body_count=0 body_bytes=0
Apr 15 19:21:59 srv4hai ping_SP[5286]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713201719 - 'ping_SP_0'
Apr 15 19:21:59 srv4hai ping_SP[5286]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 15 19:22:01 srv4hai CRON[26514]: (root) CMD (/etc/linetest/linetest.sh)
Apr 15 19:22:12 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=26523, secured, session=
Apr 15 19:22:12 srv4hai dovecot: imap(miglincit)<26523>: Logged out in=308 out=1648 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 15 19:22:33 srv4hai postfix/anvil[25372]: statistics: max connection rate 1/60s for (smtp:87.121.105.109) at Apr 15 19:19:13
Apr 15 19:22:33 srv4hai postfix/anvil[25372]: statistics: max connection count 1 for (smtp:87.121.105.109) at Apr 15 19:19:13
Apr 15 19:22:33 srv4hai postfix/anvil[25372]: statistics: max cache size 1 at Apr 15 19:19:13
Apr 15 19:23:02 srv4hai CRON[26529]: (root) CMD (/etc/linetest/linetest.sh)
Apr 15 19:23:08 srv4hai common[26539]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 15 19:23:12 srv4hai ping_SP[5286]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713201792 - 'ping_SP_0'
Apr 15 19:23:12 srv4hai ping_SP[5286]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 15 19:23:18 srv4hai bt_scan[26539]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Apr 15 19:23:18 srv4hai bt_scan[26539]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Apr 15 19:23:18 srv4hai common[26588]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Apr 15 19:23:18 srv4hai ping_SP[26588]: SHELLY ping_SP.sh started from bt_scan
Apr 15 19:23:18 srv4hai common[26606]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 15 19:23:18 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1713201798-1713201788
Apr 15 19:23:18 srv4hai check_presence[26606]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 15 19:23:18 srv4hai check_presence[26606]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Apr 15 19:23:18 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1713201798-1713201788
Apr 15 19:23:18 srv4hai check_presence[26606]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 15 19:23:18 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1713201798-1713201788
Apr 15 19:23:18 srv4hai check_presence[26606]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 15 19:23:18 srv4hai check_presence[26606]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 15 19:23:18 srv4hai check_presence[26606]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Apr 15 19:23:19 srv4hai activate_scenario[26729]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Apr 15 19:23:19 srv4hai activate_scenario[26729]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'
Apr 15 19:23:19 srv4hai activate_scenario[26729]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'1'
Apr 15 19:23:19 srv4hai postfix/pickup[7820]: 19FE36022F: uid=33 from=
Apr 15 19:23:19 srv4hai postfix/cleanup[26779]: 19FE36022F: message-id=<20240415172319.19FE36022F@mail.viehai.at>
Apr 15 19:23:19 srv4hai postfix/qmgr[15291]: 19FE36022F: from=, size=10111, nrcpt=1 (queue active)
Apr 15 19:23:19 srv4hai activate_scenario[26729]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Apr 15 19:23:19 srv4hai proc_url[26796]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/15/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'1''
Apr 15 19:23:19 srv4hai activate_scenario[26729]: SHELLY scenario: 'vorraumOn(vorraumon)' took 81 msec, phoneName:'1'
Apr 15 19:23:19 srv4hai ping_SP[26588]: SHELLY check_presence.sh coming 1 ping_SP__bt_scan
Apr 15 19:23:19 srv4hai activate_scenario[26821]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Apr 15 19:23:19 srv4hai activate_scenario[26821]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'

finished