activate_scenario.sh
Mon Mar 4 15:12:09 CET 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/03/04/_0.log)

vorher: 15:12:09.205

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


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

vorher: 15:12:09.219

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: 15:12:09.253
Dauer: 35 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:12:09.232

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": "http"

nachher: 15:12:09.336
Dauer: 105 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:12:09.244

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: 15:12:09.329
Dauer: 85 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:12:09.258

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: 15:12:09.354
Dauer: 96 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:12:09.272

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


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

vorher: 15:12:09.283

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


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

vorher: 15:12:09.296

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: 15:12:09.337
Dauer: 41 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:12:09.309

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: 15:12:09.354
Dauer: 44 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:12:09.321

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: 15:12:09.345
Dauer: 24 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:12:09.333

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: 15:12:09.538
Dauer: 204 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:12:09.348

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": 11.28,
  "overpower": false

nachher: 15:12:09.378
Dauer: 30 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:12:09.360

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": 11.28,
  "overpower": false

nachher: 15:12:09.429
Dauer: 68 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:12:09.372

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: 15:12:09.460
Dauer: 88 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:12:09.385

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: 15:12:09.549
Dauer: 163 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:12:09.398

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: 15:12:09.492
Dauer: 93 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:12:09.412

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


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

vorher: 15:12:09.423

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: 15:12:09.572
Dauer: 148 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 15:12:09.436

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: 15:12:09.532
Dauer: 96 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 15:12:09.158
nachher: 15:12:09.580
Dauer : 423 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/04//scene_homeOffice_20240304_151209.txt'


syslog

Mar  4 15:09:00 srv4hai systemd[1]: Starting Clean php session files...
Mar  4 15:09:00 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Mar  4 15:09:00 srv4hai systemd[1]: Started Clean php session files.
Mar  4 15:09:01 srv4hai CRON[12501]: (root) CMD (/etc/linetest/linetest.sh)
Mar  4 15:09:01 srv4hai CRON[12502]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Mar  4 15:09:04 srv4hai named[14530]: resolver priming query complete
Mar  4 15:09:58 srv4hai named[14530]: resolver priming query complete
Mar  4 15:09:59 srv4hai named[14530]: resolver priming query complete
Mar  4 15:10:01 srv4hai CRON[12516]: (root) CMD (/etc/linetest/linetest.sh)
Mar  4 15:10:01 srv4hai CRON[12517]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar  4 15:10:01 srv4hai meter.sh: SHELLY meter.sh started
Mar  4 15:10:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:09 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:12 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:14 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:16 srv4hai named[14530]: resolver priming query complete
Mar  4 15:10:17 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:22 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:25 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:27 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:30 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:33 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:35 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:38 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:38 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar  4 15:10:38 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28
Mar  4 15:10:38 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub
Mar  4 15:10:38 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Mar  4 15:10:38 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Mar  4 15:10:38 srv4hai named[14530]: client @0x7fc318077970 192.168.12.252#34717/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar  4 15:10:38 srv4hai named[14530]: client @0x7fc3140ea1f0 192.168.12.252#33159/key rndc-key: signer "rndc-key" approved
Mar  4 15:10:38 srv4hai named[14530]: client @0x7fc3140ea1f0 192.168.12.252#33159/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Mar  4 15:10:38 srv4hai named[14530]: client @0x7fc3140ea1f0 192.168.12.252#33159/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Mar  4 15:10:38 srv4hai named[14530]: client @0x7fc3140ea1f0 192.168.12.252#33159/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Mar  4 15:10:38 srv4hai named[14530]: client @0x7fc3140ea1f0 192.168.12.252#33159/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Mar  4 15:10:38 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Mar  4 15:10:38 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Mar  4 15:10:38 srv4hai named[14530]: client @0x7fc3180cfac0 192.168.12.252#41085/key rndc-key: signer "rndc-key" approved
Mar  4 15:10:38 srv4hai named[14530]: client @0x7fc3180cfac0 192.168.12.252#41085/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Mar  4 15:10:38 srv4hai named[14530]: client @0x7fc3180cfac0 192.168.12.252#41085/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Mar  4 15:10:38 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Mar  4 15:10:38 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Mar  4 15:10:39 srv4hai named[14530]: resolver priming query complete
Mar  4 15:10:40 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:43 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:46 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:48 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:51 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:52 srv4hai named[14530]: resolver priming query complete
Mar  4 15:10:53 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:56 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:58 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  4 15:10:59 srv4hai meter.sh: SHELLY meter.sh ended
Mar  4 15:10:59 srv4hai postfix/pickup[11659]: 0E3A760244: uid=33 from=
Mar  4 15:10:59 srv4hai postfix/cleanup[13056]: 0E3A760244: message-id=<20240304141059.0E3A760244@mail.viehai.at>
Mar  4 15:10:59 srv4hai postfix/qmgr[28610]: 0E3A760244: from=, size=654, nrcpt=1 (queue active)
Mar  4 15:10:59 srv4hai postfix/local[13058]: 0E3A760244: 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)
Mar  4 15:10:59 srv4hai postfix/qmgr[28610]: 0E3A760244: removed
Mar  4 15:11:01 srv4hai CRON[13061]: (root) CMD (/etc/linetest/linetest.sh)
Mar  4 15:11:01 srv4hai named[14530]: resolver priming query complete
Mar  4 15:11:10 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13069, secured, session=
Mar  4 15:11:10 srv4hai dovecot: imap(miglincit)<13069>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  4 15:11:22 srv4hai named[14530]: resolver priming query complete
Mar  4 15:11:39 srv4hai named[14530]: resolver priming query complete
Mar  4 15:11:51 srv4hai named[14530]: resolver priming query complete
Mar  4 15:11:52 srv4hai named[14530]: resolver priming query complete
Mar  4 15:12:01 srv4hai CRON[13093]: (root) CMD (/etc/linetest/linetest.sh)
Mar  4 15:12:09 srv4hai activate_scenario[13099]: SHELLY scenario: 'homeOffice(homeoffice)' started
Mar  4 15:12:09 srv4hai activate_scenario[13099]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished