activate_scenario.sh
Fri Apr 26 15:39:29 CEST 2024
scenario: homeOffice
source: 192.168.12.140
vorher: 15:39:29.687
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:39:29.750
Dauer: 63 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.700
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": "input" |
nachher: 15:39:29.729
Dauer: 30 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.714
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:39:29.850
Dauer: 136 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.726
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: 15:39:30.058
Dauer: 332 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.743
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:39:29.857
Dauer: 114 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.754
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:39:29.794
Dauer: 39 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.767
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:39:29.813
Dauer: 46 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.779
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:39:29.858
Dauer: 83 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.792
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: 15:39:29.958
Dauer: 166 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.804
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:39:29.892
Dauer: 88 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.817
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:39:29.876
Dauer: 59 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.831
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": 12.72, "overpower": false |
nachher: 15:39:29.857
Dauer: 25 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.844
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": 12.72, "overpower": false |
nachher: 15:39:29.886
Dauer: 43 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.859
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": 13.21, "overpower": false |
nachher: 15:39:29.970
Dauer: 110 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.873
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": 13.21, "overpower": false |
nachher: 15:39:30.007
Dauer: 134 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.889
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:39:29.916
Dauer: 26 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.903
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:39:29.971
Dauer: 68 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.916
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:39:30.346
Dauer: 429 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 15:39:29.931
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:39:29.977
Dauer: 46 msec
phName: 'shelly-40:'Thomas Büro Licht''
urls : 19
vorher : 15:39:29.669
nachher: 15:39:30.355
Dauer : 686 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/26//scene_homeOffice_20240426_153929.txt'
Apr 26 15:36:01 srv4hai CRON[17449]: (root) CMD (/etc/linetest/linetest.sh) Apr 26 15:36:04 srv4hai postfix/smtpd[17454]: connect from unknown[87.121.105.203] Apr 26 15:36:04 srv4hai postfix/smtpd[17454]: warning: unknown[87.121.105.203]: SASL LOGIN authentication failed: Invalid authentication mechanism Apr 26 15:36:04 srv4hai postfix/smtpd[17454]: disconnect from unknown[87.121.105.203] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Apr 26 15:36:17 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17459, secured, session= Apr 26 15:36:17 srv4hai dovecot: imap(miglincit)<17459> : Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Apr 26 15:36:30 srv4hai ping_SP[7195]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1714138590 - 'ping_SP_0' Apr 26 15:36:30 srv4hai ping_SP[7195]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 26 15:36:33 srv4hai postfix/smtpd[17454]: connect from unknown[211.238.237.254] Apr 26 15:36:42 srv4hai postfix/smtpd[17454]: warning: unknown[211.238.237.254]: SASL PLAIN authentication failed: Apr 26 15:36:43 srv4hai postfix/smtpd[17454]: lost connection after AUTH from unknown[211.238.237.254] Apr 26 15:36:43 srv4hai postfix/smtpd[17454]: disconnect from unknown[211.238.237.254] ehlo=1 auth=0/1 commands=1/2 Apr 26 15:36:45 srv4hai postfix/smtpd[17454]: connect from unknown[91.74.29.136] Apr 26 15:36:51 srv4hai postfix/smtpd[17454]: warning: unknown[91.74.29.136]: SASL PLAIN authentication failed: Apr 26 15:36:52 srv4hai postfix/smtpd[17454]: lost connection after AUTH from unknown[91.74.29.136] Apr 26 15:36:52 srv4hai postfix/smtpd[17454]: disconnect from unknown[91.74.29.136] ehlo=1 auth=0/1 commands=1/2 Apr 26 15:37:01 srv4hai CRON[17483]: (root) CMD (/etc/linetest/linetest.sh) Apr 26 15:37:43 srv4hai ping_SP[7195]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1714138663 - 'ping_SP_0' Apr 26 15:37:43 srv4hai ping_SP[7195]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 26 15:38:01 srv4hai CRON[17521]: (root) CMD (/etc/linetest/linetest.sh) Apr 26 15:38:14 srv4hai dhcpd[22856]: DHCPDISCOVER from 98:cd:ac:2d:5a:11 via enp2s0 Apr 26 15:38:14 srv4hai dhcpd[22856]: DHCPOFFER on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0 Apr 26 15:38:14 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Apr 26 15:38:14 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.119 Apr 26 15:38:14 srv4hai dhcpd[22856]: execute_statement argv[2] = shelly-19 Apr 26 15:38:14 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.119 (192.168.12.252) from 98:cd:ac:2d:5a:11 via enp2s0 Apr 26 15:38:14 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.119 to 98:cd:ac:2d:5a:11 via enp2s0 Apr 26 15:38:14 srv4hai named[15509]: client @0x7f930c0b39c0 192.168.12.252#59033/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-19.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 26 15:38:14 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#34691/key rndc-key: signer "rndc-key" approved Apr 26 15:38:14 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#34691/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' TXT Apr 26 15:38:14 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#34691/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' TXT "0058d808d26aa46bf6275641574f8413b8" Apr 26 15:38:14 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#34691/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-19.viehai.at' A Apr 26 15:38:14 srv4hai named[15509]: client @0x7f93080b8190 192.168.12.252#34691/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-19.viehai.at' A 192.168.12.119 Apr 26 15:38:14 srv4hai dhcpd[22856]: Added new forward map from shelly-19.viehai.at to 192.168.12.119 Apr 26 15:38:14 srv4hai named[15509]: client @0x7f9310045f00 192.168.12.252#34241/key rndc-key: signer "rndc-key" approved Apr 26 15:38:14 srv4hai named[15509]: client @0x7f9310045f00 192.168.12.252#34241/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '119.12.168.192.in-addr.arpa' PTR Apr 26 15:38:14 srv4hai named[15509]: client @0x7f9310045f00 192.168.12.252#34241/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '119.12.168.192.in-addr.arpa' PTR shelly-19.viehai.at. Apr 26 15:38:14 srv4hai dhcpd[22856]: Added reverse map from 119.12.168.192.in-addr.arpa. to shelly-19.viehai.at Apr 26 15:38:14 srv4hai common[17529]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Apr 26 15:38:14 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-19' - shIP/2:'' perform:'conf' Apr 26 15:38:15 srv4hai mosquitto[18551]: New connection from 192.168.12.119 on port 1883. Apr 26 15:38:15 srv4hai mosquitto[18551]: New client connected from 192.168.12.119 as shelly1-98CDAC2D5A11 (c1, k60, u'shmqtt'). Apr 26 15:38:15 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-19' - shIP/2:'192.168.12.119' Apr 26 15:38:15 srv4hai conf_shelly.sh: SHELLY: usage/name 'Fernsehlampe groß' already set for '192.168.12.119' Apr 26 15:38:15 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(0)' - allready transmitted - skipping Apr 26 15:38:15 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(1)' - allready transmitted - skipping Apr 26 15:38:15 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(2)' - allready transmitted - skipping Apr 26 15:38:15 srv4hai conf_shelly.sh: SHELLY:'shelly-19' 'conf(3)' - allready transmitted - skipping Apr 26 15:38:16 srv4hai conf_shelly.sh: SHELLY:'shelly-19' out:0 ON : MISSING Apr 26 15:38:16 srv4hai conf_shelly.sh: SHELLY:'shelly-19' out:0 OFF: MISSING Apr 26 15:38:19 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Apr 26 15:38:20 srv4hai fetchmail[1651]: 42952 messages (42951 seen) for tmiglinci at mail.akis.at (-712246618 octets). Apr 26 15:38:20 srv4hai postfix/smtpd[17454]: connect from localhost[127.0.0.1] Apr 26 15:38:20 srv4hai postfix/smtpd[17454]: 472F96319F: client=localhost[127.0.0.1] Apr 26 15:38:20 srv4hai postfix/cleanup[17645]: 472F96319F: message-id= Apr 26 15:38:20 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:42952 of 42952 (53582 octets) not flushed Apr 26 15:38:20 srv4hai postfix/qmgr[15291]: 472F96319F: from= , size=53827, nrcpt=1 (queue active) Apr 26 15:38:20 srv4hai postfix/smtpd[17454]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Apr 26 15:38:20 srv4hai postfix/local[17646]: 472F96319F: to= , relay=local, delay=0.11, delays=0.09/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 26 15:38:20 srv4hai postfix/qmgr[15291]: 472F96319F: removed Apr 26 15:38:20 srv4hai fetchmail[1651]: 10173 messages (10173 seen) for srozum at mail.akis.at (1227685157 octets). Apr 26 15:38:21 srv4hai fetchmail[1651]: 23121 messages (23121 seen) for mrozum at mail.akis.at (-295428725 octets). Apr 26 15:38:21 srv4hai fetchmail[1651]: 50 messages (50 seen) for admin@bastelstube.wien at pop3.world4you.com (12362835 octets). Apr 26 15:38:57 srv4hai ping_SP[7195]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1714138737 - 'ping_SP_0' Apr 26 15:38:57 srv4hai ping_SP[7195]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 26 15:39:01 srv4hai CRON[17696]: (root) CMD (/etc/linetest/linetest.sh) Apr 26 15:39:01 srv4hai CRON[17697]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi) Apr 26 15:39:01 srv4hai systemd[1]: Starting Clean php session files... Apr 26 15:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded. Apr 26 15:39:01 srv4hai systemd[1]: Started Clean php session files. Apr 26 15:39:17 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=17801, secured, session=<5vO2BwAXYpEAAAAAAAAAAAAAAAAAAAAB> Apr 26 15:39:17 srv4hai dovecot: imap(miglincit)<17801><5vO2BwAXYpEAAAAAAAAAAAAAAAAAAAAB>: Logged out in=686 out=40307 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=16066 body_count=0 body_bytes=0 Apr 26 15:39:29 srv4hai activate_scenario[17805]: SHELLY scenario: 'homeOffice(homeoffice)' started Apr 26 15:39:29 srv4hai activate_scenario[17805]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
finished