activate_scenario.sh
Sat Apr 20 09:41:21 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/20/_0.log)

vorher: 09:41:21.478

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

nachher: 09:41:21.556
Dauer: 77 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 09:41:21.491

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

nachher: 09:41:21.574
Dauer: 82 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 09:41:21.460
nachher: 09:41:21.580
Dauer : 120 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/20//scene_buero_UM_20240420_094121.txt'


syslog

Apr 20 09:38:01 srv4hai CRON[29478]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 09:39:01 srv4hai CRON[29505]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Apr 20 09:39:01 srv4hai CRON[29506]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 09:39:01 srv4hai systemd[1]: Starting Clean php session files...
Apr 20 09:39:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Apr 20 09:39:02 srv4hai systemd[1]: Started Clean php session files.
Apr 20 09:39:03 srv4hai ping_SP[14830]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713598743 - 'ping_SP_0'
Apr 20 09:39:03 srv4hai ping_SP[14830]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 20 09:39:37 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29626, secured, session=
Apr 20 09:39:37 srv4hai dovecot: imap(miglincit)<29626>: 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 20 09:40:01 srv4hai CRON[29632]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 09:40:01 srv4hai CRON[29633]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 20 09:40:01 srv4hai common[29635]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 20 09:40:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 20 09:40:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 20 09:40:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 20 09:40:03 srv4hai postfix/anvil[29437]: statistics: max connection rate 1/60s for (smtp:193.222.96.12) at Apr 20 09:36:43
Apr 20 09:40:03 srv4hai postfix/anvil[29437]: statistics: max connection count 1 for (smtp:193.222.96.12) at Apr 20 09:36:43
Apr 20 09:40:03 srv4hai postfix/anvil[29437]: statistics: max cache size 1 at Apr 20 09:36:43
Apr 20 09:40:10 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 20 09:40:11 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 20 09:40:11 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 20 09:40:11 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 20 09:40:11 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 20 09:40:11 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 20 09:40:14 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 20 09:40:16 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 20 09:40:16 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 20 09:40:16 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 20 09:40:16 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 20 09:40:16 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 20 09:40:16 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 20 09:40:16 srv4hai ping_SP[14830]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713598816 - 'ping_SP_0'
Apr 20 09:40:16 srv4hai ping_SP[14830]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 20 09:40:19 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 20 09:40:19 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 20 09:40:19 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 20 09:40:19 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 20 09:40:19 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 20 09:40:19 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 20 09:40:19 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 20 09:40:19 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 20 09:40:19 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 20 09:40:19 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 20 09:40:19 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 20 09:40:21 srv4hai common[30524]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Apr 20 09:40:21 srv4hai check_shelly.sh: SHELLY last scenery executed: 'sekr_UM'
Apr 20 09:40:21 srv4hai check_shelly.sh: SHELLY found '8' active shelly outputs
Apr 20 09:40:21 srv4hai common[30547]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Apr 20 09:40:22 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'4'=1713598822-1713598818
Apr 20 09:40:22 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'4'=1713598822-1713598818
Apr 20 09:40:22 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'4'=1713598822-1713598818
Apr 20 09:40:22 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 20 09:40:22 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 20 09:40:22 srv4hai common[29635]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 20 09:40:23 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=-
Apr 20 09:40:23 srv4hai check_presence[29635]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and NO_BTdweet//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 20 09:40:23 srv4hai check_presence[29635]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 20 09:40:23 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=-
Apr 20 09:40:23 srv4hai check_presence[29635]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and NO_BTdweet//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 20 09:40:23 srv4hai common.sh: SHELLY: BTstatus[2]:'NO_BTdweet' dweetAge:''=-
Apr 20 09:40:23 srv4hai check_presence[29635]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and NO_BTdweet//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 20 09:40:23 srv4hai check_presence[29635]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 20 09:40:23 srv4hai check_presence[29635]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 20 09:40:23 srv4hai common[29635]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 20 09:40:23 srv4hai check_shelly.sh: SHELLY last scenery executed: 'sekr_UM'
Apr 20 09:40:23 srv4hai check_shelly.sh: SHELLY found '8' active shelly outputs
Apr 20 09:40:23 srv4hai meter.sh: SHELLY meter.sh ended
Apr 20 09:40:23 srv4hai postfix/pickup[20215]: 43EE26022F: uid=33 from=
Apr 20 09:40:23 srv4hai postfix/cleanup[30734]: 43EE26022F: message-id=<20240420074023.43EE26022F@mail.viehai.at>
Apr 20 09:40:23 srv4hai postfix/qmgr[15291]: 43EE26022F: from=, size=704, nrcpt=1 (queue active)
Apr 20 09:40:23 srv4hai postfix/local[30736]: 43EE26022F: to=, orig_to=, relay=local, delay=0.03, delays=0.02/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Apr 20 09:40:23 srv4hai postfix/qmgr[15291]: 43EE26022F: removed
Apr 20 09:40:52 srv4hai common[30745]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Apr 20 09:40:52 srv4hai check_shelly.sh: SHELLY last scenery executed: 'sekr_UM'
Apr 20 09:40:52 srv4hai check_shelly.sh: SHELLY found '8' active shelly outputs
Apr 20 09:40:52 srv4hai common[30768]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Apr 20 09:40:53 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'12'=1713598853-1713598841
Apr 20 09:40:53 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'12'=1713598853-1713598841
Apr 20 09:40:53 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'12'=1713598853-1713598841
Apr 20 09:41:01 srv4hai CRON[30850]: (root) CMD (/etc/linetest/linetest.sh)
Apr 20 09:41:21 srv4hai activate_scenario[30869]: SHELLY scenario: 'buero_UM(buero_um)' started
Apr 20 09:41:21 srv4hai activate_scenario[30869]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished