activate_scenario.sh
Sun Dec 1 09:17:46 CET 2024
scenario: homeOffice
source: 192.168.12.140
vorher: 09:17:46.484
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: 09:17:46.537
Dauer: 53 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.497
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: 09:17:46.532
Dauer: 34 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.511
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: 09:17:46.624
Dauer: 113 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.530
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: 09:17:46.730
Dauer: 202 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.545
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: 09:17:46.634
Dauer: 90 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.560
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: 09:17:46.586
Dauer: 25 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.574
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: 09:17:46.623
Dauer: 49 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.588
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: 09:17:46.631
Dauer: 44 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.605
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: 09:17:46.632
Dauer: 27 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.622
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: 09:17:46.704
Dauer: 83 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.643
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: 09:17:46.718
Dauer: 75 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.654
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: 09:17:46.723
Dauer: 69 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.668
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: 09:17:46.735
Dauer: 68 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.682
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: 09:17:46.743
Dauer: 61 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.698
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: 09:17:46.792
Dauer: 94 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.713
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: 09:17:46.740
Dauer: 28 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.730
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: 09:17:46.761
Dauer: 30 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.742
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: 09:17:46.777
Dauer: 35 msec
phName: 'shelly-40:'TB Licht''
vorher: 09:17:46.758
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: 09:17:46.846
Dauer: 88 msec
phName: 'shelly-40:'TB Licht''
urls : 19
vorher : 09:17:46.443
nachher: 09:17:46.854
Dauer : 412 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/01//scene_homeOffice_20241201_091746.txt'
Dec 1 09:14:01 srv4hai CRON[9312]: (root) CMD (/etc/linetest/linetest.sh) Dec 1 09:14:04 srv4hai common[9318]: SHELLY common.sh inkludiert von ./bt_scan.sh Dec 1 09:14:14 srv4hai bt_scan[9318]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'No' Dec 1 09:14:14 srv4hai bt_scan[9318]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence Dec 1 09:14:14 srv4hai common[9351]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Dec 1 09:14:14 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'3'=1733040854-1733040851 Dec 1 09:14:14 srv4hai check_presence[9351]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes Dec 1 09:14:14 srv4hai check_presence[9351]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence' Dec 1 09:14:14 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'3'=1733040854-1733040851 Dec 1 09:14:14 srv4hai check_presence[9351]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Dec 1 09:14:14 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'3'=1733040854-1733040851 Dec 1 09:14:14 srv4hai check_presence[9351]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Dec 1 09:14:14 srv4hai check_presence[9351]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(BT/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true' Dec 1 09:14:15 srv4hai check_presence[9351]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_sekr_UM) - sceneOFF(offAll) Dec 1 09:14:15 srv4hai check_presence[9351]: SHELLY (bt_scan)-(1)-presence: NOT activate_scenario.shtml: offAll Dec 1 09:14:41 srv4hai dhcpd[21239]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Dec 1 09:14:41 srv4hai dhcpd[21239]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Dec 1 09:14:41 srv4hai dhcpd[21239]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Dec 1 09:14:41 srv4hai dhcpd[21239]: execute_statement argv[1] = 192.168.12.139 Dec 1 09:14:41 srv4hai dhcpd[21239]: execute_statement argv[2] = shelly-39 Dec 1 09:14:41 srv4hai dhcpd[21239]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Dec 1 09:14:41 srv4hai dhcpd[21239]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Dec 1 09:14:41 srv4hai named[30406]: client @0x7f93380a5c40 192.168.12.252#51847/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Dec 1 09:14:41 srv4hai named[30406]: client @0x7f93100e1310 192.168.12.252#51679/key rndc-key: signer "rndc-key" approved Dec 1 09:14:41 srv4hai named[30406]: client @0x7f93100e1310 192.168.12.252#51679/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Dec 1 09:14:41 srv4hai named[30406]: client @0x7f93100e1310 192.168.12.252#51679/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Dec 1 09:14:41 srv4hai named[30406]: client @0x7f93100e1310 192.168.12.252#51679/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Dec 1 09:14:41 srv4hai named[30406]: client @0x7f93100e1310 192.168.12.252#51679/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Dec 1 09:14:41 srv4hai dhcpd[21239]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Dec 1 09:14:41 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#60163/key rndc-key: signer "rndc-key" approved Dec 1 09:14:41 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#60163/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Dec 1 09:14:41 srv4hai named[30406]: client @0x7f933000d2b0 192.168.12.252#60163/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. Dec 1 09:14:41 srv4hai dhcpd[21239]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Dec 1 09:14:41 srv4hai common[9516]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Dec 1 09:14:41 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Dec 1 09:14:41 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Dec 1 09:14:41 srv4hai common[9535]: SHELLY common.sh inkludiert von ./ht_shelly.sh Dec 1 09:14:41 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=3.300000&hum=73.700000&id=C049EF8AC9D8&batt=97&volt=5.950000 Dec 1 09:14:41 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/12/shelly-39_20241201.csv' Dec 1 09:14:41 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Dec 1 09:14:41 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Dec 1 09:14:41 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}' Dec 1 09:14:41 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Dec 1 09:14:41 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}' Dec 1 09:14:41 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 '.'' Dec 1 09:14:41 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 '.'' Dec 1 09:14:41 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Dec 1 09:14:41 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Dec 1 09:14:41 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 3.3° - 73.7% Dec 1 09:14:41 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 3.3°/2.7° - 73.7%/74.3% - SAVED Dec 1 09:14:41 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='97'° Dec 1 09:14:41 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: dweetIO='{#012 "this": "succeeded",#012 "by": "dweeting",#012 "the": "dweet",#012 "with": {#012 "thing": "viehai-39",#012 "created": "2024-12-01T08:14:41.931Z",#012 "content": {#012 "temp": 3.3,#012 "hum": 73.7,#012 "batt": 97,#012 "csvF": "shelly-39_20241201.csv"#012 },#012 "transaction": "bb16d920-ddc7-4daa-a6e4-6f384e78fba9"#012 }#012}'° Dec 1 09:14:50 srv4hai ping_SP[26197]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1733040890 - 'ping_SP_0' Dec 1 09:14:50 srv4hai ping_SP[26197]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Dec 1 09:15:01 srv4hai CRON[9694]: (root) CMD (/etc/linetest/linetest.sh) Dec 1 09:15:06 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9706, secured, session= Dec 1 09:15:06 srv4hai dovecot: imap(miglincit)<9706> : Logged out in=198 out=1234 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Dec 1 09:15:37 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Dec 1 09:15:38 srv4hai fetchmail[1651]: 58150 messages (58149 seen) for tmiglinci at mail.akis.at (484914449 octets). Dec 1 09:15:38 srv4hai postfix/smtpd[9714]: connect from localhost[127.0.0.1] Dec 1 09:15:38 srv4hai postfix/smtpd[9714]: B2865631BE: client=localhost[127.0.0.1] Dec 1 09:15:38 srv4hai postfix/cleanup[9717]: B2865631BE: message-id= Dec 1 09:15:38 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:58150 of 58150 (252453 octets) not flushed Dec 1 09:15:38 srv4hai postfix/qmgr[8566]: B2865631BE: from= , size=252726, nrcpt=1 (queue active) Dec 1 09:15:38 srv4hai postfix/smtpd[9714]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Dec 1 09:15:38 srv4hai postfix/local[9718]: B2865631BE: to= , relay=local, delay=0.15, delays=0.13/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Dec 1 09:15:38 srv4hai postfix/qmgr[8566]: B2865631BE: removed Dec 1 09:15:39 srv4hai fetchmail[1651]: 11138 messages (11138 seen) for srozum at mail.akis.at (1340582688 octets). Dec 1 09:15:40 srv4hai fetchmail[1651]: 27592 messages (27590 seen) for mrozum at mail.akis.at (458212989 octets). Dec 1 09:15:40 srv4hai postfix/smtpd[9714]: connect from localhost[127.0.0.1] Dec 1 09:15:40 srv4hai postfix/smtpd[9714]: 0E2E9631BE: client=localhost[127.0.0.1] Dec 1 09:15:40 srv4hai postfix/cleanup[9717]: 0E2E9631BE: message-id= Dec 1 09:15:40 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:27591 of 27592 (184605 octets) not flushed Dec 1 09:15:40 srv4hai postfix/qmgr[8566]: 0E2E9631BE: from= , size=184840, nrcpt=1 (queue active) Dec 1 09:15:40 srv4hai postfix/local[9718]: 0E2E9631BE: to= , relay=local, delay=0.13, delays=0.11/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Dec 1 09:15:40 srv4hai postfix/qmgr[8566]: 0E2E9631BE: removed Dec 1 09:15:40 srv4hai postfix/smtpd[9714]: 3251B631BE: client=localhost[127.0.0.1] Dec 1 09:15:40 srv4hai postfix/cleanup[9717]: 3251B631BE: message-id= Dec 1 09:15:40 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:27592 of 27592 (79020 octets) not flushed Dec 1 09:15:40 srv4hai postfix/qmgr[8566]: 3251B631BE: from= , size=79276, nrcpt=1 (queue active) Dec 1 09:15:40 srv4hai postfix/local[9718]: 3251B631BE: to= , relay=local, delay=0.07, delays=0.06/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Dec 1 09:15:40 srv4hai postfix/qmgr[8566]: 3251B631BE: removed Dec 1 09:15:40 srv4hai postfix/smtpd[9714]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8 Dec 1 09:15:40 srv4hai fetchmail[1651]: 1158 messages (1158 seen) for admin@bastelstube.wien at pop3.world4you.com (52179212 octets). Dec 1 09:16:01 srv4hai CRON[9730]: (root) CMD (/etc/linetest/linetest.sh) Dec 1 09:16:03 srv4hai ping_SP[26197]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1733040963 - 'ping_SP_0' Dec 1 09:16:03 srv4hai ping_SP[26197]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Dec 1 09:16:04 srv4hai postfix/anvil[7868]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Dec 1 09:06:04 Dec 1 09:16:04 srv4hai postfix/anvil[7868]: statistics: max connection count 1 for (smtp:80.94.95.239) at Dec 1 09:06:04 Dec 1 09:16:04 srv4hai postfix/anvil[7868]: statistics: max cache size 2 at Dec 1 09:09:56 Dec 1 09:17:01 srv4hai CRON[9765]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Dec 1 09:17:01 srv4hai CRON[9766]: (root) CMD (/etc/linetest/linetest.sh) Dec 1 09:17:17 srv4hai ping_SP[26197]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1733041037 - 'ping_SP_0' Dec 1 09:17:17 srv4hai ping_SP[26197]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Dec 1 09:17:40 srv4hai postfix/smtpd[9799]: connect from unknown[80.94.95.239] Dec 1 09:17:43 srv4hai postfix/smtpd[9799]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism Dec 1 09:17:44 srv4hai postfix/smtpd[9799]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Dec 1 09:17:46 srv4hai activate_scenario[9803]: SHELLY scenario: 'homeOffice(homeoffice)' started Dec 1 09:17:46 srv4hai activate_scenario[9803]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
finished