activate_scenario.sh
Thu Apr 3 10:35:40 CEST 2025
scenario: vorraumOn
phoneName: 0
vorher: 10:35:40.847
http://192.168.12.103/relay/0?turn=on |
---|
"ison": true, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "overpower": false, "source": "http" |
nachher: 10:35:40.929
Dauer: 82 msec
phName: 'phoneName:'0''
urls : 1
vorher : 10:35:40.745
nachher: 10:35:40.953
Dauer : 202 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/04/03//scene_vorraumOn_20250403_103540.txt'
Apr 3 10:32:00 srv4hai mqtt_process[4229]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!! Apr 3 10:32:01 srv4hai CRON[4255]: (root) CMD (/etc/linetest/linetest.sh) Apr 3 10:32:05 srv4hai mqtt_process[4261]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 3 10:32:05 srv4hai mqtt_process[4297]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 3 10:32:59 srv4hai mqtt_process[4342]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 3 10:32:59 srv4hai mqtt_process[4367]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 3 10:33:00 srv4hai mqtt_process[4393]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!! Apr 3 10:33:01 srv4hai CRON[4430]: (root) CMD (/etc/linetest/linetest.sh) Apr 3 10:33:05 srv4hai mqtt_process[4439]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 3 10:33:05 srv4hai mqtt_process[4475]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 3 10:33:21 srv4hai dhcpd[30231]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Apr 3 10:33:21 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Apr 3 10:33:21 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Apr 3 10:33:21 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.139 Apr 3 10:33:21 srv4hai dhcpd[30231]: execute_statement argv[2] = shelly-39 Apr 3 10:33:21 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Apr 3 10:33:21 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Apr 3 10:33:21 srv4hai named[30406]: client @0x7f9350157870 192.168.12.252#32887/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 3 10:33:21 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#57397/key rndc-key: signer "rndc-key" approved Apr 3 10:33:21 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#57397/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Apr 3 10:33:21 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#57397/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Apr 3 10:33:21 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#57397/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Apr 3 10:33:21 srv4hai named[30406]: client @0x7f931c094600 192.168.12.252#57397/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Apr 3 10:33:21 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Apr 3 10:33:21 srv4hai dhcpd[30231]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Apr 3 10:33:21 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#46071/key rndc-key: signer "rndc-key" approved Apr 3 10:33:21 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#46071/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 10:33:21 srv4hai named[30406]: client @0x7f934c0aebf0 192.168.12.252#46071/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 10:33:21 srv4hai dhcpd[30231]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Apr 3 10:33:21 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Apr 3 10:33:21 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Apr 3 10:33:21 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=12.900000&hum=52.700000&id=C049EF8AC9D8&batt=81&volt=5.630000 Apr 3 10:33:21 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly/wetter/2025/04/shelly-39_20250403.csv' Apr 3 10:33:21 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 10:33:21 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Apr 3 10:33:21 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -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 10:33:21 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Apr 3 10:33:21 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Apr 3 10:33:21 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 10:33:21 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-cmd: 'curl --connect-timeout 3 --silent -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 10:33:21 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Apr 3 10:33:21 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 12.9° - 52.7% Apr 3 10:33:21 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 12.9°/11.7° - 52.7%/54.1% - SAVED Apr 3 10:33:21 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='82'° Apr 3 10:33:21 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: dweetIO=''° Apr 3 10:33:38 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4677, secured, session= Apr 3 10:33:38 srv4hai dovecot: imap(miglincit)<4677> : 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 10:33:59 srv4hai mqtt_process[4685]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 3 10:33:59 srv4hai mqtt_process[4710]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 3 10:34:00 srv4hai mqtt_process[4736]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!! Apr 3 10:34:01 srv4hai CRON[4762]: (root) CMD (/etc/linetest/linetest.sh) Apr 3 10:34:05 srv4hai mqtt_process[4767]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 3 10:34:05 srv4hai mqtt_process[4792]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 3 10:34:26 srv4hai kernel: [89647364.462767] CPU3: Package temperature/speed normal Apr 3 10:34:26 srv4hai kernel: [89647364.462768] CPU7: Package temperature/speed normal Apr 3 10:34:26 srv4hai kernel: [89647364.462769] CPU0: Package temperature/speed normal Apr 3 10:34:26 srv4hai kernel: [89647364.462770] CPU6: Package temperature/speed normal Apr 3 10:34:26 srv4hai kernel: [89647364.462771] CPU4: Package temperature/speed normal Apr 3 10:34:26 srv4hai kernel: [89647364.462772] CPU2: Package temperature/speed normal Apr 3 10:34:26 srv4hai kernel: [89647364.462773] CPU1: Package temperature/speed normal Apr 3 10:34:26 srv4hai kernel: [89647364.462774] CPU5: Package temperature/speed normal Apr 3 10:34:42 srv4hai postfix/anvil[4169]: statistics: max connection rate 1/60s for (smtp:195.211.191.226) at Apr 3 10:31:21 Apr 3 10:34:42 srv4hai postfix/anvil[4169]: statistics: max connection count 1 for (smtp:195.211.191.226) at Apr 3 10:31:21 Apr 3 10:34:42 srv4hai postfix/anvil[4169]: statistics: max cache size 1 at Apr 3 10:31:21 Apr 3 10:35:00 srv4hai mqtt_process[4832]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 3 10:35:00 srv4hai mqtt_process[4857]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 3 10:35:00 srv4hai mqtt_process[4882]: SHELLY - shellyType: 'shelly-PM-mini' not handled for 'shelly-49'/'49-TBD'!! Apr 3 10:35:01 srv4hai CRON[4908]: (root) CMD (/etc/linetest/linetest.sh) Apr 3 10:35:05 srv4hai mqtt_process[4916]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 3 10:35:05 srv4hai mqtt_process[4941]: SHELLY - shellyType: 'shelly-2PM' not handled for 'shelly-45'/'45-TBD'!! Apr 3 10:35:26 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Apr 3 10:35:27 srv4hai fetchmail[1651]: 67028 messages (67027 seen) for tmiglinci at mail.akis.at (1224571331 octets). Apr 3 10:35:27 srv4hai postfix/smtpd[4971]: connect from localhost[127.0.0.1] Apr 3 10:35:27 srv4hai postfix/smtpd[4971]: 8DAFD6345A: client=localhost[127.0.0.1] Apr 3 10:35:27 srv4hai postfix/cleanup[4974]: 8DAFD6345A: message-id=<01070195fac6fa84-f4e0d301-3be5-4a39-8665-0dec9f2f756a-000000@eu-central-1.amazonses.com> Apr 3 10:35:27 srv4hai postfix/qmgr[8566]: 8DAFD6345A: from= , size=120416, nrcpt=1 (queue active) Apr 3 10:35:27 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:67028 of 67028 (120187 octets) not flushed Apr 3 10:35:27 srv4hai postfix/smtpd[4971]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Apr 3 10:35:27 srv4hai postfix/local[4975]: 8DAFD6345A: to= , relay=local, delay=0.1, delays=0.08/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 3 10:35:27 srv4hai postfix/qmgr[8566]: 8DAFD6345A: removed Apr 3 10:35:28 srv4hai fetchmail[1651]: 11780 messages (11780 seen) for srozum at mail.akis.at (1390906704 octets). Apr 3 10:35:28 srv4hai fetchmail[1651]: 30038 messages (30038 seen) for mrozum at mail.akis.at (886746882 octets). Apr 3 10:35:29 srv4hai fetchmail[1651]: 1166 messages (1166 seen) for admin@bastelstube.wien at pop3.world4you.com (52256796 octets). Apr 3 10:35:29 srv4hai dhcpd[30231]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Apr 3 10:35:29 srv4hai dhcpd[30231]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Apr 3 10:35:29 srv4hai dhcpd[30231]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Apr 3 10:35:29 srv4hai dhcpd[30231]: execute_statement argv[1] = 192.168.12.61 Apr 3 10:35:29 srv4hai dhcpd[30231]: execute_statement argv[2] = fpThomas Apr 3 10:35:29 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Apr 3 10:35:29 srv4hai dhcpd[30231]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Apr 3 10:35:29 srv4hai dhcpd[30231]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Apr 3 10:35:29 srv4hai named[30406]: client @0x7f93100d6a50 192.168.12.252#38543/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 3 10:35:29 srv4hai ping_SP[4992]: SHELLY ping_SP.sh started from smartphone, user:'root' Apr 3 10:35:29 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#60749/key rndc-key: signer "rndc-key" approved Apr 3 10:35:29 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#60749/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Apr 3 10:35:29 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#60749/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Apr 3 10:35:29 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#60749/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Apr 3 10:35:29 srv4hai named[30406]: client @0x7f9348090720 192.168.12.252#60749/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Apr 3 10:35:29 srv4hai dhcpd[30231]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Apr 3 10:35:29 srv4hai named[30406]: client @0x7f932c088690 192.168.12.252#53479/key rndc-key: signer "rndc-key" approved Apr 3 10:35:29 srv4hai named[30406]: client @0x7f932c088690 192.168.12.252#53479/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Apr 3 10:35:29 srv4hai named[30406]: client @0x7f932c088690 192.168.12.252#53479/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at. Apr 3 10:35:29 srv4hai dhcpd[30231]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Apr 3 10:35:39 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=- Apr 3 10:35:39 srv4hai check_presence[5036]: SHELLY (0) found /srv/www/viehai/shelly/meter/ping_SP_0.LIVE and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_0.No Apr 3 10:35:39 srv4hai check_presence[5036]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly/meter/ping_SP_0.LIVE' for what: 'coming' Apr 3 10:35:39 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=- Apr 3 10:35:39 srv4hai check_presence[5036]: SHELLY (1) found /srv/www/viehai/shelly/meter/ping_SP_1.DEAD and NO_BTdweet//srv/www/viehai/shelly/meter/BTscan_BTid_1.No Apr 3 10:35:39 srv4hai check_presence[5036]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false' Apr 3 10:35:40 srv4hai check_presence[5036]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn) Apr 3 10:35:40 srv4hai check_presence[5036]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Apr 3 10:35:40 srv4hai activate_scenario[5122]: SHELLY scenario: 'vorraumOn(vorraumon)' started Apr 3 10:35:40 srv4hai activate_scenario[5122]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
finished