activate_scenario.sh
Mon Feb 12 08:57:26 CET 2024
scenario: homeOffice
source: 192.168.12.140
vorher: 08:57:26.732
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: 08:57:26.795
Dauer: 62 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.749
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:57:26.793
Dauer: 44 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.764
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: 08:57:26.910
Dauer: 145 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.776
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:57:27.016
Dauer: 241 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.787
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: 08:57:26.896
Dauer: 109 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.800
http://192.168.12.107/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "input" |
nachher: 08:57:26.839
Dauer: 39 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.811
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:57:27.025
Dauer: 213 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.823
http://192.168.12.109/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 08:57:26.850
Dauer: 27 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.835
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:57:26.891
Dauer: 57 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.848
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:57:26.920
Dauer: 72 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.861
http://192.168.12.112/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 08:57:27.040
Dauer: 179 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.872
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": 0, "overpower": false |
nachher: 08:57:26.916
Dauer: 44 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.886
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": 0, "overpower": false |
nachher: 08:57:27.065
Dauer: 180 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.899
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:57:27.068
Dauer: 170 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.911
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:57:27.090
Dauer: 179 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.929
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:57:27.017
Dauer: 89 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.940
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: 08:57:27.020
Dauer: 79 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.953
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:57:27.990
Dauer: 1038 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 08:57:26.964
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:57:27.033
Dauer: 69 msec
phName: 'shelly-40:'Thomas Büro Licht''
urls : 19
vorher : 08:57:26.708
nachher: 08:57:27.998
Dauer : 1290 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/12//scene_homeOffice_20240212_085726.txt'
Feb 12 08:54:01 srv4hai CRON[31342]: (root) CMD (/etc/linetest/linetest.sh) Feb 12 08:54:03 srv4hai postfix/smtpd[31347]: connect from unknown[193.222.96.116] Feb 12 08:54:03 srv4hai postfix/smtpd[31347]: disconnect from unknown[193.222.96.116] ehlo=1 quit=1 commands=2 Feb 12 08:54:17 srv4hai ping_SP[32528]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1707724457 - 'ping_SP_0' Feb 12 08:54:17 srv4hai ping_SP[32528]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 12 08:54:23 srv4hai postfix/smtpd[31347]: connect from unknown[194.33.191.197] Feb 12 08:54:24 srv4hai postfix/smtpd[31347]: warning: unknown[194.33.191.197]: SASL LOGIN authentication failed: Invalid authentication mechanism Feb 12 08:54:24 srv4hai postfix/smtpd[31347]: disconnect from unknown[194.33.191.197] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 12 08:54:42 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Feb 12 08:54:42 srv4hai fetchmail[1651]: 37917 messages (37917 seen) for tmiglinci at mail.akis.at (-1167825782 octets). Feb 12 08:54:43 srv4hai fetchmail[1651]: 9887 messages (9887 seen) for srozum at mail.akis.at (1193095076 octets). Feb 12 08:54:43 srv4hai fetchmail[1651]: 21598 messages (21598 seen) for mrozum at mail.akis.at (-588525751 octets). Feb 12 08:54:44 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets). Feb 12 08:55:01 srv4hai dhcpd[5037]: DHCPDISCOVER from 48:55:19:00:b3:58 via enp2s0 Feb 12 08:55:01 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0 Feb 12 08:55:01 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Feb 12 08:55:01 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.137 Feb 12 08:55:01 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-37 Feb 12 08:55:01 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.137 (192.168.12.252) from 48:55:19:00:b3:58 via enp2s0 Feb 12 08:55:01 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.137 to 48:55:19:00:b3:58 via enp2s0 Feb 12 08:55:01 srv4hai named[14530]: client @0x7fc31806b450 192.168.12.252#34809/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-37.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 12 08:55:01 srv4hai named[14530]: client @0x7fc3100adf90 192.168.12.252#35219/key rndc-key: signer "rndc-key" approved Feb 12 08:55:01 srv4hai named[14530]: client @0x7fc3100adf90 192.168.12.252#35219/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' TXT Feb 12 08:55:01 srv4hai named[14530]: client @0x7fc3100adf90 192.168.12.252#35219/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' TXT "001bc21ebc20088cb6a311248591ab7101" Feb 12 08:55:01 srv4hai named[14530]: client @0x7fc3100adf90 192.168.12.252#35219/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-37.viehai.at' A Feb 12 08:55:01 srv4hai named[14530]: client @0x7fc3100adf90 192.168.12.252#35219/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-37.viehai.at' A 192.168.12.137 Feb 12 08:55:01 srv4hai dhcpd[5037]: Added new forward map from shelly-37.viehai.at to 192.168.12.137 Feb 12 08:55:01 srv4hai named[14530]: client @0x7fc3180cfac0 192.168.12.252#44535/key rndc-key: signer "rndc-key" approved Feb 12 08:55:01 srv4hai named[14530]: client @0x7fc3180cfac0 192.168.12.252#44535/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '137.12.168.192.in-addr.arpa' PTR Feb 12 08:55:01 srv4hai named[14530]: client @0x7fc3180cfac0 192.168.12.252#44535/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '137.12.168.192.in-addr.arpa' PTR shelly-37.viehai.at. Feb 12 08:55:01 srv4hai dhcpd[5037]: Added reverse map from 137.12.168.192.in-addr.arpa. to shelly-37.viehai.at Feb 12 08:55:01 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-37' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Feb 12 08:55:01 srv4hai CRON[31398]: (root) CMD (/etc/linetest/linetest.sh) Feb 12 08:55:02 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-37' - shIP/2:'192.168.12.137' Feb 12 08:55:02 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=21.75&id=shellyht-00B358 Feb 12 08:55:02 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137' Feb 12 08:55:02 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240212.csv' Feb 12 08:55:02 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-37' - shIP/2:'192.168.12.137' Feb 12 08:55:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping Feb 12 08:55:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping Feb 12 08:55:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping Feb 12 08:55:02 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetter 1' already set for '192.168.12.137' Feb 12 08:55:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - '' Feb 12 08:55:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(0)' - allready transmitted - skipping Feb 12 08:55:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(1)' - allready transmitted - skipping Feb 12 08:55:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(2)' - allready transmitted - skipping Feb 12 08:55:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' 'conf(3)' - '' Feb 12 08:55:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.'' Feb 12 08:55:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: '' Feb 12 08:55:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-cmd: 'curl --connect-timeout 3 --silent 'http://192.168.12.137/' | jq -r '.'' Feb 12 08:55:02 srv4hai conf_shelly.sh: SHELLY:'shelly-37' conf(3)-ret: '' Feb 12 08:55:02 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.75° - 41% Feb 12 08:55:02 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: 21.75°/21.62° - 41%/41% - SAVED Feb 12 08:55:02 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: batt='91'° Feb 12 08:55:03 srv4hai ht_shelly.sh: SHELLY shellyht-00B358 / shelly-37 / Wetter 1: dweetIO='{#012 "this": "succeeded",#012 "by": "dweeting",#012 "the": "dweet",#012 "with": {#012 "thing": "viehai-37",#012 "created": "2024-02-12T07:55:03.160Z",#012 "content": {#012 "temp": 21.75,#012 "hum": 41,#012 "batt": 91#012 },#012 "transaction": "c33637d5-db7e-42b2-9d04-4ffa4775eab9"#012 }#012}'° Feb 12 08:55:07 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=21.75&id=shellyht-00B358 Feb 12 08:55:07 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240212.csv' Feb 12 08:55:07 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240212.csv' modifed 5s ago - EXIT Feb 12 08:55:12 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=21.75&id=shellyht-00B358 Feb 12 08:55:12 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240212.csv' Feb 12 08:55:12 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240212.csv' modifed 10s ago - EXIT Feb 12 08:55:17 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=21.75&id=shellyht-00B358 Feb 12 08:55:17 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240212.csv' Feb 12 08:55:17 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240212.csv' modifed 15s ago - EXIT Feb 12 08:55:20 srv4hai ping_SP[32528]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1707724520 - 'ping_SP_0' Feb 12 08:55:20 srv4hai ping_SP[32528]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 12 08:55:22 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=21.75&id=shellyht-00B358 Feb 12 08:55:22 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240212.csv' Feb 12 08:55:22 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240212.csv' modifed 20s ago - EXIT Feb 12 08:55:27 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: hum=41&temp=21.75&id=shellyht-00B358 Feb 12 08:55:27 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240212.csv' Feb 12 08:55:27 srv4hai ht_shelly.sh: SHELLY - '/srv/www/viehai/shelly/wetter/2024/02/shelly-37_20240212.csv' modifed 25s ago - EXIT Feb 12 08:56:01 srv4hai CRON[31770]: (root) CMD (/etc/linetest/linetest.sh) Feb 12 08:56:05 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=31777, secured, session= Feb 12 08:56:05 srv4hai dovecot: imap(miglincit)<31777> : 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 12 08:56:23 srv4hai ping_SP[32528]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1707724583 - 'ping_SP_0' Feb 12 08:56:23 srv4hai ping_SP[32528]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 12 08:57:01 srv4hai CRON[31814]: (root) CMD (/etc/linetest/linetest.sh) Feb 12 08:57:26 srv4hai ping_SP[32528]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1707724646 - 'ping_SP_0' Feb 12 08:57:26 srv4hai ping_SP[32528]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 12 08:57:26 srv4hai activate_scenario[31851]: SHELLY scenario: 'homeOffice(homeoffice)' started Feb 12 08:57:26 srv4hai activate_scenario[31851]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
finished