activate_scenario.sh
Fri Mar 8 07:10:12 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/08/_0.log)

vorher: 07:10:12.745

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: 07:10:12.824
Dauer: 78 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:10:12.760

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:10:12.818
Dauer: 58 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:10:12.776

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


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

vorher: 07:10:12.790

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:10:12.863
Dauer: 74 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:10:12.802

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: 07:10:12.890
Dauer: 88 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:10:12.815

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:10:12.849
Dauer: 33 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:10:12.832

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:10:13.033
Dauer: 201 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:10:12.845

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:10:12.898
Dauer: 53 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:10:12.857

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:10:12.909
Dauer: 51 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:10:12.870

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:10:12.949
Dauer: 79 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:10:12.882

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


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

vorher: 07:10:12.894

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

nachher: 07:10:12.944
Dauer: 49 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:10:12.909

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

nachher: 07:10:13.036
Dauer: 127 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:10:12.921

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:10:12.996
Dauer: 74 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:10:12.934

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:10:13.062
Dauer: 128 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:10:12.947

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: 07:10:12.995
Dauer: 48 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:10:12.961

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


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

vorher: 07:10:12.976

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:10:13.112
Dauer: 136 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:10:12.990

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:10:13.080
Dauer: 90 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 19
vorher : 07:10:12.704
nachher: 07:10:13.120
Dauer : 417 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/08//scene_homeOffice_20240308_071012.txt'


syslog

Mar  8 07:07:01 srv4hai CRON[19143]: (root) CMD (/etc/linetest/linetest.sh)
Mar  8 07:07:29 srv4hai postfix/smtpd[19157]: connect from unknown[193.222.96.116]
Mar  8 07:07:29 srv4hai postfix/smtpd[19157]: disconnect from unknown[193.222.96.116] ehlo=1 quit=1 commands=2
Mar  8 07:07:30 srv4hai dhcpd[5037]: DHCPDISCOVER from 98:cd:ac:2d:b6:db via enp2s0
Mar  8 07:07:30 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.125 to 98:cd:ac:2d:b6:db via enp2s0
Mar  8 07:07:30 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Mar  8 07:07:30 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.125
Mar  8 07:07:30 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-25
Mar  8 07:07:30 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.125 (192.168.12.252) from 98:cd:ac:2d:b6:db via enp2s0
Mar  8 07:07:30 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.125 to 98:cd:ac:2d:b6:db via enp2s0
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f931c66c140 192.168.12.252#60437/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-25.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#60135/key rndc-key: signer "rndc-key" approved
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#60135/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-25.viehai.at' TXT
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#60135/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-25.viehai.at' TXT "00a4d627ad58f376691816e2e7457e7bae"
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#60135/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-25.viehai.at' A
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#60135/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-25.viehai.at' A 192.168.12.125
Mar  8 07:07:30 srv4hai dhcpd[5037]: Added new forward map from shelly-25.viehai.at to 192.168.12.125
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f931801e8a0 192.168.12.252#53867/key rndc-key: signer "rndc-key" approved
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f931801e8a0 192.168.12.252#53867/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '125.12.168.192.in-addr.arpa' PTR
Mar  8 07:07:30 srv4hai named[15509]: client @0x7f931801e8a0 192.168.12.252#53867/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '125.12.168.192.in-addr.arpa' PTR shelly-25.viehai.at.
Mar  8 07:07:30 srv4hai dhcpd[5037]: Added reverse map from 125.12.168.192.in-addr.arpa. to shelly-25.viehai.at
Mar  8 07:07:30 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-25' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf'
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-25' - shIP/2:'192.168.12.125'
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY: usage/name 'Küchenlicht' already set for '192.168.12.125'
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(0)' - allready transmitted - skipping
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(1)' - allready transmitted - skipping
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(2)' - allready transmitted - skipping
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(3)' - allready transmitted - skipping
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(4)' - allready transmitted - skipping
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY:'shelly-25' 'conf(5)' - allready transmitted - skipping
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY:'shelly-25' out:0 ON : MISSING
Mar  8 07:07:31 srv4hai conf_shelly.sh: SHELLY:'shelly-25' out:0 OFF: MISSING
Mar  8 07:08:01 srv4hai CRON[19310]: (root) CMD (/etc/linetest/linetest.sh)
Mar  8 07:08:02 srv4hai ping_SP[26982]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709878082 - 'ping_SP_0'
Mar  8 07:08:02 srv4hai ping_SP[26982]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  8 07:08:07 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar  8 07:08:07 srv4hai fetchmail[1651]: 39488 messages (39488 seen) for tmiglinci at mail.akis.at (-1029684160 octets).
Mar  8 07:08:08 srv4hai fetchmail[1651]: 9976 messages (9976 seen) for srozum at mail.akis.at (1209558121 octets).
Mar  8 07:08:08 srv4hai fetchmail[1651]: 22090 messages (22090 seen) for mrozum at mail.akis.at (-479263431 octets).
Mar  8 07:08:09 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar  8 07:09:01 srv4hai CRON[19357]: (root) CMD (/etc/linetest/linetest.sh)
Mar  8 07:09:01 srv4hai CRON[19358]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Mar  8 07:09:01 srv4hai systemd[1]: Starting Clean php session files...
Mar  8 07:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Mar  8 07:09:01 srv4hai systemd[1]: Started Clean php session files.
Mar  8 07:09:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19459, secured, session=
Mar  8 07:09:13 srv4hai dovecot: imap(miglincit)<19459>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar  8 07:09:15 srv4hai ping_SP[26982]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1709878155 - 'ping_SP_0'
Mar  8 07:09:15 srv4hai ping_SP[26982]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar  8 07:09:37 srv4hai postfix/smtpd[19480]: connect from unknown[193.222.96.70]
Mar  8 07:09:37 srv4hai postfix/smtpd[19480]: warning: unknown[193.222.96.70]: SASL LOGIN authentication failed: Invalid authentication mechanism
Mar  8 07:09:37 srv4hai postfix/smtpd[19480]: disconnect from unknown[193.222.96.70] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Mar  8 07:10:01 srv4hai CRON[19494]: (root) CMD (/etc/linetest/linetest.sh)
Mar  8 07:10:01 srv4hai CRON[19495]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar  8 07:10:01 srv4hai meter.sh: SHELLY meter.sh started
Mar  8 07:10:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 07:10:09 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 07:10:12 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY scenario: 'homeOffice(homeoffice)' started
Mar  8 07:10:12 srv4hai activate_scenario[19840]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished