activate_scenario.sh
Thu Apr 18 06:40:39 CEST 2024
scenario: homeOffice
source: 192.168.12.140

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

scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

Wandlicht beim Esstisch (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_0.log)

vorher: 06:40:39.470

http://192.168.12.101/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 06:40:39.503
Dauer: 32 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_1.log)

vorher: 06:40:39.485

http://192.168.12.102/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "http"

nachher: 06:40:39.571
Dauer: 87 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_2.log)

vorher: 06:40:39.499

http://192.168.12.103/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "input"

nachher: 06:40:39.573
Dauer: 74 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_3.log)

vorher: 06:40:39.515

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

nachher: 06:40:39.575
Dauer: 61 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_4.log)

vorher: 06:40:39.527

http://192.168.12.106/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 06:40:39.575
Dauer: 47 msec phName: 'shelly-40:'Thomas Büro Licht''


Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_5.log)

vorher: 06:40:39.539

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

nachher: 06:40:39.568
Dauer: 29 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:40:39.551

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

nachher: 06:40:39.613
Dauer: 62 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_7.log)

vorher: 06:40:39.564

http://192.168.12.109/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 06:40:39.621
Dauer: 56 msec phName: 'shelly-40:'Thomas Büro Licht''


WZ Bücherregal (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_8.log)

vorher: 06:40:39.582

http://192.168.12.110/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 06:40:39.609
Dauer: 27 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:40:39.595

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

nachher: 06:40:39.693
Dauer: 97 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_10.log)

vorher: 06:40:39.609

http://192.168.12.112/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 06:40:39.722
Dauer: 113 msec phName: 'shelly-40:'Thomas Büro Licht''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_11.log)

vorher: 06:40:39.623

http://192.168.12.116/white/0?turn=on&brightness=20
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 20,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 06:40:39.675
Dauer: 52 msec phName: 'shelly-40:'Thomas Büro Licht''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_12.log)

vorher: 06:40:39.637

http://192.168.12.116/white/1?turn=on&brightness=20
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 20,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 06:40:39.675
Dauer: 37 msec phName: 'shelly-40:'Thomas Büro Licht''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_13.log)

vorher: 06:40:39.651

http://192.168.12.117/white/0?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 06:40:39.677
Dauer: 27 msec phName: 'shelly-40:'Thomas Büro Licht''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_14.log)

vorher: 06:40:39.663

http://192.168.12.117/white/1?turn=off&brightness=50
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 06:40:39.704
Dauer: 42 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_15.log)

vorher: 06:40:39.676

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

nachher: 06:40:39.706
Dauer: 30 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Sekretär (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_16.log)

vorher: 06:40:39.690

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

nachher: 06:40:39.716
Dauer: 26 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_17.log)

vorher: 06:40:39.702

http://192.168.12.124/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 06:40:39.806
Dauer: 103 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/04/18/_18.log)

vorher: 06:40:39.716

http://192.168.12.125/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "input"

nachher: 06:40:39.800
Dauer: 85 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Home-Office' - 'homeOffice' - 'homeoffice'

urls : 19
vorher : 06:40:39.447
nachher: 06:40:39.814
Dauer : 366 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/18//scene_homeOffice_20240418_064039.txt'


syslog

Apr 18 06:37:01 srv4hai CRON[14345]: (root) CMD (/etc/linetest/linetest.sh)
Apr 18 06:37:15 srv4hai ping_SP[17453]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713415035 - 'ping_SP_0'
Apr 18 06:37:15 srv4hai ping_SP[17453]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 18 06:37:54 srv4hai postfix/smtpd[14376]: connect from unknown[87.120.84.171]
Apr 18 06:37:54 srv4hai postfix/smtpd[14376]: warning: unknown[87.120.84.171]: SASL LOGIN authentication failed: Invalid authentication mechanism
Apr 18 06:37:54 srv4hai postfix/smtpd[14376]: disconnect from unknown[87.120.84.171] ehlo=1 auth=0/1 quit=1 commands=2/3
Apr 18 06:38:01 srv4hai CRON[14379]: (root) CMD (/etc/linetest/linetest.sh)
Apr 18 06:38:06 srv4hai common[14388]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 18 06:38:16 srv4hai bt_scan[14388]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Apr 18 06:38:16 srv4hai bt_scan[14388]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Apr 18 06:38:28 srv4hai ping_SP[17453]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713415108 - 'ping_SP_0'
Apr 18 06:38:28 srv4hai ping_SP[17453]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 18 06:39:01 srv4hai CRON[14447]: (root) CMD (/etc/linetest/linetest.sh)
Apr 18 06:39:01 srv4hai CRON[14448]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Apr 18 06:39:01 srv4hai systemd[1]: Starting Clean php session files...
Apr 18 06:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Apr 18 06:39:01 srv4hai systemd[1]: Started Clean php session files.
Apr 18 06:39:42 srv4hai ping_SP[17453]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1713415181 - 'ping_SP_0'
Apr 18 06:39:42 srv4hai ping_SP[17453]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 18 06:39:55 srv4hai common[14566]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 18 06:40:01 srv4hai CRON[14580]: (root) CMD (/etc/linetest/linetest.sh)
Apr 18 06:40:01 srv4hai CRON[14581]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 18 06:40:01 srv4hai common[14583]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 18 06:40:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 18 06:40:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 18 06:40:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 18 06:40:05 srv4hai bt_scan[14566]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Apr 18 06:40:05 srv4hai bt_scan[14566]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr 18 06:40:05 srv4hai common[15052]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 18 06:40:05 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1713415205-1713415195
Apr 18 06:40:05 srv4hai check_presence[15052]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 18 06:40:05 srv4hai check_presence[15052]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 18 06:40:05 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1713415205-1713415195
Apr 18 06:40:05 srv4hai check_presence[15052]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 18 06:40:05 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1713415205-1713415195
Apr 18 06:40:05 srv4hai check_presence[15052]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 18 06:40:05 srv4hai check_presence[15052]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Apr 18 06:40:05 srv4hai check_presence[15052]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr 18 06:40:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 18 06:40:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 18 06:40:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 18 06:40:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 18 06:40:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 18 06:40:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 18 06:40:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 18 06:40:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 18 06:40:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 18 06:40:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 18 06:40:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 18 06:40:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 18 06:40:14 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 18 06:40:14 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 18 06:40:14 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 18 06:40:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 18 06:40:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 18 06:40:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 18 06:40:14 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 18 06:40:14 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 18 06:40:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 18 06:40:14 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 18 06:40:14 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 18 06:40:17 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 18 06:40:17 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 18 06:40:17 srv4hai common[14583]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 18 06:40:17 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'4'=1713415217-1713415213
Apr 18 06:40:17 srv4hai check_presence[14583]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 18 06:40:17 srv4hai check_presence[14583]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 18 06:40:17 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'4'=1713415217-1713415213
Apr 18 06:40:17 srv4hai check_presence[14583]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 18 06:40:17 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'4'=1713415217-1713415213
Apr 18 06:40:17 srv4hai check_presence[14583]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 18 06:40:17 srv4hai check_presence[14583]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 18 06:40:17 srv4hai check_presence[14583]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 18 06:40:17 srv4hai common[14583]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 18 06:40:17 srv4hai check_shelly.sh: SHELLY last scenery executed: 'LOG_gehen'
Apr 18 06:40:17 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs
Apr 18 06:40:17 srv4hai meter.sh: SHELLY meter.sh ended
Apr 18 06:40:17 srv4hai postfix/pickup[27052]: E8EB46022F: uid=33 from=
Apr 18 06:40:17 srv4hai postfix/cleanup[15793]: E8EB46022F: message-id=<20240418044017.E8EB46022F@mail.viehai.at>
Apr 18 06:40:17 srv4hai postfix/qmgr[15291]: E8EB46022F: from=, size=642, nrcpt=1 (queue active)
Apr 18 06:40:17 srv4hai postfix/local[15795]: E8EB46022F: 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 18 06:40:17 srv4hai postfix/qmgr[15291]: E8EB46022F: removed
Apr 18 06:40:39 srv4hai activate_scenario[15801]: SHELLY scenario: 'homeOffice(homeoffice)' started
Apr 18 06:40:39 srv4hai activate_scenario[15801]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished