activate_scenario.sh
Wed Apr 10 22:40:45 CEST 2024
scenario: nasszeile_um
source: 192.168.12.128
vorher: 22:40:45.977
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": 7.91, "overpower": false |
nachher: 22:40:46.017
Dauer: 39 msec
phName: 'shelly-28:'Schalter Nasszeile''
vorher: 22:40:45.993
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": 7.91, "overpower": false |
nachher: 22:40:46.034
Dauer: 40 msec
phName: 'shelly-28:'Schalter Nasszeile''
urls : 2
vorher : 22:40:45.953
nachher: 22:40:46.040
Dauer : 87 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/10//scene_nasszeile_um_20240410_224045.txt'
Apr 10 22:37:01 srv4hai CRON[29171]: (root) CMD (/etc/linetest/linetest.sh) Apr 10 22:37:19 srv4hai ping_SP[10501]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1712781439 - 'ping_SP_1' Apr 10 22:37:19 srv4hai ping_SP[10501]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 10 22:37:42 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29204, secured, session= Apr 10 22:37:42 srv4hai dovecot: imap(rozumm)<29204> : Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Apr 10 22:37:47 srv4hai dhcpd[28085]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Apr 10 22:37:47 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Apr 10 22:37:47 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Apr 10 22:37:47 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.139 Apr 10 22:37:47 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-39 Apr 10 22:37:47 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Apr 10 22:37:47 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Apr 10 22:37:47 srv4hai named[15509]: client @0x7f931405fa30 192.168.12.252#40593/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 10 22:37:47 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#46171/key rndc-key: signer "rndc-key" approved Apr 10 22:37:47 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#46171/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Apr 10 22:37:47 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#46171/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Apr 10 22:37:47 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#46171/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Apr 10 22:37:47 srv4hai named[15509]: client @0x7f930808a950 192.168.12.252#46171/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Apr 10 22:37:47 srv4hai dhcpd[28085]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Apr 10 22:37:47 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#45389/key rndc-key: signer "rndc-key" approved Apr 10 22:37:47 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#45389/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Apr 10 22:37:47 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#45389/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 10 22:37:47 srv4hai dhcpd[28085]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Apr 10 22:37:47 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Apr 10 22:37:47 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Apr 10 22:37:48 srv4hai common[29225]: SHELLY common.sh inkludiert von ./ht_shelly.sh Apr 10 22:37:48 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=13.500000&hum=55.100000&id=C049EF8AC9D8&batt=100&volt=6.750000 Apr 10 22:37:48 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-39_20240410.csv' Apr 10 22:37:48 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Apr 10 22:37:48 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Apr 10 22:37:48 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 10 22:37:48 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Apr 10 22:37:48 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 10 22:37:48 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 10 22:37:48 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Apr 10 22:37:48 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 10 22:37:48 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Apr 10 22:37:48 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Apr 10 22:37:48 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Apr 10 22:37:48 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 13.5° - 55.1% Apr 10 22:37:48 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 13.5°/14° - 55.1%/52.8% - SAVED Apr 10 22:37:48 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Apr 10 22:37:48 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-10T20:37:48.696Z",#012 "content": {#012 "temp": 13.5,#012 "hum": 55.1,#012 "batt": 100,#012 "csvF": "shelly-39_20240410.csv"#012 },#012 "transaction": "56e3b46d-b39a-435e-88cc-697d45916f4d"#012 }#012}'° Apr 10 22:37:56 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1712781476 - 'ping_SP_0' Apr 10 22:37:56 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 10 22:38:01 srv4hai CRON[29391]: (root) CMD (/etc/linetest/linetest.sh) Apr 10 22:38:18 srv4hai postfix/smtpd[29399]: connect from unknown[45.128.96.187] Apr 10 22:38:19 srv4hai postfix/smtpd[29399]: warning: unknown[45.128.96.187]: SASL LOGIN authentication failed: Invalid authentication mechanism Apr 10 22:38:19 srv4hai postfix/smtpd[29399]: disconnect from unknown[45.128.96.187] ehlo=1 auth=0/1 quit=1 commands=2/3 Apr 10 22:38:32 srv4hai ping_SP[10501]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1712781512 - 'ping_SP_1' Apr 10 22:38:32 srv4hai ping_SP[10501]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 10 22:38:42 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=29424, secured, session= Apr 10 22:38:42 srv4hai dovecot: imap(rozumm)<29424> : Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Apr 10 22:39:01 srv4hai CRON[29438]: (root) CMD (/etc/linetest/linetest.sh) Apr 10 22:39:01 srv4hai CRON[29439]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi) Apr 10 22:39:01 srv4hai systemd[1]: Starting Clean php session files... Apr 10 22:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded. Apr 10 22:39:01 srv4hai systemd[1]: Started Clean php session files. Apr 10 22:39:09 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Apr 10 22:39:09 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1712781549 - 'ping_SP_0' Apr 10 22:39:09 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 10 22:39:10 srv4hai fetchmail[1651]: 41705 messages (41705 seen) for tmiglinci at mail.akis.at (-827592429 octets). Apr 10 22:39:10 srv4hai fetchmail[1651]: 10119 messages (10119 seen) for srozum at mail.akis.at (1224177381 octets). Apr 10 22:39:10 srv4hai fetchmail[1651]: 22787 messages (22787 seen) for mrozum at mail.akis.at (-357081173 octets). Apr 10 22:39:11 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets). Apr 10 22:39:42 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=29557, secured, session= Apr 10 22:39:42 srv4hai dovecot: imap(rozumm)<29557> : Logged out in=92 out=1059 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Apr 10 22:39:46 srv4hai ping_SP[10501]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1712781586 - 'ping_SP_1' Apr 10 22:39:46 srv4hai ping_SP[10501]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Apr 10 22:40:01 srv4hai CRON[29575]: (root) CMD (/etc/linetest/linetest.sh) Apr 10 22:40:01 srv4hai CRON[29576]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh) Apr 10 22:40:01 srv4hai common[29578]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh Apr 10 22:40:01 srv4hai meter.sh: SHELLY meter.sh started Apr 10 22:40:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring Apr 10 22:40:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring Apr 10 22:40:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring Apr 10 22:40:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring Apr 10 22:40:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring Apr 10 22:40:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring Apr 10 22:40:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring Apr 10 22:40:08 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=30242, secured, session= Apr 10 22:40:08 srv4hai dovecot: imap(rozumm)<30242> : Logged out in=442 out=10002 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=516 body_count=2 body_bytes=6919 Apr 10 22:40:08 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=30244, secured, session= Apr 10 22:40:08 srv4hai dovecot: imap(rozumm)<30244> : Logged out in=440 out=13909 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=516 body_count=2 body_bytes=10827 Apr 10 22:40:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 10 22:40:12 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 10 22:40:12 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring Apr 10 22:40:12 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring Apr 10 22:40:12 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring Apr 10 22:40:12 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring Apr 10 22:40:12 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring Apr 10 22:40:15 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 10 22:40:15 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring Apr 10 22:40:15 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring Apr 10 22:40:15 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring Apr 10 22:40:15 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring Apr 10 22:40:15 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring Apr 10 22:40:15 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring Apr 10 22:40:15 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring Apr 10 22:40:15 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring Apr 10 22:40:15 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring Apr 10 22:40:15 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring Apr 10 22:40:19 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht': OFFLINE, resp. not answering within connect-timeout 2.500000s Apr 10 22:40:19 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring Apr 10 22:40:19 srv4hai common[29578]: SHELLY common.sh inkludiert von ./check_presence.sh Apr 10 22:40:20 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1712781620-1712781619 Apr 10 22:40:20 srv4hai check_presence[29578]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes Apr 10 22:40:20 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1712781620-1712781619 Apr 10 22:40:20 srv4hai check_presence[29578]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Apr 10 22:40:20 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'1'=1712781620-1712781619 Apr 10 22:40:20 srv4hai check_presence[29578]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Apr 10 22:40:20 srv4hai check_presence[29578]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Apr 10 22:40:20 srv4hai check_presence[29578]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll Apr 10 22:40:20 srv4hai common[29578]: SHELLY common.sh inkludiert von ./check_shelly.sh Apr 10 22:40:20 srv4hai check_shelly.sh: SHELLY last scenery executed: 'LOG_kommen' Apr 10 22:40:20 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs Apr 10 22:40:20 srv4hai meter.sh: SHELLY meter.sh ended Apr 10 22:40:20 srv4hai postfix/pickup[22344]: 46E566022F: uid=33 from= Apr 10 22:40:20 srv4hai postfix/cleanup[30632]: 46E566022F: message-id=<20240410204020.46E566022F@mail.viehai.at> Apr 10 22:40:20 srv4hai postfix/qmgr[15291]: 46E566022F: from= , size=716, nrcpt=1 (queue active) Apr 10 22:40:20 srv4hai postfix/local[30634]: 46E566022F: to= , orig_to= , relay=local, delay=0.06, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 10 22:40:20 srv4hai postfix/qmgr[15291]: 46E566022F: removed Apr 10 22:40:22 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1712781622 - 'ping_SP_0' Apr 10 22:40:22 srv4hai ping_SP[19663]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 10 22:40:38 srv4hai activate_scenario[30652]: SHELLY scenario: 'LOG_gehen(log_gehen)' started Apr 10 22:40:38 srv4hai activate_scenario[30652]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer' Apr 10 22:40:38 srv4hai activate_scenario[30652]: SHELLY scenario: 'LOG_gehen(log_gehen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer' Apr 10 22:40:38 srv4hai activate_scenario[30652]: SHELLY scenario: 'LOG_gehen(log_gehen)' took 5 msec, shelly-03:'Licht Vorzimmer' Apr 10 22:40:45 srv4hai activate_scenario[30719]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started Apr 10 22:40:45 srv4hai activate_scenario[30719]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'
finished