activate_scenario.sh
Mon Jan 27 08:51:37 CET 2025
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'

WZ Licht Esstisch (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_0.log)

vorher: 08:51:37.117

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

nachher: 08:51:37.145
Dauer: 28 msec phName: 'shelly-40:'TB Licht''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_1.log)

vorher: 08:51:37.135

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: 08:51:37.216
Dauer: 81 msec phName: 'shelly-40:'TB Licht''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_2.log)

vorher: 08:51:37.157

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: 08:51:37.219
Dauer: 61 msec phName: 'shelly-40:'TB Licht''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_3.log)

vorher: 08:51:37.176

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: 08:51:37.203
Dauer: 27 msec phName: 'shelly-40:'TB Licht''


WZ Licht Fernsehlampe klein (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_4.log)

vorher: 08:51:37.195

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: 08:51:37.222
Dauer: 27 msec phName: 'shelly-40:'TB Licht''


SZ Nachtkästchen Thomas (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_5.log)

vorher: 08:51:37.215

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: 08:51:37.260
Dauer: 45 msec phName: 'shelly-40:'TB Licht''


TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_6.log)

vorher: 08:51:37.240

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: 08:51:37.276
Dauer: 37 msec phName: 'shelly-40:'TB Licht''


GB Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_7.log)

vorher: 08:51:37.258

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: 08:51:37.394
Dauer: 137 msec phName: 'shelly-40:'TB Licht''


WZ Licht Bücherregal (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_8.log)

vorher: 08:51:37.279

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: 08:51:37.319
Dauer: 39 msec phName: 'shelly-40:'TB Licht''


SZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_9.log)

vorher: 08:51:37.298

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: 08:51:37.358
Dauer: 60 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_10.log)

vorher: 08:51:37.317

http://192.168.12.116/white/0?turn=on&brightness=50
  "ison": true,
  "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: 08:51:37.433
Dauer: 117 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_11.log)

vorher: 08:51:37.338

http://192.168.12.116/white/1?turn=on&brightness=50
  "ison": true,
  "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: 08:51:37.430
Dauer: 92 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_12.log)

vorher: 08:51:37.357

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: 08:51:37.432
Dauer: 74 msec phName: 'shelly-40:'TB Licht''


KÜ Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_13.log)

vorher: 08:51:37.380

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: 08:51:37.429
Dauer: 49 msec phName: 'shelly-40:'TB Licht''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_14.log)

vorher: 08:51:37.400

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: 08:51:37.428
Dauer: 28 msec phName: 'shelly-40:'TB Licht''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_15.log)

vorher: 08:51:37.421

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: 08:51:37.453
Dauer: 32 msec phName: 'shelly-40:'TB Licht''


Empore Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_16.log)

vorher: 08:51:37.443

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: 08:51:37.486
Dauer: 43 msec phName: 'shelly-40:'TB Licht''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_17.log)

vorher: 08:51:37.464

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: 08:51:37.505
Dauer: 41 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_18.log)

vorher: 08:51:37.482

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: 08:51:37.546
Dauer: 64 msec phName: 'shelly-40:'TB Licht''


GB Schreibtischlampe rechts (/srv/www/viehai/shelly/log_scenarios/2025/01/27/_19.log)

vorher: 08:51:37.505

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

nachher: 08:51:37.557
Dauer: 52 msec phName: 'shelly-40:'TB Licht''


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

urls : 20
vorher : 08:51:37.091
nachher: 08:51:37.563
Dauer : 473 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/27//scene_homeOffice_20250127_085137.txt'


syslog

