activate_scenario.sh
Mon Sep 23 12:50:12 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/09/23/_0.log)

vorher: 12:50:12.365

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: 12:50:12.391
Dauer: 27 msec phName: 'shelly-40:'Thomas Büro Licht''


Balkon-Licht (/srv/www/viehai/shelly/log_scenarios/2024/09/23/_1.log)

vorher: 12:50:12.380

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: 12:50:12.409
Dauer: 30 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/09/23/_2.log)

vorher: 12:50:12.395

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: 12:50:12.512
Dauer: 117 msec phName: 'shelly-40:'Thomas Büro Licht''


Stehlampe Anne hell (/srv/www/viehai/shelly/log_scenarios/2024/09/23/_3.log)

vorher: 12:50:12.409

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

nachher: 12:50:12.438
Dauer: 28 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2024/09/23/_4.log)

vorher: 12:50:12.422

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

nachher: 12:50:12.509
Dauer: 86 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:50:12.434

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: 12:50:12.477
Dauer: 43 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:50:12.448

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: 12:50:12.569
Dauer: 120 msec phName: 'shelly-40:'Thomas Büro Licht''


Sophie Licht (/srv/www/viehai/shelly/log_scenarios/2024/09/23/_7.log)

vorher: 12:50:12.461

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: 12:50:12.494
Dauer: 32 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:50:12.474

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

nachher: 12:50:12.510
Dauer: 36 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:50:12.487

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: 12:50:12.530
Dauer: 43 msec phName: 'shelly-40:'Thomas Büro Licht''


Schlafzimmer Licht (/srv/www/viehai/shelly/log_scenarios/2024/09/23/_10.log)

vorher: 12:50:12.500

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: 12:50:12.697
Dauer: 198 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:50:12.513

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: 12:50:12.539
Dauer: 26 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:50:12.528

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: 12:50:12.573
Dauer: 45 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:50:12.543

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: 12:50:12.589
Dauer: 47 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:50:12.557

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: 12:50:12.623
Dauer: 65 msec phName: 'shelly-40:'Thomas Büro Licht''


Fernsehlampe groß (/srv/www/viehai/shelly/log_scenarios/2024/09/23/_15.log)

vorher: 12:50:12.571

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

nachher: 12:50:12.599
Dauer: 27 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 12:50:12.586

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

nachher: 12:50:12.705
Dauer: 119 msec phName: 'shelly-40:'Thomas Büro Licht''


Licht Empore (/srv/www/viehai/shelly/log_scenarios/2024/09/23/_17.log)

vorher: 12:50:12.599

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

nachher: 12:50:12.685
Dauer: 86 msec phName: 'shelly-40:'Thomas Büro Licht''


Küchenlicht (/srv/www/viehai/shelly/log_scenarios/2024/09/23/_18.log)

vorher: 12:50:12.613

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

nachher: 12:50:12.640
Dauer: 28 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 12:50:12.344
nachher: 12:50:12.713
Dauer : 369 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/23//scene_homeOffice_20240923_125012.txt'


syslog

Sep 23 12:47:01 srv4hai CRON[13872]: (root) CMD (/etc/linetest/linetest.sh)
Sep 23 12:47:14 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13886, secured, session=
Sep 23 12:47:14 srv4hai dovecot: imap(miglincit)<13886>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 23 12:47:24 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 23 12:47:31 srv4hai fetchmail[1651]: 52879 messages (52879 seen) for tmiglinci at mail.akis.at (52094009 octets).
Sep 23 12:47:34 srv4hai fetchmail[1651]: 10761 messages (10761 seen) for srozum at mail.akis.at (1304974209 octets).
Sep 23 12:47:39 srv4hai fetchmail[1651]: 26091 messages (26091 seen) for mrozum at mail.akis.at (242047414 octets).
Sep 23 12:47:39 srv4hai fetchmail[1651]: 1144 messages (1144 seen) for admin@bastelstube.wien at pop3.world4you.com (51909737 octets).
Sep 23 12:47:49 srv4hai ping_SP[1483]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727088469 - 'ping_SP_0'
Sep 23 12:47:49 srv4hai ping_SP[1483]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 23 12:47:49 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13925, secured, session=
Sep 23 12:47:49 srv4hai dovecot: imap(miglincit)<13925>: Logged out in=137 out=1095 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 23 12:48:01 srv4hai CRON[13936]: (root) CMD (/etc/linetest/linetest.sh)
Sep 23 12:49:01 srv4hai CRON[13979]: (root) CMD (/etc/linetest/linetest.sh)
Sep 23 12:49:02 srv4hai ping_SP[1483]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727088542 - 'ping_SP_0'
Sep 23 12:49:02 srv4hai ping_SP[1483]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 23 12:49:47 srv4hai common[14023]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 23 12:49:57 srv4hai bt_scan[14023]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Sep 23 12:49:57 srv4hai bt_scan[14023]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Sep 23 12:49:57 srv4hai common[14061]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 23 12:49:57 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1727088597-1727088587
Sep 23 12:49:57 srv4hai check_presence[14061]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 23 12:49:57 srv4hai check_presence[14061]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep 23 12:49:57 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1727088597-1727088587
Sep 23 12:49:57 srv4hai check_presence[14061]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 23 12:49:57 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1727088597-1727088587
Sep 23 12:49:57 srv4hai check_presence[14061]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 23 12:49:57 srv4hai check_presence[14061]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Sep 23 12:49:58 srv4hai check_presence[14061]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offAll) - sceneOFF(offAll)
Sep 23 12:49:58 srv4hai check_presence[14061]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Sep 23 12:50:01 srv4hai CRON[14211]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 23 12:50:01 srv4hai CRON[14212]: (root) CMD (/etc/linetest/linetest.sh)
Sep 23 12:50:01 srv4hai common[14214]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 23 12:50:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 23 12:50:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 23 12:50:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 23 12:50:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 23 12:50:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 23 12:50:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 23 12:50:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 23 12:50:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 23 12:50:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 23 12:50:09 srv4hai common[14873]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 23 12:50:10 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 23 12:50:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 23 12:50:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 23 12:50:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 23 12:50:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 23 12:50:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 23 12:50:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 23 12:50:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 23 12:50:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 23 12:50:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 23 12:50:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 23 12:50:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 23 12:50:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 23 12:50:11 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 23 12:50:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 23 12:50:11 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 23 12:50:11 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 23 12:50:12 srv4hai activate_scenario[15057]: SHELLY scenario: 'homeOffice(homeoffice)' started
Sep 23 12:50:12 srv4hai activate_scenario[15057]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished