activate_scenario.sh
Tue Apr 23 07:22:31 CEST 2024
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/04/23/_0.log)

vorher: 07:22:31.362

http://192.168.12.108/relay/0?turn=toggle
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:22:31.615
Dauer: 253 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/23/_1.log)

vorher: 07:22:31.378

http://192.168.12.140/relay/0?turn=toggle
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 07:22:31.424
Dauer: 46 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 07:22:31.339
nachher: 07:22:31.623
Dauer : 283 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/23//scene_buero_UM_20240423_072231.txt'


syslog

Apr 23 07:19:01 srv4hai CRON[26516]: (root) CMD (/etc/linetest/linetest.sh)
Apr 23 07:19:58 srv4hai ping_SP[15758]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713849598 - 'ping_SP_1'
Apr 23 07:19:58 srv4hai ping_SP[15758]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 23 07:20:01 srv4hai CRON[26545]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 23 07:20:01 srv4hai CRON[26546]: (root) CMD (/etc/linetest/linetest.sh)
Apr 23 07:20:01 srv4hai common[26547]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 23 07:20:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 23 07:20:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 23 07:20:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 23 07:20:06 srv4hai activate_scenario[26959]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Apr 23 07:20:06 srv4hai activate_scenario[26959]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Apr 23 07:20:06 srv4hai activate_scenario[26959]: SHELLY scenario: 'LOG_kommen(log_kommen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Apr 23 07:20:06 srv4hai activate_scenario[26959]: SHELLY scenario: 'LOG_kommen(log_kommen)' took 6 msec, shelly-03:'Licht Vorzimmer'
Apr 23 07:20:12 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 23 07:20:12 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 23 07:20:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 23 07:20:12 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 23 07:20:12 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 23 07:20:12 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 23 07:20:15 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 23 07:20:17 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 23 07:20:17 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 23 07:20:17 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 23 07:20:18 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 23 07:20:18 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 23 07:20:18 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 23 07:20:20 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 23 07:20:20 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 23 07:20:20 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 23 07:20:20 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 23 07:20:20 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 23 07:20:20 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 23 07:20:20 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 23 07:20:20 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 23 07:20:20 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 23 07:20:20 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 23 07:20:20 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 23 07:20:23 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 23 07:20:23 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 23 07:20:23 srv4hai common[26547]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 23 07:20:25 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'5'=1713849625-1713849620
Apr 23 07:20:25 srv4hai check_presence[26547]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr 23 07:20:25 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'5'=1713849625-1713849620
Apr 23 07:20:25 srv4hai check_presence[26547]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 23 07:20:25 srv4hai check_presence[26547]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Apr 23 07:20:25 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'5'=1713849625-1713849620
Apr 23 07:20:25 srv4hai check_presence[26547]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 23 07:20:25 srv4hai check_presence[26547]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(BT/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 23 07:20:25 srv4hai check_presence[26547]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 23 07:20:25 srv4hai common[26547]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 23 07:20:25 srv4hai check_shelly.sh: SHELLY last scenery executed: 'LOG_kommen'
Apr 23 07:20:25 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Apr 23 07:20:25 srv4hai meter.sh: SHELLY meter.sh ended
Apr 23 07:20:25 srv4hai postfix/pickup[25214]: 2FDB46022F: uid=33 from=
Apr 23 07:20:25 srv4hai postfix/cleanup[27652]: 2FDB46022F: message-id=<20240423052025.2FDB46022F@mail.viehai.at>
Apr 23 07:20:25 srv4hai postfix/qmgr[15291]: 2FDB46022F: from=, size=642, nrcpt=1 (queue active)
Apr 23 07:20:25 srv4hai postfix/local[27654]: 2FDB46022F: to=, orig_to=, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 23 07:20:25 srv4hai postfix/qmgr[15291]: 2FDB46022F: removed
Apr 23 07:20:46 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Apr 23 07:21:01 srv4hai CRON[27661]: (root) CMD (/etc/linetest/linetest.sh)
Apr 23 07:21:01 srv4hai ping_SP[15758]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713849661 - 'ping_SP_1'
Apr 23 07:21:01 srv4hai ping_SP[15758]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 23 07:21:02 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27685, secured, session=
Apr 23 07:21:02 srv4hai dovecot: imap(miglincit)<27685>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 23 07:22:01 srv4hai CRON[27690]: (root) CMD (/etc/linetest/linetest.sh)
Apr 23 07:22:05 srv4hai ping_SP[15758]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1713849725 - 'ping_SP_1'
Apr 23 07:22:05 srv4hai ping_SP[15758]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Apr 23 07:22:10 srv4hai activate_scenario[27716]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr 23 07:22:10 srv4hai activate_scenario[27716]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Apr 23 07:22:10 srv4hai activate_scenario[27716]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Apr 23 07:22:10 srv4hai postfix/pickup[25214]: 867B26022F: uid=33 from=
Apr 23 07:22:10 srv4hai postfix/cleanup[27772]: 867B26022F: message-id=<20240423052210.867B26022F@mail.viehai.at>
Apr 23 07:22:10 srv4hai postfix/qmgr[15291]: 867B26022F: from=, size=8321, nrcpt=1 (queue active)
Apr 23 07:22:10 srv4hai activate_scenario[27716]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Apr 23 07:22:10 srv4hai proc_url[27790]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/23/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Apr 23 07:22:10 srv4hai postfix/local[27785]: 867B26022F: to=, orig_to=, relay=local, delay=0.04, delays=0.03/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Apr 23 07:22:10 srv4hai postfix/cleanup[27772]: 8D07960230: message-id=<20240423052210.8D07960230@mail.viehai.at>
Apr 23 07:22:10 srv4hai activate_scenario[27716]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Apr 23 07:22:10 srv4hai postfix/qmgr[15291]: 8D07960230: from=<>, size=10243, nrcpt=1 (queue active)
Apr 23 07:22:10 srv4hai postfix/bounce[27789]: 867B26022F: sender non-delivery notification: 8D07960230
Apr 23 07:22:10 srv4hai postfix/qmgr[15291]: 867B26022F: removed
Apr 23 07:22:10 srv4hai proc_url[27801]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/23/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Apr 23 07:22:10 srv4hai postfix/local[27785]: 8D07960230: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 23 07:22:10 srv4hai postfix/qmgr[15291]: 8D07960230: removed
Apr 23 07:22:31 srv4hai activate_scenario[27821]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr 23 07:22:31 srv4hai activate_scenario[27821]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished