activate_scenario.sh
Fri Jul 5 11:39:29 CEST 2024
scenario: pcOFF
source: 192.168.12.10
vorher: 11:39:29.095
http://192.168.12.120/relay/0?turn=off |
---|
"ison": false, "has_timer": false, "timer_started": 0, "timer_duration": 0, "timer_remaining": 0, "source": "http" |
nachher: 11:39:29.256
Dauer: 160 msec
phName: 'shelly-0:'''
urls : 1
vorher : 11:39:29.071
nachher: 11:39:29.262
Dauer : 190 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/05//scene_pcOFF_20240705_113928.txt'
Jul 5 11:36:01 srv4hai CRON[27286]: (root) CMD (/etc/linetest/linetest.sh) Jul 5 11:36:11 srv4hai ping_SP[17533]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1720172171 - 'ping_SP_1' Jul 5 11:36:11 srv4hai ping_SP[17533]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 5 11:36:12 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27310, secured, session= Jul 5 11:36:12 srv4hai dovecot: imap(miglincit)<27310> : Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jul 5 11:36:36 srv4hai ping_SP[14326]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1720172196 - 'ping_SP_0' Jul 5 11:36:36 srv4hai ping_SP[14326]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 5 11:37:01 srv4hai CRON[27343]: (root) CMD (/etc/linetest/linetest.sh) Jul 5 11:37:25 srv4hai ping_SP[17533]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1720172245 - 'ping_SP_1' Jul 5 11:37:25 srv4hai ping_SP[17533]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 5 11:37:34 srv4hai postfix/anvil[27208]: statistics: max connection rate 1/60s for (smtp:178.215.236.221) at Jul 5 11:34:13 Jul 5 11:37:34 srv4hai postfix/anvil[27208]: statistics: max connection count 1 for (smtp:178.215.236.221) at Jul 5 11:34:13 Jul 5 11:37:34 srv4hai postfix/anvil[27208]: statistics: max cache size 1 at Jul 5 11:34:13 Jul 5 11:37:49 srv4hai ping_SP[14326]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1720172269 - 'ping_SP_0' Jul 5 11:37:49 srv4hai ping_SP[14326]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 5 11:38:01 srv4hai CRON[27395]: (root) CMD (/etc/linetest/linetest.sh) Jul 5 11:38:08 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Jul 5 11:38:08 srv4hai fetchmail[1651]: 48035 messages (48035 seen) for tmiglinci at mail.akis.at (-325618264 octets). Jul 5 11:38:09 srv4hai fetchmail[1651]: 10410 messages (10410 seen) for srozum at mail.akis.at (1250291003 octets). Jul 5 11:38:10 srv4hai fetchmail[1651]: 24571 messages (24571 seen) for mrozum at mail.akis.at (11353648 octets). Jul 5 11:38:10 srv4hai fetchmail[1651]: 1138 messages (1138 seen) for admin@bastelstube.wien at pop3.world4you.com (51557211 octets). Jul 5 11:38:33 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=27413, secured, session= Jul 5 11:38:33 srv4hai dovecot: imap(pilsc)<27413> : Logged out in=50 out=532 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jul 5 11:38:38 srv4hai ping_SP[17533]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1720172318 - 'ping_SP_1' Jul 5 11:38:38 srv4hai ping_SP[17533]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jul 5 11:38:42 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=27430, secured, session= Jul 5 11:38:42 srv4hai dovecot: imap(miglincit)<27430> : Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jul 5 11:38:42 srv4hai common[27432]: SHELLY common.sh inkludiert von ./bt_scan.sh Jul 5 11:38:52 srv4hai bt_scan[27432]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No' Jul 5 11:38:52 srv4hai bt_scan[27432]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence Jul 5 11:38:52 srv4hai common[27469]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jul 5 11:38:53 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1720172333-1720172322 Jul 5 11:38:53 srv4hai check_presence[27469]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jul 5 11:38:53 srv4hai check_presence[27469]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence' Jul 5 11:38:53 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1720172333-1720172322 Jul 5 11:38:53 srv4hai check_presence[27469]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No Jul 5 11:38:53 srv4hai check_presence[27469]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence' Jul 5 11:38:53 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1720172333-1720172322 Jul 5 11:38:53 srv4hai check_presence[27469]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes Jul 5 11:38:53 srv4hai check_presence[27469]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true' Jul 5 11:38:53 srv4hai check_presence[27469]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll) Jul 5 11:38:53 srv4hai check_presence[27469]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll Jul 5 11:39:01 srv4hai CRON[27621]: (root) CMD (/etc/linetest/linetest.sh) Jul 5 11:39:01 srv4hai CRON[27622]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi) Jul 5 11:39:01 srv4hai systemd[1]: Starting Clean php session files... Jul 5 11:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded. Jul 5 11:39:01 srv4hai systemd[1]: Started Clean php session files. Jul 5 11:39:02 srv4hai ping_SP[14326]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1720172342 - 'ping_SP_0' Jul 5 11:39:02 srv4hai ping_SP[14326]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jul 5 11:39:09 srv4hai cp2usb.sh: CP2USB - START @ Fri Jul 5 11:39:09 CEST 2024 Jul 5 11:39:09 srv4hai cp2usb.sh: CP2USB - params DEVNAME:'/dev/sdd1' ACTION:'change' Jul 5 11:39:09 srv4hai cp2usb.sh: CP2USB - ENDED due to 'change' @ Fri Jul 5 11:39:09 CEST 2024 Jul 5 11:39:09 srv4hai systemd-udevd[27767]: Process '/etc/bup/cp2usb.sh sdd1' failed with exit code 1. Jul 5 11:39:09 srv4hai cp2usb.sh: CP2USB - START @ Fri Jul 5 11:39:09 CEST 2024 Jul 5 11:39:09 srv4hai cp2usb.sh: CP2USB - params DEVNAME:'/dev/sdd1' ACTION:'change' Jul 5 11:39:09 srv4hai cp2usb.sh: CP2USB - ENDED due to 'change' @ Fri Jul 5 11:39:09 CEST 2024 Jul 5 11:39:09 srv4hai systemd-udevd[27767]: Process '/etc/bup/cp2usb.sh sdd1' failed with exit code 1. Jul 5 11:39:12 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=27887, secured, session= Jul 5 11:39:12 srv4hai dovecot: imap(miglincit)<27887>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jul 5 11:39:12 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Jul 5 11:39:12 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jul 5 11:39:12 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jul 5 11:39:12 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139 Jul 5 11:39:12 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39 Jul 5 11:39:12 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Jul 5 11:39:12 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jul 5 11:39:12 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#49705/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jul 5 11:39:12 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#59209/key rndc-key: signer "rndc-key" approved Jul 5 11:39:12 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#59209/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Jul 5 11:39:12 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#59209/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Jul 5 11:39:12 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#59209/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Jul 5 11:39:12 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#59209/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Jul 5 11:39:12 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Jul 5 11:39:12 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#59713/key rndc-key: signer "rndc-key" approved Jul 5 11:39:12 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#59713/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Jul 5 11:39:12 srv4hai named[30406]: client @0x7f93100dcb70 192.168.12.252#59713/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. Jul 5 11:39:12 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Jul 5 11:39:12 srv4hai common[27889]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jul 5 11:39:12 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Jul 5 11:39:12 srv4hai common[27902]: SHELLY common.sh inkludiert von ./ht_shelly.sh Jul 5 11:39:12 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=23.600000&hum=42.600000&id=C049EF8AC9D8&batt=100&volt=6.730000 Jul 5 11:39:12 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/07/shelly-39_20240705.csv' Jul 5 11:39:12 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Jul 5 11:39:12 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Jul 5 11:39:12 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Jul 5 11:39:12 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}' Jul 5 11:39:12 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Jul 5 11:39:12 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}' Jul 5 11:39: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 '.'' Jul 5 11:39:12 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Jul 5 11:39:12 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Jul 5 11:39: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 '.'' Jul 5 11:39:12 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Jul 5 11:39:12 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 23.6° - 42.6% Jul 5 11:39:12 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Jul 5 11:39:12 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 23.6°/23° - 42.6%/42.3% - SAVED Jul 5 11:39:12 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Jul 5 11:39:13 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-07-05T09:39:13.264Z",#012 "content": {#012 "temp": 23.6,#012 "hum": 42.6,#012 "batt": 100,#012 "csvF": "shelly-39_20240705.csv"#012 },#012 "transaction": "c3456283-325f-4bac-a932-717eabd1b274"#012 }#012}'° Jul 5 11:39:29 srv4hai activate_scenario[28064]: SHELLY scenario: 'pcOFF(pcoff)' started Jul 5 11:39:29 srv4hai activate_scenario[28064]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
finished