activate_scenario.sh
Mon Jun 10 12:23:28 CEST 2024
scenario: homeOffice
source: 192.168.12.140
vorher: 12:23:28.292
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: 12:23:28.375
Dauer: 83 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.305
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: 12:23:28.332
Dauer: 26 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.317
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: 12:23:28.345
Dauer: 28 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.332
http://192.168.12.105/relay/0?turn=off |
---|
nachher: 12:23:31.411
Dauer: 3080 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.347
http://192.168.12.106/relay/0?turn=off |
---|
nachher: 12:23:31.411
Dauer: 3064 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.359
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: 12:23:28.397
Dauer: 38 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.372
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: 12:23:28.468
Dauer: 96 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.386
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: 12:23:28.410
Dauer: 24 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.400
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: 12:23:28.424
Dauer: 23 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.414
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: 12:23:28.455
Dauer: 41 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.428
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: 12:23:28.471
Dauer: 43 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.440
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": 11.28, "overpower": false |
nachher: 12:23:28.476
Dauer: 35 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.452
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": 11.28, "overpower": false |
nachher: 12:23:28.491
Dauer: 39 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.466
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: 12:23:28.498
Dauer: 34 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.482
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: 12:23:28.534
Dauer: 51 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.496
http://192.168.12.119/relay/0?turn=off |
---|
nachher: 12:23:31.571
Dauer: 3075 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.511
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: 12:23:28.580
Dauer: 68 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.524
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: 12:23:28.562
Dauer: 38 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 12:23:28.537
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: 12:23:28.596
Dauer: 59 msec
phName: 'shelly-40:'Thomas Büro Licht''
urls : 19
vorher : 12:23:28.271
nachher: 12:23:31.580
Dauer : 3310 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/10//scene_homeOffice_20240610_122328.txt'
Jun 10 12:20:01 srv4hai CRON[23902]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Jun 10 12:20:01 srv4hai CRON[23903]: (root) CMD (/etc/linetest/linetest.sh) Jun 10 12:20:01 srv4hai common[23904]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh Jun 10 12:20:01 srv4hai meter.sh: SHELLY meter.sh started Jun 10 12:20:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring Jun 10 12:20:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring Jun 10 12:20:05 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 10 12:20:07 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 10 12:20:10 srv4hai meter.sh: SHELLY 'shelly-06/Fernsehlampe klein': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 10 12:20:12 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring Jun 10 12:20:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring Jun 10 12:20:12 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring Jun 10 12:20:12 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring Jun 10 12:20:12 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring Jun 10 12:20:15 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 10 12:20:17 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 10 12:20:17 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring Jun 10 12:20:17 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring Jun 10 12:20:17 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring Jun 10 12:20:17 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring Jun 10 12:20:17 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring Jun 10 12:20:20 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 10 12:20:20 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring Jun 10 12:20:20 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring Jun 10 12:20:20 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring Jun 10 12:20:20 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring Jun 10 12:20:20 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring Jun 10 12:20:20 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring Jun 10 12:20:20 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring Jun 10 12:20:20 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring Jun 10 12:20:20 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring Jun 10 12:20:20 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring Jun 10 12:20:23 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht': OFFLINE, resp. not answering within connect-timeout 2.500000s Jun 10 12:20:23 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring Jun 10 12:20:23 srv4hai common[24767]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh Jun 10 12:20:23 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcOFF' Jun 10 12:20:23 srv4hai check_shelly.sh: SHELLY found '5' active shelly outputs Jun 10 12:20:23 srv4hai meter.sh: SHELLY meter.sh ended Jun 10 12:20:54 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Jun 10 12:20:54 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jun 10 12:20:54 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jun 10 12:20:54 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139 Jun 10 12:20:54 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39 Jun 10 12:20:54 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Jun 10 12:20:54 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jun 10 12:20:54 srv4hai named[30406]: client @0x7f931c01da50 192.168.12.252#46309/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jun 10 12:20:54 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#56629/key rndc-key: signer "rndc-key" approved Jun 10 12:20:54 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#56629/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Jun 10 12:20:54 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#56629/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Jun 10 12:20:54 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#56629/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Jun 10 12:20:54 srv4hai named[30406]: client @0x7f9350100b10 192.168.12.252#56629/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Jun 10 12:20:54 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Jun 10 12:20:54 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#52427/key rndc-key: signer "rndc-key" approved Jun 10 12:20:54 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#52427/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Jun 10 12:20:54 srv4hai named[30406]: client @0x7f935012c1c0 192.168.12.252#52427/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. Jun 10 12:20:54 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Jun 10 12:20:54 srv4hai common[24800]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jun 10 12:20:54 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Jun 10 12:20:54 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Jun 10 12:20:54 srv4hai common[24819]: SHELLY common.sh inkludiert von ./ht_shelly.sh Jun 10 12:20:54 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=21.500000&hum=73&id=C049EF8AC9D8&batt=100&volt=6.770000 Jun 10 12:20:54 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-39_20240610.csv' Jun 10 12:20:54 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Jun 10 12:20:54 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Jun 10 12:20:54 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}' Jun 10 12:20:54 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Jun 10 12:20:54 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}' Jun 10 12:20:54 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -X -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 '.'' Jun 10 12:20:54 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Jun 10 12:20:54 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -X -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 '.'' Jun 10 12:20:54 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Jun 10 12:20:54 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Jun 10 12:20:54 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Jun 10 12:20:54 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 21.5° - 73% Jun 10 12:20:54 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 21.5°/21° - 73%/74.1% - SAVED Jun 10 12:20:54 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Jun 10 12:20:55 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-06-10T10:20:55.115Z",#012 "content": {#012 "temp": 21.5,#012 "hum": 73,#012 "batt": 100,#012 "csvF": "shelly-39_20240610.csv"#012 },#012 "transaction": "b44594ef-6130-438c-b82b-291bf6431efc"#012 }#012}'° Jun 10 12:21:01 srv4hai ping_SP[22030]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1718014861 - 'ping_SP_0' Jun 10 12:21:01 srv4hai ping_SP[22030]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 10 12:21:01 srv4hai CRON[24980]: (root) CMD (/etc/linetest/linetest.sh) Jun 10 12:22:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24999, secured, session= Jun 10 12:22:01 srv4hai dovecot: imap(miglincit)<24999> : Logged out in=429 out=1232 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jun 10 12:22:01 srv4hai CRON[25003]: (root) CMD (/etc/linetest/linetest.sh) Jun 10 12:22:14 srv4hai ping_SP[22030]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1718014934 - 'ping_SP_0' Jun 10 12:22:14 srv4hai ping_SP[22030]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 10 12:22:33 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Jun 10 12:22:34 srv4hai fetchmail[1651]: 46092 messages (46092 seen) for tmiglinci at mail.akis.at (-492567626 octets). Jun 10 12:22:34 srv4hai fetchmail[1651]: 10312 messages (10312 seen) for srozum at mail.akis.at (1240196967 octets). Jun 10 12:22:35 srv4hai fetchmail[1651]: 23994 messages (23994 seen) for mrozum at mail.akis.at (-154903816 octets). Jun 10 12:22:35 srv4hai fetchmail[1651]: 106 messages (106 seen) for admin@bastelstube.wien at pop3.world4you.com (41070434 octets). Jun 10 12:23:01 srv4hai CRON[25030]: (root) CMD (/etc/linetest/linetest.sh) Jun 10 12:23:27 srv4hai ping_SP[22030]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1718015007 - 'ping_SP_0' Jun 10 12:23:27 srv4hai ping_SP[22030]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jun 10 12:23:28 srv4hai activate_scenario[25057]: SHELLY scenario: 'homeOffice(homeoffice)' started Jun 10 12:23:28 srv4hai activate_scenario[25057]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
finished