Jan 27 08:48:01 srv4hai CRON[8213]: (root) CMD (/etc/linetest/linetest.sh)
Jan 27 08:48:11 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Jan 27 08:48:11 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.28
Jan 27 08:48:11 srv4hai dhcpd[4995]: execute_statement argv[2] = harmonyhub
Jan 27 08:48:11 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Jan 27 08:48:11 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Jan 27 08:48:11 srv4hai named[30406]: client @0x7f9310079c50 192.168.12.252#52263/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 27 08:48:11 srv4hai named[30406]: client @0x7f93506e3340 192.168.12.252#38167/key rndc-key: signer "rndc-key" approved
Jan 27 08:48:11 srv4hai named[30406]: client @0x7f93506e3340 192.168.12.252#38167/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Jan 27 08:48:11 srv4hai named[30406]: client @0x7f93506e3340 192.168.12.252#38167/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Jan 27 08:48:11 srv4hai named[30406]: client @0x7f93506e3340 192.168.12.252#38167/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Jan 27 08:48:11 srv4hai named[30406]: client @0x7f93506e3340 192.168.12.252#38167/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Jan 27 08:48:11 srv4hai dhcpd[4995]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Jan 27 08:48:11 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Jan 27 08:48:11 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#51337/key rndc-key: signer "rndc-key" approved
Jan 27 08:48:11 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#51337/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Jan 27 08:48:11 srv4hai named[30406]: client @0x7f934c0165b0 192.168.12.252#51337/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.
Jan 27 08:48:11 srv4hai dhcpd[4995]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Jan 27 08:48:11 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Jan 27 08:48:16 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737964096 - 'ping_SP_0'
Jan 27 08:48:16 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 27 08:49:01 srv4hai CRON[8268]: (root) CMD (/etc/linetest/linetest.sh)
Jan 27 08:49:29 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737964169 - 'ping_SP_0'
Jan 27 08:49:29 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 27 08:50:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8315, secured, session=
Jan 27 08:50:00 srv4hai dovecot: imap(miglincit)<8315>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jan 27 08:50:01 srv4hai CRON[8318]: (root) CMD (/etc/linetest/linetest.sh)
Jan 27 08:50:01 srv4hai CRON[8319]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jan 27 08:50:01 srv4hai common[8321]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jan 27 08:50:01 srv4hai meter.sh: SHELLY meter.sh started
Jan 27 08:50:04 srv4hai meter.sh: SHELLY 'shelly-22/WC Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 27 08:50:04 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jan 27 08:50:04 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jan 27 08:50:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jan 27 08:50:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jan 27 08:50:08 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Jan 27 08:50:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jan 27 08:50:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jan 27 08:50:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 27 08:50:14 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 27 08:50:14 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jan 27 08:50:14 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jan 27 08:50:14 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jan 27 08:50:14 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jan 27 08:50:14 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jan 27 08:50:14 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jan 27 08:50:14 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jan 27 08:50:14 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jan 27 08:50:14 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jan 27 08:50:14 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jan 27 08:50:14 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jan 27 08:50:14 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Jan 27 08:50:14 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Jan 27 08:50:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jan 27 08:50:15 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jan 27 08:50:18 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 27 08:50:18 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jan 27 08:50:20 srv4hai meter.sh: SHELLY 'shelly-99/99-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jan 27 08:50:20 srv4hai common[9335]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jan 27 08:50:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
Jan 27 08:50:20 srv4hai check_shelly.sh: SHELLY found '5' active shelly outputs
Jan 27 08:50:20 srv4hai meter.sh: SHELLY meter.sh ended
Jan 27 08:50:42 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1737964242 - 'ping_SP_0'
Jan 27 08:50:42 srv4hai ping_SP[4402]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jan 27 08:51:01 srv4hai CRON[9430]: (root) CMD (/etc/linetest/linetest.sh)
Jan 27 08:51:02 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jan 27 08:51:03 srv4hai fetchmail[1651]: 62325 messages (62324 seen) for tmiglinci at mail.akis.at (803663004 octets).
Jan 27 08:51:03 srv4hai postfix/smtpd[9439]: connect from localhost[127.0.0.1]
Jan 27 08:51:03 srv4hai postfix/smtpd[9439]: 696BC6345A: client=localhost[127.0.0.1]
Jan 27 08:51:03 srv4hai postfix/cleanup[9442]: 696BC6345A: message-id=<03fba7c22d74cbbdfbce9ca07.130778c139.20250127074910.ca22b0e774.787123c2@mail116.atl281.mcsv.net>
Jan 27 08:51:03 srv4hai postfix/qmgr[8566]: 696BC6345A: from=, size=73515, nrcpt=1 (queue active)
Jan 27 08:51:03 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:62325 of 62325 (73276 octets) not flushed
Jan 27 08:51:03 srv4hai postfix/smtpd[9439]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jan 27 08:51:03 srv4hai postfix/local[9443]: 696BC6345A: to=, relay=local, delay=0.11, delays=0.08/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jan 27 08:51:03 srv4hai postfix/qmgr[8566]: 696BC6345A: removed
Jan 27 08:51:03 srv4hai fetchmail[1651]: 11455 messages (11455 seen) for srozum at mail.akis.at (1363034596 octets).
Jan 27 08:51:04 srv4hai fetchmail[1651]: 28547 messages (28547 seen) for mrozum at mail.akis.at (593429765 octets).
Jan 27 08:51:05 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Jan 27 08:51:37 srv4hai activate_scenario[9500]: SHELLY scenario: 'homeOffice(homeoffice)' started
Jan 27 08:51:37 srv4hai activate_scenario[9500]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished