activate_scenario.sh
Wed Sep 11 17:08:49 CEST 2024
scenario: nasszeile_um
source: 192.168.12.128
vorher: 17:08:49.538
http://192.168.12.116/white/0?turn=toggle&brightness=25 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 25, "transition": 0, "power": 12.72, "overpower": false |
nachher: 17:08:49.570
Dauer: 31 msec
phName: 'shelly-28:'Schalter Nasszeile''
vorher: 17:08:49.553
http://192.168.12.116/white/1?turn=toggle&brightness=25 |
---|
"ison": false, "source": "http", "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "mode": "white", "brightness": 25, "transition": 0, "power": 12.72, "overpower": false |
nachher: 17:08:49.604
Dauer: 50 msec
phName: 'shelly-28:'Schalter Nasszeile''
urls : 2
vorher : 17:08:49.510
nachher: 17:08:49.610
Dauer : 100 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/11//scene_nasszeile_um_20240911_170849.txt'
Sep 11 17:05:01 srv4hai CRON[29901]: (root) CMD (/etc/linetest/linetest.sh) Sep 11 17:05:11 srv4hai dhcpd[30731]: DHCPDISCOVER from f0:39:65:25:8d:c7 via enp2s0 Sep 11 17:05:11 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Sep 11 17:05:11 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Sep 11 17:05:11 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.62 Sep 11 17:05:11 srv4hai dhcpd[30731]: execute_statement argv[2] = GreteS20 Sep 11 17:05:11 srv4hai common[29908]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Sep 11 17:05:11 srv4hai smartphone.sh: SHELLY - ping_SP.sh already started for phoneIP: '192.168.12.62' / 'GreteS20' / '1' Sep 11 17:05:11 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.62 (192.168.12.252) from f0:39:65:25:8d:c7 via enp2s0 Sep 11 17:05:11 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.62 to f0:39:65:25:8d:c7 via enp2s0 Sep 11 17:05:11 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#52501/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: GreteS20.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 11 17:05:11 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#44055/key rndc-key: signer "rndc-key" approved Sep 11 17:05:11 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#44055/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' TXT Sep 11 17:05:11 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#44055/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' TXT "318a9f974c0d8a2868f64397b15c3ed3a0" Sep 11 17:05:11 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#44055/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'GreteS20.viehai.at' A Sep 11 17:05:11 srv4hai named[30406]: client @0x7f93300d0220 192.168.12.252#44055/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'GreteS20.viehai.at' A 192.168.12.62 Sep 11 17:05:11 srv4hai dhcpd[30731]: Added new forward map from GreteS20.viehai.at to 192.168.12.62 Sep 11 17:05:11 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#45615/key rndc-key: signer "rndc-key" approved Sep 11 17:05:11 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#45615/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '62.12.168.192.in-addr.arpa' PTR Sep 11 17:05:11 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#45615/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '62.12.168.192.in-addr.arpa' PTR GreteS20.viehai.at. Sep 11 17:05:11 srv4hai dhcpd[30731]: Added reverse map from 62.12.168.192.in-addr.arpa. to GreteS20.viehai.at Sep 11 17:05:41 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29936, secured, session= Sep 11 17:05:41 srv4hai dovecot: imap(rozumm)<29936> : Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Sep 11 17:06:01 srv4hai CRON[29941]: (root) CMD (/etc/linetest/linetest.sh) Sep 11 17:06:41 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=29961, secured, session= Sep 11 17:06:41 srv4hai dovecot: imap(rozumm)<29961> : Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Sep 11 17:06:44 srv4hai activate_scenario[29965]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started Sep 11 17:06:44 srv4hai activate_scenario[29965]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile' Sep 11 17:06:44 srv4hai activate_scenario[29965]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' TO BE EXECUTED, shelly-28:'Schalter Nasszeile' Sep 11 17:06:44 srv4hai postfix/pickup[18023]: A0EC96345B: uid=33 from= Sep 11 17:06:44 srv4hai postfix/cleanup[30018]: A0EC96345B: message-id=<20240911150644.A0EC96345B@mail.viehai.at> Sep 11 17:06:44 srv4hai postfix/qmgr[8566]: A0EC96345B: from= , size=26840, nrcpt=1 (queue active) Sep 11 17:06:44 srv4hai activate_scenario[29965]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '0?turn=toggle&brightness=25' Sep 11 17:06:44 srv4hai proc_url[30036]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/11/_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'' Sep 11 17:06:44 srv4hai postfix/local[30031]: A0EC96345B: to= , orig_to= , relay=local, delay=0.12, delays=0.09/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null") Sep 11 17:06:44 srv4hai postfix/cleanup[30018]: AEDC56345C: message-id=<20240911150644.AEDC56345C@mail.viehai.at> Sep 11 17:06:44 srv4hai postfix/bounce[30032]: A0EC96345B: sender non-delivery notification: AEDC56345C Sep 11 17:06:44 srv4hai postfix/qmgr[8566]: AEDC56345C: from=<>, size=28722, nrcpt=1 (queue active) Sep 11 17:06:44 srv4hai postfix/qmgr[8566]: A0EC96345B: removed Sep 11 17:06:44 srv4hai activate_scenario[29965]: SHELLY: scenario: 'nasszeile_um(nasszeile_um)'-'shelly-16'-'Küche Licht Naßzeile' --> '1?turn=toggle&brightness=25' Sep 11 17:06:44 srv4hai proc_url[30048]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/11/_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'' Sep 11 17:06:44 srv4hai postfix/local[30031]: AEDC56345C: to= , relay=local, delay=0.02, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Sep 11 17:06:44 srv4hai postfix/qmgr[8566]: AEDC56345C: removed Sep 11 17:06:44 srv4hai activate_scenario[29965]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' took 202 msec, shelly-28:'Schalter Nasszeile' Sep 11 17:07:01 srv4hai CRON[30091]: (root) CMD (/etc/linetest/linetest.sh) Sep 11 17:07:41 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=30104, secured, session= Sep 11 17:07:41 srv4hai dovecot: imap(rozumm)<30104> : Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Sep 11 17:07:56 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=30107, secured, session= Sep 11 17:07:56 srv4hai dovecot: imap(miglincit)<30107> : Logged out in=597 out=1357 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Sep 11 17:08:01 srv4hai CRON[30113]: (root) CMD (/etc/linetest/linetest.sh) Sep 11 17:08:28 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Sep 11 17:08:28 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Sep 11 17:08:28 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Sep 11 17:08:28 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139 Sep 11 17:08:28 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39 Sep 11 17:08:28 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Sep 11 17:08:28 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Sep 11 17:08:28 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#36337/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 11 17:08:28 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#49583/key rndc-key: signer "rndc-key" approved Sep 11 17:08:28 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#49583/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Sep 11 17:08:28 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#49583/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Sep 11 17:08:28 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#49583/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Sep 11 17:08:28 srv4hai named[30406]: client @0x7f93380d2cb0 192.168.12.252#49583/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Sep 11 17:08:28 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Sep 11 17:08:28 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#46703/key rndc-key: signer "rndc-key" approved Sep 11 17:08:28 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#46703/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Sep 11 17:08:28 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#46703/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. Sep 11 17:08:28 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Sep 11 17:08:28 srv4hai common[30125]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Sep 11 17:08:28 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Sep 11 17:08:28 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Sep 11 17:08:28 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Sep 11 17:08:28 srv4hai common[30160]: SHELLY common.sh inkludiert von ./ht_shelly.sh Sep 11 17:08:28 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}' Sep 11 17:08:28 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=26.300000&hum=33.700000&id=C049EF8AC9D8&batt=100&volt=6.300000 Sep 11 17:08:28 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/09/shelly-39_20240911.csv' Sep 11 17:08:28 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Sep 11 17:08:28 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 '.'' Sep 11 17:08:28 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Sep 11 17:08:28 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Sep 11 17:08:28 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}' Sep 11 17:08:28 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Sep 11 17:08:28 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 '.'' Sep 11 17:08:28 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Sep 11 17:08:28 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Sep 11 17:08:28 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 26.3° - 33.7% Sep 11 17:08:28 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 26.3°/26.8° - 33.7%/34.4% - SAVED Sep 11 17:08:28 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Sep 11 17:08:28 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-09-11T15:08:28.881Z",#012 "content": {#012 "temp": 26.3,#012 "hum": 33.7,#012 "batt": 100,#012 "csvF": "shelly-39_20240911.csv"#012 },#012 "transaction": "4c83dd78-1d99-4b16-8b4c-da60d47d5844"#012 }#012}'° Sep 11 17:08:41 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=30303, secured, session= Sep 11 17:08:41 srv4hai dovecot: imap(rozumm)<30303> : Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Sep 11 17:08:49 srv4hai activate_scenario[30309]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started Sep 11 17:08:49 srv4hai activate_scenario[30309]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'
finished