activate_scenario.sh
Tue Mar 12 06:52:45 CET 2024
scenario: buero_UM
source: 192.168.12.140
vorher: 06:52:45.952
http://192.168.12.108/relay/0?turn=toggle |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 06:52:46.152
Dauer: 200 msec
phName: 'shelly-40:'Thomas Büro Licht''
vorher: 06:52:45.969
http://192.168.12.140/relay/0?turn=toggle |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 06:52:46.072
Dauer: 103 msec
phName: 'shelly-40:'Thomas Büro Licht''
urls : 2
vorher : 06:52:45.927
nachher: 06:52:46.160
Dauer : 233 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/12//scene_buero_UM_20240312_065245.txt'
Mar 12 06:49:01 srv4hai CRON[15193]: (root) CMD (/etc/linetest/linetest.sh) Mar 12 06:49:06 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Mar 12 06:49:06 srv4hai fetchmail[1651]: 39722 messages (39722 seen) for tmiglinci at mail.akis.at (-1015863775 octets). Mar 12 06:49:07 srv4hai fetchmail[1651]: 9991 messages (9991 seen) for srozum at mail.akis.at (1210695342 octets). Mar 12 06:49:07 srv4hai fetchmail[1651]: 22188 messages (22188 seen) for mrozum at mail.akis.at (-461267775 octets). Mar 12 06:49:08 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets). Mar 12 06:50:01 srv4hai CRON[15236]: (root) CMD (/etc/linetest/linetest.sh) Mar 12 06:50:01 srv4hai CRON[15237]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Mar 12 06:50:01 srv4hai meter.sh: SHELLY meter.sh started Mar 12 06:50:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:12 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:17 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:23 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:24 srv4hai postfix/smtpd[15741]: connect from unknown[193.222.96.70] Mar 12 06:50:24 srv4hai postfix/smtpd[15741]: warning: unknown[193.222.96.70]: SASL LOGIN authentication failed: Invalid authentication mechanism Mar 12 06:50:24 srv4hai postfix/smtpd[15741]: disconnect from unknown[193.222.96.70] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4 Mar 12 06:50:25 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:30 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:33 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:36 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:38 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:41 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:44 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:46 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:49 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:51 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:54 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:56 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:59 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD': OFFLINE, resp. not answering within connect-timeout 2.500000s Mar 12 06:50:59 srv4hai meter.sh: SHELLY meter.sh ended Mar 12 06:50:59 srv4hai postfix/pickup[15165]: 5019E602B8: uid=33 from=Mar 12 06:50:59 srv4hai postfix/cleanup[15883]: 5019E602B8: message-id=<20240312055059.5019E602B8@mail.viehai.at> Mar 12 06:50:59 srv4hai postfix/qmgr[15291]: 5019E602B8: from= , size=654, nrcpt=1 (queue active) Mar 12 06:50:59 srv4hai postfix/local[15901]: 5019E602B8: to= , orig_to= , relay=local, delay=0.03, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Mar 12 06:50:59 srv4hai postfix/qmgr[15291]: 5019E602B8: removed Mar 12 06:51:01 srv4hai CRON[15904]: (root) CMD (/etc/linetest/linetest.sh) Mar 12 06:51:19 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=15920, secured, session= Mar 12 06:51:19 srv4hai dovecot: imap(miglincit)<15920> : 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 12 06:51:55 srv4hai dhcpd[5037]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Mar 12 06:51:55 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Mar 12 06:51:55 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Mar 12 06:51:55 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.139 Mar 12 06:51:55 srv4hai dhcpd[5037]: execute_statement argv[2] = shelly-39 Mar 12 06:51:55 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Mar 12 06:51:55 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Mar 12 06:51:55 srv4hai named[15509]: client @0x7f931c157870 192.168.12.252#58767/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Mar 12 06:51:55 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#42921/key rndc-key: signer "rndc-key" approved Mar 12 06:51:55 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#42921/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Mar 12 06:51:55 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#42921/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Mar 12 06:51:55 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#42921/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Mar 12 06:51:55 srv4hai named[15509]: client @0x7f93180a69a0 192.168.12.252#42921/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Mar 12 06:51:55 srv4hai dhcpd[5037]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Mar 12 06:51:55 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#44647/key rndc-key: signer "rndc-key" approved Mar 12 06:51:55 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#44647/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Mar 12 06:51:55 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#44647/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 12 06:51:55 srv4hai dhcpd[5037]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Mar 12 06:51:55 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Mar 12 06:51:56 srv4hai grab_shelly.sh: SHELLY 'shelly-39': OFFLINE, resp. not answering within connect-timeout 1.500000s Mar 12 06:51:59 srv4hai activate_scenario[15964]: SHELLY scenario: 'buero_UM(buero_um)' started Mar 12 06:51:59 srv4hai activate_scenario[15964]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht' Mar 12 06:51:59 srv4hai activate_scenario[15964]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht' Mar 12 06:51:59 srv4hai postfix/pickup[15165]: 22F59602B8: uid=33 from= Mar 12 06:51:59 srv4hai postfix/cleanup[15883]: 22F59602B8: message-id=<20240312055159.22F59602B8@mail.viehai.at> Mar 12 06:51:59 srv4hai postfix/qmgr[15291]: 22F59602B8: from= , size=12165, nrcpt=1 (queue active) Mar 12 06:51:59 srv4hai postfix/local[15901]: 22F59602B8: to= , orig_to= , relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null") Mar 12 06:51:59 srv4hai postfix/cleanup[15883]: 26617602B9: message-id=<20240312055159.26617602B9@mail.viehai.at> Mar 12 06:51:59 srv4hai postfix/bounce[16022]: 22F59602B8: sender non-delivery notification: 26617602B9 Mar 12 06:51:59 srv4hai postfix/qmgr[15291]: 26617602B9: from=<>, size=14084, nrcpt=1 (queue active) Mar 12 06:51:59 srv4hai postfix/qmgr[15291]: 22F59602B8: removed Mar 12 06:51:59 srv4hai activate_scenario[15964]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle' Mar 12 06:51:59 srv4hai postfix/local[15901]: 26617602B9: to= , relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Mar 12 06:51:59 srv4hai postfix/qmgr[15291]: 26617602B9: removed Mar 12 06:51:59 srv4hai proc_url[16034]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/12/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Mar 12 06:51:59 srv4hai activate_scenario[15964]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle' Mar 12 06:51:59 srv4hai proc_url[16045]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/12/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht'' Mar 12 06:51:59 srv4hai activate_scenario[15964]: SHELLY scenario: 'buero_UM(buero_um)' took 96 msec, shelly-40:'Thomas Büro Licht' Mar 12 06:52:01 srv4hai CRON[16088]: (root) CMD (/etc/linetest/linetest.sh) Mar 12 06:52:01 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=8.500000&hum=79.800000&id=C049EF8AC9D8&batt=100&volt=6.720000 Mar 12 06:52:01 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2024/03/shelly-39_20240312.csv' Mar 12 06:52:01 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Mar 12 06:52:01 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Mar 12 06:52:01 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 12 06:52:01 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 12 06:52:01 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Mar 12 06:52:01 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Mar 12 06:52:01 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 8.5° - 79.8% Mar 12 06:52:02 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 8.5°/8.7° - 79.8%/82.7% - SAVED Mar 12 06:52:02 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt=''° Mar 12 06:52:02 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-12T05:52:02.453Z",#012 "content": {#012 "temp": 8.5,#012 "hum": 79.8,#012 "batt": ""#012 },#012 "transaction": "757caa03-8575-47a9-854c-1e19b6c69731"#012 }#012}'° Mar 12 06:52:45 srv4hai activate_scenario[16207]: SHELLY scenario: 'buero_UM(buero_um)' started Mar 12 06:52:45 srv4hai activate_scenario[16207]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
finished