activate_scenario.sh
Fri Feb 14 07:19:01 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/02/14/_0.log)

vorher: 07:19:01.539

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: 07:19:01.569
Dauer: 29 msec phName: 'shelly-40:'TB Licht''


Balkon Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/14/_1.log)

vorher: 07:19:01.559

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: 07:19:01.595
Dauer: 36 msec phName: 'shelly-40:'TB Licht''


VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/14/_2.log)

vorher: 07:19:01.579

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: 07:19:01.618
Dauer: 38 msec phName: 'shelly-40:'TB Licht''


WZ Stehlampe hell (/srv/www/viehai/shelly/log_scenarios/2025/02/14/_3.log)

vorher: 07:19:01.600

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: 07:19:01.625
Dauer: 26 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:19:01.619

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: 07:19:01.647
Dauer: 27 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:19:01.641

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: 07:19:01.682
Dauer: 42 msec phName: 'shelly-40:'TB Licht''


TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2025/02/14/_6.log)

vorher: 07:19:01.660

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: 07:19:01.703
Dauer: 43 msec phName: 'shelly-40:'TB Licht''


GB Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/14/_7.log)

vorher: 07:19:01.679

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: 07:19:01.744
Dauer: 64 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:19:01.701

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: 07:19:01.726
Dauer: 25 msec phName: 'shelly-40:'TB Licht''


SZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/14/_9.log)

vorher: 07:19:01.722

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: 07:19:01.774
Dauer: 52 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:19:01.744

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: 07:19:01.886
Dauer: 143 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:19:01.763

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: 07:19:01.882
Dauer: 119 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:19:01.784

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: 07:19:01.814
Dauer: 31 msec phName: 'shelly-40:'TB Licht''


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

vorher: 07:19:01.802

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: 07:19:01.836
Dauer: 34 msec phName: 'shelly-40:'TB Licht''


GB Fernsehlampe (/srv/www/viehai/shelly/log_scenarios/2025/02/14/_14.log)

vorher: 07:19:01.823

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: 07:19:01.871
Dauer: 47 msec phName: 'shelly-40:'TB Licht''


WZ Licht Sofa (/srv/www/viehai/shelly/log_scenarios/2025/02/14/_15.log)

vorher: 07:19:01.844

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: 07:19:01.990
Dauer: 147 msec phName: 'shelly-40:'TB Licht''


Empore Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/14/_16.log)

vorher: 07:19:01.862

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: 07:19:01.989
Dauer: 126 msec phName: 'shelly-40:'TB Licht''


KÜ Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/14/_17.log)

vorher: 07:19:01.885

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: 07:19:01.927
Dauer: 42 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/14/_18.log)

vorher: 07:19:01.904

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: 07:19:02.026
Dauer: 121 msec phName: 'shelly-40:'TB Licht''


WZ ovale Lampe (/srv/www/viehai/shelly/log_scenarios/2025/02/14/_19.log)

vorher: 07:19:01.923

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

nachher: 07:19:01.967
Dauer: 45 msec phName: 'shelly-40:'TB Licht''


GB Schreibtischlampe rechts (/srv/www/viehai/shelly/log_scenarios/2025/02/14/_20.log)

vorher: 07:19:01.945

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: 07:19:01.974
Dauer: 30 msec phName: 'shelly-40:'TB Licht''


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

urls : 21
vorher : 07:19:01.512
nachher: 07:19:02.034
Dauer : 523 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/14//scene_homeOffice_20250214_071901.txt'


syslog

