activate_scenario.sh
Sat Mar 30 08:23:11 CET 2024
scenario: herdzeile_75
source: 192.168.12.129
vorher: 08:23:11.214
http://192.168.12.117/white/0?turn=on&brightness=70 |
---|
"ison": true, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 70, "transition": 0, "power": 13.21, "overpower": false |
nachher: 08:23:11.249
Dauer: 35 msec
phName: 'shelly-29:'Schalter Herdzeile''
vorher: 08:23:11.231
http://192.168.12.117/white/1?turn=on&brightness=70 |
---|
"ison": true, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 70, "transition": 0, "power": 13.21, "overpower": false |
nachher: 08:23:11.271
Dauer: 40 msec
phName: 'shelly-29:'Schalter Herdzeile''
urls : 2
vorher : 08:23:11.190
nachher: 08:23:11.278
Dauer : 88 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/30//scene_herdzeile_75_20240330_082311.txt'
Mar 30 08:20:01 srv4hai CRON[20323]: (root) CMD (/etc/linetest/linetest.sh) Mar 30 08:20:01 srv4hai CRON[20324]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Mar 30 08:20:01 srv4hai meter.sh: SHELLY meter.sh started Mar 30 08:20:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:12 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:17 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:23 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:25 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:30 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:32 srv4hai ping_SP[31202]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1711783232 - 'ping_SP_0' Mar 30 08:20:32 srv4hai ping_SP[31202]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Mar 30 08:20:33 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:35 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:38 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:40 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:43 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:46 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20859, secured, session= Mar 30 08:20:48 srv4hai dovecot: imap(miglincit)<20859> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Mar 30 08:20:48 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:51 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:53 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:56 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:58 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 30 08:20:58 srv4hai meter.sh: SHELLY meter.sh ended Mar 30 08:20:58 srv4hai postfix/pickup[12771]: EAC646027D: uid=33 from= Mar 30 08:20:58 srv4hai postfix/cleanup[20216]: EAC646027D: message-id=<20240330072058.EAC646027D@mail.viehai.at> Mar 30 08:20:58 srv4hai postfix/qmgr[15291]: EAC646027D: from= , size=654, nrcpt=1 (queue active) Mar 30 08:20:58 srv4hai postfix/local[20229]: EAC646027D: to= , orig_to= , relay=local, delay=0.03, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Mar 30 08:20:58 srv4hai postfix/qmgr[15291]: EAC646027D: removed Mar 30 08:20:59 srv4hai dhcpd[5037]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Mar 30 08:20:59 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Mar 30 08:20:59 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Mar 30 08:20:59 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.139 Mar 30 08:20:59 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-39 Mar 30 08:20:59 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Mar 30 08:20:59 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Mar 30 08:20:59 srv4hai named[15509]: client @0x7f931c6d4af0 192.168.12.252#58015/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Mar 30 08:20:59 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#57795/key rndc-key: signer "rndc-key" approved Mar 30 08:20:59 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#57795/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Mar 30 08:20:59 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#57795/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Mar 30 08:20:59 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#57795/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Mar 30 08:20:59 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#57795/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Mar 30 08:20:59 srv4hai dhcpd[5037]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Mar 30 08:20:59 srv4hai named[15509]: client @0x7f931809a870 192.168.12.252#59859/key rndc-key: signer "rndc-key" approved Mar 30 08:20:59 srv4hai named[15509]: client @0x7f931809a870 192.168.12.252#59859/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Mar 30 08:20:59 srv4hai named[15509]: client @0x7f931809a870 192.168.12.252#59859/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. Mar 30 08:20:59 srv4hai dhcpd[5037]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Mar 30 08:20:59 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Mar 30 08:21:00 srv4hai grab_shelly.sh: SHELLY 'shelly-39': OFFLINE, resp. not answering within connect-timeout 1.500000s Mar 30 08:21:01 srv4hai CRON[20912]: (root) CMD (/etc/linetest/linetest.sh) Mar 30 08:21:07 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=15.800000&hum=48.300000&id=C049EF8AC9D8&batt=100&volt=6.740000 Mar 30 08:21:07 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/03/shelly-39_20240330.csv' Mar 30 08:21:07 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Mar 30 08:21:07 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Mar 30 08:21:07 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}' Mar 30 08:21:07 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 '.'' Mar 30 08:21:07 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Mar 30 08:21:07 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Mar 30 08:21:07 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 15.8° - 48.3% Mar 30 08:21:07 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 15.8°/15.2° - 48.3%/52.1% - SAVED Mar 30 08:21:07 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Mar 30 08:21:07 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-03-30T07:21:07.679Z",#012 "content": {#012 "temp": 15.8,#012 "hum": 48.3,#012 "batt": 100#012 },#012 "transaction": "4104f13b-9ea8-43f6-87e1-ce44db74497e"#012 }#012}'° Mar 30 08:21:35 srv4hai ping_SP[31202]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1711783295 - 'ping_SP_0' Mar 30 08:21:35 srv4hai ping_SP[31202]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Mar 30 08:22:01 srv4hai CRON[21049]: (root) CMD (/etc/linetest/linetest.sh) Mar 30 08:22:39 srv4hai ping_SP[31202]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1711783359 - 'ping_SP_0' Mar 30 08:22:39 srv4hai ping_SP[31202]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Mar 30 08:23:01 srv4hai CRON[21107]: (root) CMD (/etc/linetest/linetest.sh) Mar 30 08:23:08 srv4hai activate_scenario[21116]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started Mar 30 08:23:08 srv4hai activate_scenario[21116]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-29:'Schalter Herdzeile' Mar 30 08:23:08 srv4hai activate_scenario[21116]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' TO BE EXECUTED, shelly-29:'Schalter Herdzeile' Mar 30 08:23:08 srv4hai postfix/pickup[12771]: 11E976027D: uid=33 from= Mar 30 08:23:08 srv4hai postfix/cleanup[21169]: 11E976027D: message-id=<20240330072308.11E976027D@mail.viehai.at> Mar 30 08:23:08 srv4hai postfix/qmgr[15291]: 11E976027D: from= , size=10655, nrcpt=1 (queue active) Mar 30 08:23:08 srv4hai activate_scenario[21116]: SHELLY: scenario: 'herdzeile_UM(herdzeile_um)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=toggle&brightness=50' Mar 30 08:23:08 srv4hai proc_url[21187]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/30/_0.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=toggle&brightness=50' - phName:'shelly-29:'Schalter Herdzeile'' Mar 30 08:23:08 srv4hai postfix/local[21182]: 11E976027D: to= , orig_to= , relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Mar 30 08:23:08 srv4hai postfix/cleanup[21169]: 178EF602B8: message-id=<20240330072308.178EF602B8@mail.viehai.at> Mar 30 08:23:08 srv4hai postfix/bounce[21183]: 11E976027D: sender non-delivery notification: 178EF602B8 Mar 30 08:23:08 srv4hai postfix/qmgr[15291]: 178EF602B8: from=<>, size=12534, nrcpt=1 (queue active) Mar 30 08:23:08 srv4hai postfix/qmgr[15291]: 11E976027D: removed Mar 30 08:23:08 srv4hai activate_scenario[21116]: SHELLY: scenario: 'herdzeile_UM(herdzeile_um)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=toggle&brightness=50' Mar 30 08:23:08 srv4hai proc_url[21199]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/30/_1.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=toggle&brightness=50' - phName:'shelly-29:'Schalter Herdzeile'' Mar 30 08:23:08 srv4hai postfix/local[21182]: 178EF602B8: to= , relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Mar 30 08:23:08 srv4hai postfix/qmgr[15291]: 178EF602B8: removed Mar 30 08:23:08 srv4hai activate_scenario[21116]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' took 65 msec, shelly-29:'Schalter Herdzeile' Mar 30 08:23:11 srv4hai activate_scenario[21240]: SHELLY scenario: 'herdzeile_75(herdzeile_75)' started Mar 30 08:23:11 srv4hai activate_scenario[21240]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-29:'Schalter Herdzeile'
finished