activate_scenario.sh
Wed Apr 3 15:52:26 CEST 2024
scenario: LOG_gehen
source: 192.168.12.103
urls : 0
vorher : 15:52:26.725
nachher: 15:52:26.730
Dauer : 4 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/03//scene_LOG_gehen_20240403_155226.txt'
Apr 3 15:49:01 srv4hai CRON[27897]: (root) CMD (/etc/linetest/linetest.sh) Apr 3 15:49:50 srv4hai named[15509]: resolver priming query complete Apr 3 15:49:51 srv4hai named[15509]: resolver priming query complete Apr 3 15:49:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27909, secured, session= Apr 3 15:49:54 srv4hai dovecot: imap(miglincit)<27909> : Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Apr 3 15:50:01 srv4hai CRON[27912]: (root) CMD (/etc/linetest/linetest.sh) Apr 3 15:50:01 srv4hai CRON[27913]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Apr 3 15:50:01 srv4hai common[27915]: SHELLY common.sh inkludiert Apr 3 15:50:01 srv4hai meter.sh: SHELLY meter.sh started Apr 3 15:50:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring Apr 3 15:50:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring Apr 3 15:50:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring Apr 3 15:50:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring Apr 3 15:50:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring Apr 3 15:50:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring Apr 3 15:50:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring Apr 3 15:50:05 srv4hai activate_scenario[28649]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started Apr 3 15:50:05 srv4hai activate_scenario[28649]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile' Apr 3 15:50:05 srv4hai activate_scenario[28649]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' TO BE EXECUTED, shelly-28:'Schalter Nasszeile' Apr 3 15:50:05 srv4hai postfix/pickup[26445]: D18D160245: uid=33 from= Apr 3 15:50:05 srv4hai postfix/cleanup[27826]: D18D160245: message-id=<20240403135005.D18D160245@mail.viehai.at> Apr 3 15:50:05 srv4hai postfix/qmgr[15291]: D18D160245: from= , size=5801, nrcpt=1 (queue active) Apr 3 15:50:05 srv4hai postfix/local[27839]: D18D160245: to= , orig_to= , relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Apr 3 15:50:05 srv4hai postfix/cleanup[27826]: D5DBA60248: message-id=<20240403135005.D5DBA60248@mail.viehai.at> Apr 3 15:50:05 srv4hai postfix/bounce[27840]: D18D160245: sender non-delivery notification: D5DBA60248 Apr 3 15:50:05 srv4hai postfix/qmgr[15291]: D5DBA60248: from=<>, size=7683, nrcpt=1 (queue active) Apr 3 15:50:05 srv4hai postfix/qmgr[15291]: D18D160245: removed Apr 3 15:50:05 srv4hai postfix/local[27839]: D5DBA60248: to= , relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 3 15:50:05 srv4hai postfix/qmgr[15291]: D5DBA60248: removed Apr 3 15:50:05 srv4hai activate_scenario[28649]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=toggle&brightness=25' Apr 3 15:50:05 srv4hai proc_url[28749]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/03/_0.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/0?turn=toggle&brightness=25' - phName:'shelly-28:'Schalter Nasszeile'' Apr 3 15:50:05 srv4hai activate_scenario[28649]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=toggle&brightness=25' Apr 3 15:50:05 srv4hai proc_url[28761]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/03/_1.log' - shellyUsage:'Küche Licht Naßzeile' - scUrl:'http://192.168.12.116/white/1?turn=toggle&brightness=25' - phName:'shelly-28:'Schalter Nasszeile'' Apr 3 15:50:05 srv4hai activate_scenario[28649]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' took 72 msec, shelly-28:'Schalter Nasszeile' Apr 3 15:50:08 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 3 15:50:08 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring Apr 3 15:50:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 3 15:50:11 srv4hai dhcpd[5037]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Apr 3 15:50:11 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Apr 3 15:50:11 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Apr 3 15:50:11 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.139 Apr 3 15:50:11 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-39 Apr 3 15:50:11 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Apr 3 15:50:11 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Apr 3 15:50:11 srv4hai named[15509]: client @0x7f930c03c330 192.168.12.252#35115/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 3 15:50:11 srv4hai named[15509]: client @0x7f9314074a80 192.168.12.252#42003/key rndc-key: signer "rndc-key" approved Apr 3 15:50:11 srv4hai named[15509]: client @0x7f9314074a80 192.168.12.252#42003/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Apr 3 15:50:11 srv4hai named[15509]: client @0x7f9314074a80 192.168.12.252#42003/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Apr 3 15:50:11 srv4hai named[15509]: client @0x7f9314074a80 192.168.12.252#42003/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Apr 3 15:50:11 srv4hai named[15509]: client @0x7f9314074a80 192.168.12.252#42003/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Apr 3 15:50:11 srv4hai dhcpd[5037]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Apr 3 15:50:11 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#58141/key rndc-key: signer "rndc-key" approved Apr 3 15:50:11 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#58141/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Apr 3 15:50:11 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#58141/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. Apr 3 15:50:11 srv4hai dhcpd[5037]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Apr 3 15:50:11 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Apr 3 15:50:11 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Apr 3 15:50:11 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Apr 3 15:50:11 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}' Apr 3 15:50:12 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 '.'' Apr 3 15:50:12 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Apr 3 15:50:12 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Apr 3 15:50:13 srv4hai named[15509]: resolver priming query complete Apr 3 15:50:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 3 15:50:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring Apr 3 15:50:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring Apr 3 15:50:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring Apr 3 15:50:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring Apr 3 15:50:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring Apr 3 15:50:16 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 3 15:50:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring Apr 3 15:50:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring Apr 3 15:50:16 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring Apr 3 15:50:16 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring Apr 3 15:50:16 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring Apr 3 15:50:16 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring Apr 3 15:50:16 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring Apr 3 15:50:16 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring Apr 3 15:50:16 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring Apr 3 15:50:16 srv4hai common[27915]: SHELLY common.sh inkludiert Apr 3 15:50:16 srv4hai named[15509]: resolver priming query complete Apr 3 15:50:17 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1712152217-1712152207 Apr 3 15:50:17 srv4hai check_presence[27915]: SHELLY () found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Apr 3 15:50:17 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1712152217-1712152207 Apr 3 15:50:17 srv4hai check_presence[27915]: SHELLY () found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Apr 3 15:50:17 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1712152217-1712152207 Apr 3 15:50:17 srv4hai check_presence[27915]: SHELLY () found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Apr 3 15:50:17 srv4hai check_presence[27915]: SHELLY ()-() what: '' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false' Apr 3 15:50:17 srv4hai postfix/pickup[26445]: 1E91760245: uid=33 from= Apr 3 15:50:17 srv4hai postfix/cleanup[27826]: 1E91760245: message-id=<20240403135017.1E91760245@mail.viehai.at> Apr 3 15:50:17 srv4hai check_presence[27915]: SHELLY ()-() - what:'': doing nothing! Apr 3 15:50:17 srv4hai postfix/qmgr[15291]: 1E91760245: from= , size=14667, nrcpt=1 (queue active) Apr 3 15:50:17 srv4hai common[27915]: SHELLY common.sh inkludiert Apr 3 15:50:17 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um' Apr 3 15:50:17 srv4hai check_shelly.sh: SHELLY found '4' active shelly outputs Apr 3 15:50:17 srv4hai meter.sh: SHELLY meter.sh ended Apr 3 15:50:17 srv4hai named[15509]: resolver priming query complete Apr 3 15:50:17 srv4hai postfix/relay/smtp[29188]: 1E91760245: to= , relay=mx03.nic.name[209.131.161.54]:25, delay=0.87, delays=0.01/0.01/0.5/0.36, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as AA0AA8014D) Apr 3 15:50:17 srv4hai postfix/qmgr[15291]: 1E91760245: removed Apr 3 15:50:19 srv4hai common[29210]: SHELLY common.sh inkludiert Apr 3 15:50:19 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=17.900000&hum=40.600000&id=C049EF8AC9D8&batt=100&volt=6.760000 Apr 3 15:50:19 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-39_20240403.csv' Apr 3 15:50:19 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Apr 3 15:50:19 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Apr 3 15:50:19 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}' Apr 3 15:50:19 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 '.'' Apr 3 15:50:19 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Apr 3 15:50:19 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Apr 3 15:50:19 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 17.9° - 40.6% Apr 3 15:50:19 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 17.9°/18.2° - 40.6%/35.3% - SAVED Apr 3 15:50:19 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Apr 3 15:50:19 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-04-03T13:50:19.882Z",#012 "content": {#012 "temp": 17.9,#012 "hum": 40.6,#012 "batt": 100,#012 "csvF": "shelly-39_20240403.csv"#012 },#012 "transaction": "7d180008-afd0-4363-befc-ed8e8dc4415e"#012 }#012}'° Apr 3 15:50:51 srv4hai named[15509]: resolver priming query complete Apr 3 15:50:56 srv4hai named[15509]: resolver priming query complete Apr 3 15:51:01 srv4hai CRON[29318]: (root) CMD (/etc/linetest/linetest.sh) Apr 3 15:51:51 srv4hai named[15509]: resolver priming query complete Apr 3 15:51:56 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Apr 3 15:51:57 srv4hai fetchmail[1651]: 41238 messages (41236 seen) for tmiglinci at mail.akis.at (-863578502 octets). Apr 3 15:51:57 srv4hai postfix/smtpd[29331]: connect from localhost[127.0.0.1] Apr 3 15:51:57 srv4hai postfix/smtpd[29331]: 258DB60244: client=localhost[127.0.0.1] Apr 3 15:51:57 srv4hai postfix/cleanup[29333]: 258DB60244: message-id= Apr 3 15:51:57 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:41237 of 41238 (10432 octets) not flushed Apr 3 15:51:57 srv4hai postfix/qmgr[15291]: 258DB60244: from= , size=10720, nrcpt=1 (queue active) Apr 3 15:51:57 srv4hai postfix/local[29334]: 258DB60244: to= , relay=local, delay=0.06, delays=0.05/0.01/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 3 15:51:57 srv4hai postfix/qmgr[15291]: 258DB60244: removed Apr 3 15:51:57 srv4hai postfix/smtpd[29331]: 36FDA60244: client=localhost[127.0.0.1] Apr 3 15:51:57 srv4hai postfix/cleanup[29333]: 36FDA60244: message-id=<20240403135017.1E91760245@mail.viehai.at> Apr 3 15:51:57 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:41238 of 41238 (15619 octets) not flushed Apr 3 15:51:57 srv4hai postfix/qmgr[15291]: 36FDA60244: from= , size=15939, nrcpt=1 (queue active) Apr 3 15:51:57 srv4hai postfix/local[29334]: 36FDA60244: to= , relay=local, delay=0.06, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 3 15:51:57 srv4hai postfix/qmgr[15291]: 36FDA60244: removed Apr 3 15:51:57 srv4hai postfix/smtpd[29331]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8 Apr 3 15:51:57 srv4hai fetchmail[1651]: 10086 messages (10086 seen) for srozum at mail.akis.at (1218017489 octets). Apr 3 15:51:58 srv4hai fetchmail[1651]: 22619 messages (22619 seen) for mrozum at mail.akis.at (-381031989 octets). Apr 3 15:51:58 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets). Apr 3 15:52:01 srv4hai CRON[29338]: (root) CMD (/etc/linetest/linetest.sh) Apr 3 15:52:02 srv4hai named[15509]: resolver priming query complete Apr 3 15:52:26 srv4hai activate_scenario[29345]: SHELLY scenario: 'LOG_gehen(log_gehen)' started Apr 3 15:52:26 srv4hai activate_scenario[29345]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
finished