activate_scenario.sh
Sat Apr 20 16:23:49 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 : 16:23:49.669
nachher: 16:23:49.677
Dauer : 8 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/20//scene_LOG_kommen_20240420_162349.txt'


syslog

Apr 20 16:20:01 srv4hai CRON[20733]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 20 16:20:01 srv4hai CRON[20734]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 16:20:01 srv4hai common[20736]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 20 16:20:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 20 16:20:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 20 16:20:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 20 16:20:08 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 20 16:20:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 20 16:20:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 20 16:20:08 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 20 16:20:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 20 16:20:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 20 16:20:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 20 16:20:14 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 20 16:20:14 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 20 16:20:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 20 16:20:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 20 16:20:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 20 16:20:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 20 16:20:17 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 20 16:20:17 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 20 16:20:17 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 20 16:20:17 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 20 16:20:17 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 20 16:20:17 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 20 16:20:17 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 20 16:20:17 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 20 16:20:17 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 20 16:20:17 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 20 16:20:17 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 20 16:20:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 20 16:20:20 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 20 16:20:20 srv4hai common[20736]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 20 16:20:20 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'15'=1713622820-1713622805
Apr 20 16:20:20 srv4hai check_presence[20736]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 20 16:20:20 srv4hai check_presence[20736]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 20 16:20:20 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'15'=1713622820-1713622805
Apr 20 16:20:20 srv4hai check_presence[20736]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr 20 16:20:20 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'15'=1713622820-1713622805
Apr 20 16:20:20 srv4hai check_presence[20736]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 20 16:20:20 srv4hai check_presence[20736]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 20 16:20:20 srv4hai check_presence[20736]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 20 16:20:20 srv4hai common[20736]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 20 16:20:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'herdzeile_UM'
Apr 20 16:20:20 srv4hai check_shelly.sh: SHELLY found '9' active shelly outputs
Apr 20 16:20:20 srv4hai meter.sh: SHELLY meter.sh ended
Apr 20 16:20:20 srv4hai postfix/pickup[19050]: DC9AF6022F: uid=33 from=
Apr 20 16:20:20 srv4hai postfix/cleanup[21766]: DC9AF6022F: message-id=<20240420142020.DC9AF6022F@mail.viehai.at>
Apr 20 16:20:20 srv4hai postfix/qmgr[15291]: DC9AF6022F: from=, size=642, nrcpt=1 (queue active)
Apr 20 16:20:20 srv4hai postfix/local[21768]: DC9AF6022F: to=, orig_to=, relay=local, delay=0.06, delays=0.04/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 20 16:20:20 srv4hai postfix/qmgr[15291]: DC9AF6022F: removed
Apr 20 16:20:45 srv4hai ping_SP[30102]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713622845 - 'ping_SP_0'
Apr 20 16:20:45 srv4hai ping_SP[30102]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 20 16:21:01 srv4hai CRON[21808]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 16:21:10 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 20 16:21:11 srv4hai fetchmail[1651]: 42530 messages (42530 seen) for tmiglinci at mail.akis.at (-752565932 octets).
Apr 20 16:21:11 srv4hai fetchmail[1651]: 10156 messages (10156 seen) for srozum at mail.akis.at (1226487762 octets).
Apr 20 16:21:12 srv4hai fetchmail[1651]: 22989 messages (22989 seen) for mrozum at mail.akis.at (-311105689 octets).
Apr 20 16:21:12 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Apr 20 16:21:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21827, secured, session=
Apr 20 16:21:37 srv4hai dovecot: imap(miglincit)<21827>: Logged out in=527 out=1231 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 20 16:21:58 srv4hai ping_SP[30102]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713622918 - 'ping_SP_0'
Apr 20 16:21:58 srv4hai ping_SP[30102]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 20 16:22:01 srv4hai CRON[21860]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 16:22:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21883, secured, session=
Apr 20 16:22:41 srv4hai dovecot: imap(miglincit)<21883>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 20 16:23:01 srv4hai CRON[21892]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 16:23:11 srv4hai postfix/anvil[20723]: statistics: max connection rate 1/60s for (smtp:193.222.96.12) at Apr 20 16:19:51
Apr 20 16:23:11 srv4hai postfix/anvil[20723]: statistics: max connection count 1 for (smtp:193.222.96.12) at Apr 20 16:19:51
Apr 20 16:23:11 srv4hai postfix/anvil[20723]: statistics: max cache size 1 at Apr 20 16:19:51
Apr 20 16:23:12 srv4hai ping_SP[30102]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713622992 - 'ping_SP_0'
Apr 20 16:23:12 srv4hai ping_SP[30102]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 20 16:23:38 srv4hai common[21930]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 20 16:23:48 srv4hai bt_scan[21930]: SHELLY - who: 'Sophie' / phoneName: 'iP_Sophie' / '2' / shellyIP: '192.168.12.63' - found: 'Yes'
Apr 20 16:23:48 srv4hai bt_scan[21930]: SHELLY - ping_SP.sh started for BTmac: '2' - IPv4: '192.168.12.63'
Apr 20 16:23:48 srv4hai common[21967]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Apr 20 16:23:48 srv4hai ping_SP[21967]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Apr 20 16:23:48 srv4hai common[21988]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 20 16:23:48 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1713623028-1713623018
Apr 20 16:23:48 srv4hai check_presence[21988]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 20 16:23:48 srv4hai check_presence[21988]: SHELLY (ping_SP__bt_scan)-(2) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Apr 20 16:23:49 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1713623028-1713623018
Apr 20 16:23:49 srv4hai check_presence[21988]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr 20 16:23:49 srv4hai common.sh: SHELLY: BTstatus[2]:'On' dweetAge:'11'=1713623029-1713623018
Apr 20 16:23:49 srv4hai check_presence[21988]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Apr 20 16:23:49 srv4hai check_presence[21988]: SHELLY (ping_SP__bt_scan)-(2) what: 'coming' - persPresent: '(__/LIVE) (__/__) (BT/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 20 16:23:49 srv4hai check_presence[21988]: SHELLY (ping_SP__bt_scan)-(2)-coming: activate_scenario.shtml: vorraumOn
Apr 20 16:23:49 srv4hai activate_scenario[22110]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Apr 20 16:23:49 srv4hai activate_scenario[22110]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'2'
Apr 20 16:23:49 srv4hai activate_scenario[22110]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'2'
Apr 20 16:23:49 srv4hai postfix/pickup[19050]: 1FADD6022F: uid=33 from=
Apr 20 16:23:49 srv4hai postfix/cleanup[22160]: 1FADD6022F: message-id=<20240420142349.1FADD6022F@mail.viehai.at>
Apr 20 16:23:49 srv4hai postfix/qmgr[15291]: 1FADD6022F: from=, size=10870, nrcpt=1 (queue active)
Apr 20 16:23:49 srv4hai activate_scenario[22110]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Apr 20 16:23:49 srv4hai proc_url[22177]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/20/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'2''
Apr 20 16:23:49 srv4hai activate_scenario[22110]: SHELLY scenario: 'vorraumOn(vorraumon)' took 191 msec, phoneName:'2'
Apr 20 16:23:49 srv4hai ping_SP[21967]: SHELLY check_presence.sh coming 2 ping_SP__bt_scan
Apr 20 16:23:49 srv4hai ping_SP[21967]: SHELLY - new process for '192.168.12.63' - '/srv/www/viehai/shelly//meter/ping_SP_2' @~1713623029
Apr 20 16:23:49 srv4hai activate_scenario[22215]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Apr 20 16:23:49 srv4hai activate_scenario[22215]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'

finished