activate_scenario.sh
Mon Feb 3 13:09:43 CET 2025
scenario: homeOffice
source: 192.168.12.140
vorher: 13:09:43.747
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: 13:09:43.771
Dauer: 23 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:43.769
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: 13:09:43.803
Dauer: 34 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:43.791
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: 13:09:43.819
Dauer: 28 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:43.811
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: 13:09:43.873
Dauer: 63 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:43.831
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: 13:09:43.870
Dauer: 38 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:43.853
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: 13:09:43.882
Dauer: 29 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:43.871
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: 13:09:43.944
Dauer: 72 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:43.894
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: 13:09:43.967
Dauer: 73 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:43.913
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: 13:09:44.099
Dauer: 185 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:43.934
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: 13:09:43.971
Dauer: 38 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:43.953
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: 13:09:43.989
Dauer: 36 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:43.972
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: 13:09:44.005
Dauer: 33 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:43.994
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: 13:09:44.100
Dauer: 103 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:44.014
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: 13:09:44.159
Dauer: 145 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:44.033
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: 13:09:44.066
Dauer: 33 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:44.055
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: 13:09:44.101
Dauer: 47 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:44.074
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: 13:09:44.112
Dauer: 38 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:44.094
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: 13:09:44.121
Dauer: 26 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:44.115
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: 13:09:44.164
Dauer: 49 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:44.136
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: 13:09:44.160
Dauer: 23 msec
phName: 'shelly-40:'TB Licht''
vorher: 13:09:44.155
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: 13:09:44.198
Dauer: 43 msec
phName: 'shelly-40:'TB Licht''
urls : 21
vorher : 13:09:43.698
nachher: 13:09:44.206
Dauer : 511 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/03//scene_homeOffice_20250203_130943.txt'
Feb 3 13:06:00 srv4hai common[29031]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:06:00 srv4hai common[29055]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:06:00 srv4hai common[29079]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:06:01 srv4hai CRON[29104]: (root) CMD (/etc/linetest/linetest.sh) Feb 3 13:06:38 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29118, secured, session=<+39/uTstcMYAAAAAAAAAAAAAAAAAAAAB> Feb 3 13:06:38 srv4hai dovecot: imap(miglincit)<29118><+39/uTstcMYAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Feb 3 13:06:46 srv4hai common[29122]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:06:46 srv4hai common[29148]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:07:00 srv4hai common[29188]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:07:00 srv4hai common[29212]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:07:00 srv4hai common[29236]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:07:01 srv4hai CRON[29261]: (root) CMD (/etc/linetest/linetest.sh) Feb 3 13:07:09 srv4hai ping_SP[12295]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1738584429 - 'ping_SP_0' Feb 3 13:07:09 srv4hai ping_SP[12295]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 3 13:07:26 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Feb 3 13:07:27 srv4hai fetchmail[1651]: 62826 messages (62825 seen) for tmiglinci at mail.akis.at (843282813 octets). Feb 3 13:07:27 srv4hai postfix/smtpd[29294]: connect from localhost[127.0.0.1] Feb 3 13:07:27 srv4hai postfix/smtpd[29294]: 67F916000F: client=localhost[127.0.0.1] Feb 3 13:07:27 srv4hai postfix/cleanup[29297]: 67F916000F: message-id=<01070194cbb0f4c2-b77a7d20-4dc2-4251-ab1f-3549c5764f4b-000000@eu-central-1.amazonses.com> Feb 3 13:07:27 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:62826 of 62826 (47006 octets) not flushed Feb 3 13:07:27 srv4hai postfix/qmgr[8566]: 67F916000F: from= , size=47225, nrcpt=1 (queue active) Feb 3 13:07:27 srv4hai postfix/smtpd[29294]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Feb 3 13:07:27 srv4hai postfix/local[29298]: 67F916000F: to= , relay=local, delay=0.09, delays=0.06/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Feb 3 13:07:27 srv4hai postfix/qmgr[8566]: 67F916000F: removed Feb 3 13:07:27 srv4hai fetchmail[1651]: 11486 messages (11486 seen) for srozum at mail.akis.at (1366372216 octets). Feb 3 13:07:28 srv4hai fetchmail[1651]: 28708 messages (28707 seen) for mrozum at mail.akis.at (623767014 octets). Feb 3 13:07:28 srv4hai postfix/smtpd[29294]: connect from localhost[127.0.0.1] Feb 3 13:07:28 srv4hai postfix/smtpd[29294]: 8495D6000F: client=localhost[127.0.0.1] Feb 3 13:07:28 srv4hai postfix/cleanup[29297]: 8495D6000F: message-id=<9627c63b-095b-4a36-b045-ce550605f2fa@ind1s01mta1415.xt.local> Feb 3 13:07:28 srv4hai postfix/qmgr[8566]: 8495D6000F: from= , size=109418, nrcpt=1 (queue active) Feb 3 13:07:28 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:28708 of 28708 (108953 octets) not flushed Feb 3 13:07:28 srv4hai postfix/smtpd[29294]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Feb 3 13:07:28 srv4hai postfix/local[29298]: 8495D6000F: to= , relay=local, delay=0.11, delays=0.09/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Feb 3 13:07:28 srv4hai postfix/qmgr[8566]: 8495D6000F: removed Feb 3 13:07:29 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets). Feb 3 13:07:46 srv4hai common[29306]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:07:46 srv4hai common[29330]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:08:00 srv4hai common[29357]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:08:00 srv4hai common[29382]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:08:00 srv4hai common[29406]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:08:01 srv4hai CRON[29432]: (root) CMD (/etc/linetest/linetest.sh) Feb 3 13:08:11 srv4hai postfix/smtpd[29294]: warning: hostname mail1.whauwant.com does not resolve to address 198.46.151.35: Name or service not known Feb 3 13:08:11 srv4hai postfix/smtpd[29294]: connect from unknown[198.46.151.35] Feb 3 13:08:15 srv4hai postfix/smtpd[29294]: warning: unknown[198.46.151.35]: SASL PLAIN authentication failed: Feb 3 13:08:15 srv4hai postfix/smtpd[29294]: disconnect from unknown[198.46.151.35] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 3 13:08:22 srv4hai ping_SP[12295]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1738584502 - 'ping_SP_0' Feb 3 13:08:22 srv4hai ping_SP[12295]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 3 13:08:46 srv4hai common[29465]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:08:46 srv4hai common[29489]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:08:59 srv4hai common[29516]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:09:00 srv4hai common[29540]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:09:00 srv4hai common[29564]: SHELLY common.sh inkludiert von ./mqtt_process.sh Feb 3 13:09:01 srv4hai CRON[29590]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi) Feb 3 13:09:01 srv4hai CRON[29591]: (root) CMD (/etc/linetest/linetest.sh) Feb 3 13:09:01 srv4hai systemd[1]: Starting Clean php session files... Feb 3 13:09:02 srv4hai systemd[1]: phpsessionclean.service: Succeeded. Feb 3 13:09:02 srv4hai systemd[1]: Started Clean php session files. Feb 3 13:09:24 srv4hai dhcpd[4995]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Feb 3 13:09:24 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Feb 3 13:09:24 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Feb 3 13:09:24 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.139 Feb 3 13:09:24 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-39 Feb 3 13:09:24 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Feb 3 13:09:24 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Feb 3 13:09:24 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#50831/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Feb 3 13:09:24 srv4hai named[30406]: client @0x7f932c03e370 192.168.12.252#53047/key rndc-key: signer "rndc-key" approved Feb 3 13:09:24 srv4hai named[30406]: client @0x7f932c03e370 192.168.12.252#53047/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Feb 3 13:09:24 srv4hai named[30406]: client @0x7f932c03e370 192.168.12.252#53047/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Feb 3 13:09:24 srv4hai named[30406]: client @0x7f932c03e370 192.168.12.252#53047/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Feb 3 13:09:24 srv4hai named[30406]: client @0x7f932c03e370 192.168.12.252#53047/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Feb 3 13:09:24 srv4hai dhcpd[4995]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Feb 3 13:09:24 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#58537/key rndc-key: signer "rndc-key" approved Feb 3 13:09:24 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#58537/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Feb 3 13:09:24 srv4hai named[30406]: client @0x7f93500576c0 192.168.12.252#58537/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '139.12.168.192.in-addr.arpa' PTR shelly-39.viehai.at. Feb 3 13:09:24 srv4hai dhcpd[4995]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Feb 3 13:09:24 srv4hai common[29692]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Feb 3 13:09:24 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Feb 3 13:09:25 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Feb 3 13:09:25 srv4hai common[29717]: SHELLY common.sh inkludiert von ./ht_shelly.sh Feb 3 13:09:25 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=11.200000&hum=35.400000&id=C049EF8AC9D8&batt=93&volt=5.860000 Feb 3 13:09:25 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Feb 3 13:09:25 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2025/02/shelly-39_20250203.csv' Feb 3 13:09:25 srv4hai ht_shelly.sh: SHELLY - 'shelly-39_20250203.csv' modifed 307s ago - EXIT Feb 3 13:09:25 srv4hai conf_shelly.sh: SHELLY:'shelly-39' 'conf(0)' - 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' Feb 3 13:09:25 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -POST -d 'settings/actions?index=0&name=report_url&enabled=true&urls[]=http://www.viehai.at/shelly/ht_shelly.shtml?gen=2&temp=${ev.tC}&hum=${status["humidity:0"].rH}&id=${config.sys.device.mac}' http://192.168.12.139/rpc | jq -r '.'' Feb 3 13:09:25 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Feb 3 13:09:32 srv4hai postfix/smtpd[29294]: connect from unknown[195.211.191.56] Feb 3 13:09:32 srv4hai postfix/smtpd[29294]: warning: unknown[195.211.191.56]: SASL LOGIN authentication failed: Invalid authentication mechanism Feb 3 13:09:33 srv4hai postfix/smtpd[29294]: disconnect from unknown[195.211.191.56] ehlo=1 auth=0/1 quit=1 commands=2/3 Feb 3 13:09:36 srv4hai ping_SP[12295]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1738584576 - 'ping_SP_0' Feb 3 13:09:36 srv4hai ping_SP[12295]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Feb 3 13:09:38 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=29813, secured, session= Feb 3 13:09:38 srv4hai dovecot: imap(miglincit)<29813> : Logged out in=2116 out=169403 deleted=0 expunged=0 trashed=0 hdr_count=262 hdr_bytes=93382 body_count=0 body_bytes=0 Feb 3 13:09:43 srv4hai activate_scenario[29815]: SHELLY scenario: 'homeOffice(homeoffice)' started Feb 3 13:09:43 srv4hai activate_scenario[29815]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
finished