Feb 14 07:16:00 srv4hai common[2157]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:16:00 srv4hai common[2182]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:16:00 srv4hai common[2206]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:16:01 srv4hai CRON[2231]: (root) CMD (/etc/linetest/linetest.sh)
Feb 14 07:16:05 srv4hai named[30406]: resolver priming query complete
Feb 14 07:16:08 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2238, secured, session=
Feb 14 07:16:08 srv4hai dovecot: imap(miglincit)<2238>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 14 07:16:23 srv4hai dhcpd[4995]: DHCPDISCOVER from 98:cd:ac:2e:1c:da via enp2s0
Feb 14 07:16:23 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Feb 14 07:16:23 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Feb 14 07:16:23 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.122
Feb 14 07:16:23 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-22
Feb 14 07:16:23 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.122 (192.168.12.252) from 98:cd:ac:2e:1c:da via enp2s0
Feb 14 07:16:23 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.122 to 98:cd:ac:2e:1c:da via enp2s0
Feb 14 07:16:23 srv4hai named[30406]: client @0x7f933004a8d0 192.168.12.252#48967/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-22.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 14 07:16:23 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#60369/key rndc-key: signer "rndc-key" approved
Feb 14 07:16:23 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#60369/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' TXT
Feb 14 07:16:23 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#60369/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' TXT "0051fce7ef7edfb3d29643aefa7bc5b7f2"
Feb 14 07:16:23 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#60369/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-22.viehai.at' A
Feb 14 07:16:23 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#60369/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-22.viehai.at' A 192.168.12.122
Feb 14 07:16:23 srv4hai dhcpd[4995]: Added new forward map from shelly-22.viehai.at to 192.168.12.122
Feb 14 07:16:23 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#57605/key rndc-key: signer "rndc-key" approved
Feb 14 07:16:23 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#57605/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '122.12.168.192.in-addr.arpa' PTR
Feb 14 07:16:23 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#57605/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '122.12.168.192.in-addr.arpa' PTR shelly-22.viehai.at.
Feb 14 07:16:23 srv4hai dhcpd[4995]: Added reverse map from 122.12.168.192.in-addr.arpa. to shelly-22.viehai.at
Feb 14 07:16:23 srv4hai common[2249]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Feb 14 07:16:23 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-22' - shIP/2:'' perform:'conf'
Feb 14 07:16:23 srv4hai common[2261]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:16:23 srv4hai common[2285]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:16:24 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739513784 - 'ping_SP_0'
Feb 14 07:16:24 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 14 07:16:24 srv4hai mosquitto[29419]: New connection from 192.168.12.122 on port 1883.
Feb 14 07:16:24 srv4hai mosquitto[29419]: New client connected from 192.168.12.122 as shelly1-98CDAC2E1CDA (c1, k60, u'shmqtt').
Feb 14 07:16:24 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-22' - shIP/2:'192.168.12.122'
Feb 14 07:16:25 srv4hai conf_shelly.sh: SHELLY: usage/name 'WC Licht' already set for '192.168.12.122'
Feb 14 07:16:25 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(0)' - allready transmitted - skipping
Feb 14 07:16:25 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(1)' - allready transmitted - skipping
Feb 14 07:16:25 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(2)' - allready transmitted - skipping
Feb 14 07:16:25 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(3)' - allready transmitted - skipping
Feb 14 07:16:25 srv4hai conf_shelly.sh: SHELLY:'shelly-22' 'conf(4)' - allready transmitted - skipping
Feb 14 07:16:35 srv4hai named[30406]: resolver priming query complete
Feb 14 07:17:00 srv4hai common[2463]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:17:00 srv4hai common[2493]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:17:00 srv4hai common[2517]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:17:00 srv4hai named[30406]: resolver priming query complete
Feb 14 07:17:01 srv4hai CRON[2546]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Feb 14 07:17:01 srv4hai CRON[2547]: (root) CMD (/etc/linetest/linetest.sh)
Feb 14 07:17:23 srv4hai common[2558]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:17:23 srv4hai common[2582]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:17:32 srv4hai named[30406]: resolver priming query complete
Feb 14 07:17:37 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739513857 - 'ping_SP_0'
Feb 14 07:17:37 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 14 07:17:38 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 14 07:17:39 srv4hai fetchmail[1651]: 63598 messages (63598 seen) for tmiglinci at mail.akis.at (919669798 octets).
Feb 14 07:17:40 srv4hai fetchmail[1651]: 11538 messages (11538 seen) for srozum at mail.akis.at (1369550349 octets).
Feb 14 07:17:40 srv4hai fetchmail[1651]: 28949 messages (28949 seen) for mrozum at mail.akis.at (658692702 octets).
Feb 14 07:17:41 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Feb 14 07:17:44 srv4hai postfix/smtpd[2626]: connect from unknown[195.178.110.218]
Feb 14 07:17:45 srv4hai named[30406]: resolver priming query complete
Feb 14 07:17:49 srv4hai postfix/smtpd[2626]: warning: unknown[195.178.110.218]: SASL PLAIN authentication failed: 
Feb 14 07:17:49 srv4hai postfix/smtpd[2626]: disconnect from unknown[195.178.110.218] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 14 07:17:59 srv4hai common[2636]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:17:59 srv4hai common[2660]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:18:00 srv4hai common[2684]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:18:01 srv4hai CRON[2709]: (root) CMD (/etc/linetest/linetest.sh)
Feb 14 07:18:02 srv4hai named[30406]: resolver priming query complete
Feb 14 07:18:23 srv4hai common[2723]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:18:23 srv4hai common[2747]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:18:46 srv4hai named[30406]: resolver priming query complete
Feb 14 07:18:50 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1739513930 - 'ping_SP_0'
Feb 14 07:18:50 srv4hai ping_SP[4196]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 14 07:18:51 srv4hai postfix/smtpd[2626]: connect from unknown[185.208.156.236]
Feb 14 07:18:51 srv4hai postfix/smtpd[2626]: warning: unknown[185.208.156.236]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 14 07:18:51 srv4hai postfix/smtpd[2626]: disconnect from unknown[185.208.156.236] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 14 07:19:00 srv4hai common[2805]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:19:00 srv4hai common[2830]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:19:00 srv4hai common[2854]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 14 07:19:01 srv4hai CRON[2879]: (root) CMD (/etc/linetest/linetest.sh)
Feb 14 07:19:01 srv4hai activate_scenario[2884]: SHELLY scenario: 'homeOffice(homeoffice)' started
Feb 14 07:19:01 srv4hai activate_scenario[2884]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished