activate_scenario.sh
Wed Jan 29 22:25:38 CET 2025
scenario: vorraumOn
phoneName: 0
vorher: 22:25:39.062
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: 22:25:39.117
Dauer: 55 msec
phName: 'phoneName:'0''
urls : 1
vorher : 22:25:39.035
nachher: 22:25:39.124
Dauer : 88 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/01/29//scene_vorraumOn_20250129_222538.txt'
Jan 29 22:22:01 srv4hai CRON[32642]: (root) CMD (/etc/linetest/linetest.sh) Jan 29 22:22:14 srv4hai postfix/smtpd[32462]: connect from unknown[193.32.162.97] Jan 29 22:22:18 srv4hai postfix/smtpd[32462]: warning: unknown[193.32.162.97]: SASL PLAIN authentication failed: Jan 29 22:22:18 srv4hai postfix/smtpd[32462]: disconnect from unknown[193.32.162.97] ehlo=1 auth=0/1 quit=1 commands=2/3 Jan 29 22:22:30 srv4hai dhcpd[4995]: DHCPDISCOVER from c8:db:26:0c:f3:8e via enp2s0 Jan 29 22:22:30 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0 Jan 29 22:22:30 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Jan 29 22:22:30 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.28 Jan 29 22:22:30 srv4hai dhcpd[4995]: execute_statement argv[2] = harmonyhub Jan 29 22:22:30 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.28 (192.168.12.252) from c8:db:26:0c:f3:8e via enp2s0 Jan 29 22:22:30 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0 Jan 29 22:22:30 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#33235/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jan 29 22:22:30 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#54671/key rndc-key: signer "rndc-key" approved Jan 29 22:22:30 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#54671/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT Jan 29 22:22:30 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#54671/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713" Jan 29 22:22:30 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#54671/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A Jan 29 22:22:30 srv4hai named[30406]: client @0x7f931c0a07f0 192.168.12.252#54671/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28 Jan 29 22:22:30 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub' Jan 29 22:22:30 srv4hai dhcpd[4995]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28 Jan 29 22:22:30 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#33527/key rndc-key: signer "rndc-key" approved Jan 29 22:22:30 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#33527/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR Jan 29 22:22:30 srv4hai named[30406]: client @0x7f93100b4de0 192.168.12.252#33527/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at. Jan 29 22:22:30 srv4hai dhcpd[4995]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at Jan 29 22:22:30 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted Jan 29 22:22:56 srv4hai common[32684]: SHELLY common.sh inkludiert von ./mqtt_process.sh Jan 29 22:22:56 srv4hai common[32708]: SHELLY common.sh inkludiert von ./mqtt_process.sh Jan 29 22:22:59 srv4hai common[32737]: SHELLY common.sh inkludiert von ./mqtt_process.sh Jan 29 22:22:59 srv4hai common[32761]: SHELLY common.sh inkludiert von ./mqtt_process.sh Jan 29 22:22:59 srv4hai common[320]: SHELLY common.sh inkludiert von ./mqtt_process.sh Jan 29 22:23:01 srv4hai CRON[346]: (root) CMD (/etc/linetest/linetest.sh) Jan 29 22:23:03 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=354, secured, session= Jan 29 22:23:03 srv4hai dovecot: imap(miglincit)<354> : Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0 Jan 29 22:23:03 srv4hai ping_SP[9165]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1738185783 - 'ping_SP_1' Jan 29 22:23:03 srv4hai ping_SP[9165]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jan 29 22:23:06 srv4hai common[373]: SHELLY common.sh inkludiert von ./bt_scan.sh Jan 29 22:23:07 srv4hai ping_SP[14218]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1738185787 - 'ping_SP_0' Jan 29 22:23:07 srv4hai ping_SP[14218]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 29 22:23:10 srv4hai postfix/smtpd[32462]: warning: hostname 23-94-59-160-host.colocrossing.com does not resolve to address 23.94.59.160: Name or service not known Jan 29 22:23:10 srv4hai postfix/smtpd[32462]: connect from unknown[23.94.59.160] Jan 29 22:23:14 srv4hai postfix/smtpd[32462]: warning: unknown[23.94.59.160]: SASL PLAIN authentication failed: Jan 29 22:23:14 srv4hai postfix/smtpd[32462]: disconnect from unknown[23.94.59.160] ehlo=1 auth=0/1 quit=1 commands=2/3 Jan 29 22:23:16 srv4hai bt_scan[373]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes' Jan 29 22:23:16 srv4hai bt_scan[373]: SHELLY - ping_SP.sh already running for BTmac: '1' - IPv4: '192.168.12.62' Jan 29 22:23:56 srv4hai common[441]: SHELLY common.sh inkludiert von ./mqtt_process.sh Jan 29 22:23:56 srv4hai common[467]: SHELLY common.sh inkludiert von ./mqtt_process.sh Jan 29 22:23:59 srv4hai common[494]: SHELLY common.sh inkludiert von ./mqtt_process.sh Jan 29 22:23:59 srv4hai common[518]: SHELLY common.sh inkludiert von ./mqtt_process.sh Jan 29 22:24:00 srv4hai common[543]: SHELLY common.sh inkludiert von ./mqtt_process.sh Jan 29 22:24:01 srv4hai CRON[568]: (root) CMD (/etc/linetest/linetest.sh) Jan 29 22:24:17 srv4hai ping_SP[9165]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1738185857 - 'ping_SP_1' Jan 29 22:24:17 srv4hai ping_SP[9165]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jan 29 22:24:20 srv4hai ping_SP[14218]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1738185860 - 'ping_SP_0' Jan 29 22:24:20 srv4hai ping_SP[14218]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 29 22:24:56 srv4hai common[627]: SHELLY common.sh inkludiert von ./mqtt_process.sh Jan 29 22:24:56 srv4hai common[651]: SHELLY common.sh inkludiert von ./mqtt_process.sh Jan 29 22:24:57 srv4hai dhcpd[4995]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0 Jan 29 22:24:57 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jan 29 22:24:57 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jan 29 22:24:57 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61 Jan 29 22:24:57 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas Jan 29 22:24:57 srv4hai common[675]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jan 29 22:24:59 srv4hai common[688]: SHELLY common.sh inkludiert von ./mqtt_process.sh Jan 29 22:25:00 srv4hai common[712]: SHELLY common.sh inkludiert von ./mqtt_process.sh Jan 29 22:25:00 srv4hai common[736]: SHELLY common.sh inkludiert von ./mqtt_process.sh Jan 29 22:25:01 srv4hai CRON[762]: (root) CMD (/etc/linetest/linetest.sh) Jan 29 22:25:08 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jan 29 22:25:08 srv4hai common[771]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jan 29 22:25:08 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jan 29 22:25:08 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jan 29 22:25:08 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jan 29 22:25:08 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61 Jan 29 22:25:08 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas Jan 29 22:25:08 srv4hai common[784]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jan 29 22:25:08 srv4hai ping_SP[771]: SHELLY ping_SP.sh started from smartphone, user:'root' Jan 29 22:25:18 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jan 29 22:25:18 srv4hai common[823]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jan 29 22:25:18 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jan 29 22:25:18 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jan 29 22:25:18 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jan 29 22:25:18 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61 Jan 29 22:25:18 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas Jan 29 22:25:18 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jan 29 22:25:18 srv4hai common[843]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jan 29 22:25:18 srv4hai common[847]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jan 29 22:25:18 srv4hai ping_SP[823]: SHELLY ping_SP.sh started from smartphone, user:'root' Jan 29 22:25:19 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'12'=1738185919-1738185907 Jan 29 22:25:19 srv4hai check_presence[843]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jan 29 22:25:19 srv4hai check_presence[843]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Jan 29 22:25:19 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'12'=1738185919-1738185907 Jan 29 22:25:19 srv4hai check_presence[843]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Jan 29 22:25:19 srv4hai check_presence[843]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Jan 29 22:25:19 srv4hai check_presence[843]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (BT/LIVE)' - anyPresent: 'true' - otherPresent:'true' Jan 29 22:25:19 srv4hai check_presence[843]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_nasszeile_um) - sceneONsmall(vorraumOn) Jan 29 22:25:19 srv4hai check_presence[843]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Jan 29 22:25:19 srv4hai activate_scenario[993]: SHELLY scenario: 'vorraumOn(vorraumon)' started Jan 29 22:25:19 srv4hai activate_scenario[993]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0' Jan 29 22:25:19 srv4hai activate_scenario[993]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0' Jan 29 22:25:19 srv4hai postfix/pickup[31310]: 8CA0263463: uid=33 from= Jan 29 22:25:19 srv4hai postfix/cleanup[1045]: 8CA0263463: message-id=<20250129212519.8CA0263463@mail.viehai.at> Jan 29 22:25:19 srv4hai postfix/qmgr[8566]: 8CA0263463: from= , size=11455, nrcpt=1 (queue active) Jan 29 22:25:19 srv4hai activate_scenario[993]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'VZ Licht' --> '0?turn=on' Jan 29 22:25:19 srv4hai proc_url[1062]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/29/_0.log' - shellyUsage:'VZ Licht' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0'' Jan 29 22:25:19 srv4hai activate_scenario[993]: SHELLY scenario: 'vorraumOn(vorraumon)' took 78 msec, phoneName:'0' Jan 29 22:25:19 srv4hai ping_SP[771]: SHELLY check_presence.sh coming 0 ping_SP__smartphone Jan 29 22:25:21 srv4hai postfix/relay/smtp[1058]: 8CA0263463: to= , relay=mx02.nic.name[209.131.158.56]:25, delay=2.1, delays=0.02/0.01/1.7/0.35, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 5D9008007E) Jan 29 22:25:21 srv4hai postfix/qmgr[8566]: 8CA0263463: removed Jan 29 22:25:21 srv4hai ping_SP[771]: SHELLY - running process-id(771): '771 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#012823 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#012847 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas#0121096 ping -c 4 192.168.12.61#01214218 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ============== Jan 29 22:25:28 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jan 29 22:25:28 srv4hai common[1113]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jan 29 22:25:28 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jan 29 22:25:28 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jan 29 22:25:28 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Jan 29 22:25:28 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.61 Jan 29 22:25:28 srv4hai dhcpd[4995]: execute_statement argv[2] = fpThomas Jan 29 22:25:28 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#45129/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jan 29 22:25:28 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jan 29 22:25:28 srv4hai common[1130]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jan 29 22:25:28 srv4hai common[1133]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Jan 29 22:25:28 srv4hai ping_SP[1113]: SHELLY ping_SP.sh started from smartphone, user:'root' Jan 29 22:25:28 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'8'=1738185928-1738185920 Jan 29 22:25:28 srv4hai check_presence[1130]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jan 29 22:25:28 srv4hai check_presence[1130]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Jan 29 22:25:28 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'8'=1738185928-1738185920 Jan 29 22:25:28 srv4hai check_presence[1130]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Jan 29 22:25:28 srv4hai check_presence[1130]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Jan 29 22:25:28 srv4hai check_presence[1130]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (BT/LIVE)' - anyPresent: 'true' - otherPresent:'true' Jan 29 22:25:28 srv4hai check_presence[1130]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn) Jan 29 22:25:28 srv4hai check_presence[1130]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Jan 29 22:25:28 srv4hai activate_scenario[1268]: SHELLY scenario: 'vorraumOn(vorraumon)' started Jan 29 22:25:28 srv4hai activate_scenario[1268]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0' Jan 29 22:25:28 srv4hai activate_scenario[1268]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0' Jan 29 22:25:28 srv4hai postfix/pickup[31310]: D050C63463: uid=33 from= Jan 29 22:25:28 srv4hai postfix/cleanup[1045]: D050C63463: message-id=<20250129212528.D050C63463@mail.viehai.at> Jan 29 22:25:28 srv4hai postfix/qmgr[8566]: D050C63463: from= , size=16144, nrcpt=1 (queue active) Jan 29 22:25:28 srv4hai activate_scenario[1268]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'VZ Licht' --> '0?turn=on' Jan 29 22:25:28 srv4hai proc_url[1333]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2025/01/29/_0.log' - shellyUsage:'VZ Licht' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0'' Jan 29 22:25:28 srv4hai activate_scenario[1268]: SHELLY scenario: 'vorraumOn(vorraumon)' took 73 msec, phoneName:'0' Jan 29 22:25:28 srv4hai ping_SP[823]: SHELLY check_presence.sh coming 0 ping_SP__smartphone Jan 29 22:25:29 srv4hai postfix/relay/smtp[1058]: D050C63463: to= , relay=mx04.nic.name[209.131.160.34]:25, delay=0.81, delays=0.02/0/0.43/0.36, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 5AB9C60084) Jan 29 22:25:29 srv4hai postfix/qmgr[8566]: D050C63463: removed Jan 29 22:25:30 srv4hai ping_SP[9165]: SHELLY (1) - ping 192.168.12.62 1 sucessfully @~1738185930 - 'ping_SP_1' Jan 29 22:25:30 srv4hai ping_SP[9165]: SHELLY (1) - ping 192.168.12.62 pCnt:'1' Jan 29 22:25:30 srv4hai ping_SP[823]: SHELLY - running process-id(823): '823 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#0121113 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#0121133 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas#01214218 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ============== Jan 29 22:25:33 srv4hai ping_SP[14218]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1738185933 - 'ping_SP_0' Jan 29 22:25:33 srv4hai ping_SP[14218]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Jan 29 22:25:38 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0' Jan 29 22:25:38 srv4hai common[1402]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Jan 29 22:25:38 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0 Jan 29 22:25:38 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0 Jan 29 22:25:38 srv4hai dhcpd[4995]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Jan 29 22:25:38 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jan 29 22:25:38 srv4hai dhcpd[4995]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Jan 29 22:25:38 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: signer "rndc-key" approved Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Jan 29 22:25:38 srv4hai dhcpd[4995]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Jan 29 22:25:38 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: signer "rndc-key" approved Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Jan 29 22:25:38 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: signer "rndc-key" approved Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Jan 29 22:25:38 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Jan 29 22:25:38 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: signer "rndc-key" approved Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2" Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61 Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: signer "rndc-key" approved Jan 29 22:25:38 srv4hai dhcpd[4995]: Added new forward map from fpThomas.viehai.at to 192.168.12.61 Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/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. Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: signer "rndc-key" approved Jan 29 22:25:38 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/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. Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: signer "rndc-key" approved Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Jan 29 22:25:38 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/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. Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: signer "rndc-key" approved Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/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. Jan 29 22:25:38 srv4hai common[1419]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Jan 29 22:25:38 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Jan 29 22:25:38 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.139 Jan 29 22:25:38 srv4hai dhcpd[4995]: execute_statement argv[2] = shelly-39 Jan 29 22:25:38 srv4hai ping_SP[1402]: SHELLY ping_SP.sh started from smartphone, user:'root' Jan 29 22:25:38 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Jan 29 22:25:38 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Jan 29 22:25:38 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Jan 29 22:25:38 srv4hai dhcpd[4995]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at Jan 29 22:25:38 srv4hai named[30406]: client @0x7f93100971e0 192.168.12.252#55515/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Jan 29 22:25:38 srv4hai common[1437]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh Jan 29 22:25:38 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf' Jan 29 22:25:38 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#43887/key rndc-key: signer "rndc-key" approved Jan 29 22:25:38 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#43887/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Jan 29 22:25:38 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#43887/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Jan 29 22:25:38 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#43887/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Jan 29 22:25:38 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#43887/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Jan 29 22:25:38 srv4hai dhcpd[4995]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Jan 29 22:25:38 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#48483/key rndc-key: signer "rndc-key" approved Jan 29 22:25:38 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#48483/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Jan 29 22:25:38 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#48483/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. Jan 29 22:25:38 srv4hai dhcpd[4995]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Jan 29 22:25:38 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Jan 29 22:25:38 srv4hai common[1461]: SHELLY common.sh inkludiert von ./ht_shelly.sh Jan 29 22:25:38 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=9.100000&hum=65.500000&id=C049EF8AC9D8&batt=97&volt=5.950000 Jan 29 22:25:38 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2025/01/shelly-39_20250129.csv' Jan 29 22:25:38 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Jan 29 22:25:38 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Jan 29 22:25:38 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}' Jan 29 22:25:38 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Jan 29 22:25:38 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}' Jan 29 22:25:38 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 '.'' Jan 29 22:25:38 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 '.'' Jan 29 22:25:38 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Jan 29 22:25:38 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Jan 29 22:25:38 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 9.1° - 65.5% Jan 29 22:25:38 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 9.1°/9.7° - 65.5%/63.6% - SAVED Jan 29 22:25:38 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='97'° Jan 29 22:25:38 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'6'=1738185938-1738185932 Jan 29 22:25:38 srv4hai check_presence[1419]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Jan 29 22:25:38 srv4hai check_presence[1419]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming' Jan 29 22:25:38 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'6'=1738185938-1738185932 Jan 29 22:25:38 srv4hai check_presence[1419]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Jan 29 22:25:38 srv4hai check_presence[1419]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming' Jan 29 22:25:38 srv4hai check_presence[1419]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (BT/LIVE)' - anyPresent: 'true' - otherPresent:'true' Jan 29 22:25:38 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": "2025-01-29T21:25:38.805Z",#012 "content": {#012 "temp": 9.1,#012 "hum": 65.5,#012 "batt": 97,#012 "csvF": "shelly-39_20250129.csv"#012 },#012 "transaction": "952c2398-08e9-4494-991e-6d2b2117ba7f"#012 }#012}'° Jan 29 22:25:38 srv4hai check_presence[1419]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn) Jan 29 22:25:38 srv4hai check_presence[1419]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn Jan 29 22:25:39 srv4hai activate_scenario[1684]: SHELLY scenario: 'vorraumOn(vorraumon)' started Jan 29 22:25:39 srv4hai activate_scenario[1684]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'
finished