activate_scenario.sh
Sat Apr 13 22:06:46 CEST 2024
scenario: vorraumOn
phoneName: 2
vorher: 22:06:46.647
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": "input" |
nachher: 22:06:46.767
Dauer: 119 msec
phName: 'phoneName:'2''
urls : 1
vorher : 22:06:46.596
nachher: 22:06:46.773
Dauer : 179 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/13//scene_vorraumOn_20240413_220646.txt'
Apr 13 22:03:01 srv4hai CRON[24128]: (root) CMD (/etc/linetest/linetest.sh) Apr 13 22:03:57 srv4hai postfix/smtpd[24147]: connect from unknown[87.121.105.109] Apr 13 22:03:58 srv4hai postfix/smtpd[24147]: warning: unknown[87.121.105.109]: SASL LOGIN authentication failed: Invalid authentication mechanism Apr 13 22:03:58 srv4hai postfix/smtpd[24147]: disconnect from unknown[87.121.105.109] ehlo=1 auth=0/1 quit=1 commands=2/3 Apr 13 22:03:59 srv4hai ping_SP[16534]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1713038639 - 'ping_SP_0' Apr 13 22:03:59 srv4hai ping_SP[16534]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 13 22:04:01 srv4hai CRON[24165]: (root) CMD (/etc/linetest/linetest.sh) Apr 13 22:05:01 srv4hai CRON[24182]: (root) CMD (/etc/linetest/linetest.sh) Apr 13 22:05:07 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Apr 13 22:05:08 srv4hai fetchmail[1651]: 41961 messages (41960 seen) for tmiglinci at mail.akis.at (-791614618 octets). Apr 13 22:05:08 srv4hai postfix/smtpd[24147]: connect from localhost[127.0.0.1] Apr 13 22:05:08 srv4hai postfix/smtpd[24147]: 1B9EF60119: client=localhost[127.0.0.1] Apr 13 22:05:08 srv4hai postfix/cleanup[24192]: 1B9EF60119: message-id=Apr 13 22:05:08 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:41961 of 41961 (91279 octets) not flushed Apr 13 22:05:08 srv4hai postfix/qmgr[15291]: 1B9EF60119: from= , size=91522, nrcpt=1 (queue active) Apr 13 22:05:08 srv4hai postfix/smtpd[24147]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Apr 13 22:05:08 srv4hai postfix/local[24193]: 1B9EF60119: to= , relay=local, delay=0.11, delays=0.08/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Apr 13 22:05:08 srv4hai postfix/qmgr[15291]: 1B9EF60119: removed Apr 13 22:05:08 srv4hai fetchmail[1651]: 10132 messages (10132 seen) for srozum at mail.akis.at (1224850965 octets). Apr 13 22:05:08 srv4hai fetchmail[1651]: 22842 messages (22842 seen) for mrozum at mail.akis.at (-347047476 octets). Apr 13 22:05:09 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets). Apr 13 22:05:12 srv4hai ping_SP[16534]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1713038712 - 'ping_SP_0' Apr 13 22:05:12 srv4hai ping_SP[16534]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 13 22:05:53 srv4hai dovecot: imap-login: Login: user= , method=PLAIN, rip=::1, lip=::1, mpid=24214, secured, session= Apr 13 22:05:53 srv4hai dovecot: imap(miglincit)<24214> : Logged out in=420 out=35790 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=11368 body_count=0 body_bytes=0 Apr 13 22:06:01 srv4hai CRON[24218]: (root) CMD (/etc/linetest/linetest.sh) Apr 13 22:06:05 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Apr 13 22:06:05 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.63 Apr 13 22:06:05 srv4hai dhcpd[28085]: execute_statement argv[2] = iPhoneSophie Apr 13 22:06:05 srv4hai common[24224]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Apr 13 22:06:15 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.63' / 'iPhoneSophie' / '2' Apr 13 22:06:15 srv4hai common[24242]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Apr 13 22:06:15 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.63 from 22:1e:8c:a4:80:db via enp2s0 Apr 13 22:06:15 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.63 to 22:1e:8c:a4:80:db via enp2s0 Apr 13 22:06:15 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Apr 13 22:06:15 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.63 Apr 13 22:06:15 srv4hai dhcpd[28085]: execute_statement argv[2] = iPhoneSophie Apr 13 22:06:15 srv4hai ping_SP[24242]: SHELLY ping_SP.sh started from smartphone Apr 13 22:06:15 srv4hai common[24255]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Apr 13 22:06:25 srv4hai ping_SP[16534]: SHELLY (0) - ping 192.168.12.61 1 sucessfully @~1713038785 - 'ping_SP_0' Apr 13 22:06:25 srv4hai ping_SP[16534]: SHELLY (0) - ping 192.168.12.61 pCnt:'1' Apr 13 22:06:25 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.63' / 'iPhoneSophie' / '2' Apr 13 22:06:25 srv4hai common[24297]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Apr 13 22:06:25 srv4hai common[24299]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Apr 13 22:06:25 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.63 from 22:1e:8c:a4:80:db via enp2s0 Apr 13 22:06:25 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.63 to 22:1e:8c:a4:80:db via enp2s0 Apr 13 22:06:25 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh Apr 13 22:06:25 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.63 Apr 13 22:06:25 srv4hai dhcpd[28085]: execute_statement argv[2] = iPhoneSophie Apr 13 22:06:25 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: iPhoneSophie.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 13 22:06:25 srv4hai ping_SP[24297]: SHELLY ping_SP.sh started from smartphone Apr 13 22:06:25 srv4hai common[24316]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh Apr 13 22:06:26 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'2'=1713038786-1713038784 Apr 13 22:06:26 srv4hai check_presence[24299]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Apr 13 22:06:26 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'2'=1713038786-1713038784 Apr 13 22:06:26 srv4hai check_presence[24299]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Apr 13 22:06:26 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'2'=1713038786-1713038784 Apr 13 22:06:26 srv4hai check_presence[24299]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Apr 13 22:06:26 srv4hai check_presence[24299]: SHELLY (ping_SP__smartphone)-(2) what: 'coming' - persPresent: '(BT/LIVE) (BT/__) (__/LIVE)' - anyPresent: 'true' - otherPresent:'true' Apr 13 22:06:26 srv4hai check_presence[24299]: SHELLY (ping_SP__smartphone)-(2)-coming: activate_scenario.shtml: vorraumOn Apr 13 22:06:26 srv4hai activate_scenario[24447]: SHELLY scenario: 'vorraumOn(vorraumon)' started Apr 13 22:06:26 srv4hai activate_scenario[24447]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'2' Apr 13 22:06:26 srv4hai activate_scenario[24447]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'2' Apr 13 22:06:26 srv4hai postfix/pickup[16655]: 68A146022F: uid=33 from= Apr 13 22:06:26 srv4hai postfix/cleanup[24192]: 68A146022F: message-id=<20240413200626.68A146022F@mail.viehai.at> Apr 13 22:06:26 srv4hai postfix/qmgr[15291]: 68A146022F: from= , size=7796, nrcpt=1 (queue active) Apr 13 22:06:26 srv4hai activate_scenario[24447]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Apr 13 22:06:26 srv4hai proc_url[24512]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/13/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'2'' Apr 13 22:06:26 srv4hai activate_scenario[24447]: SHELLY scenario: 'vorraumOn(vorraumon)' took 89 msec, phoneName:'2' Apr 13 22:06:26 srv4hai ping_SP[24242]: SHELLY check_presence.sh coming 2 ping_SP__smartphone Apr 13 22:06:27 srv4hai postfix/relay/smtp[24500]: 68A146022F: to= , relay=mx04.nic.name[209.131.160.34]:25, delay=0.84, delays=0.02/0.01/0.52/0.29, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 11E4E80102) Apr 13 22:06:27 srv4hai postfix/qmgr[15291]: 68A146022F: removed Apr 13 22:06:28 srv4hai ping_SP[24242]: SHELLY - running process-id(24242): '24242 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.63 smartphone#01224297 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.63 smartphone#01224316 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.63 iPhoneSophie' - 'ping_SP_2' - exiting ============== Apr 13 22:06:29 srv4hai common[24548]: SHELLY common.sh inkludiert von ./bt_scan.sh Apr 13 22:06:35 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.63' / 'iPhoneSophie' / '2' Apr 13 22:06:35 srv4hai common[24568]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Apr 13 22:06:35 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.63 from 22:1e:8c:a4:80:db via enp2s0 Apr 13 22:06:35 srv4hai common[24577]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Apr 13 22:06:35 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.63 to 22:1e:8c:a4:80:db via enp2s0 Apr 13 22:06:35 srv4hai dhcpd[28085]: DHCPDISCOVER from 22:1e:8c:a4:80:db via enp2s0 Apr 13 22:06:35 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.63 to 22:1e:8c:a4:80:db via enp2s0 Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: iPhoneSophie.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 13 22:06:35 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#41425/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: iPhoneSophie.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 13 22:06:35 srv4hai dhcpd[28085]: DHCPDISCOVER from 22:1e:8c:a4:80:db via enp2s0 Apr 13 22:06:35 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.63 to 22:1e:8c:a4:80:db via enp2s0 Apr 13 22:06:35 srv4hai dhcpd[28085]: DHCPDISCOVER from 22:1e:8c:a4:80:db via enp2s0 Apr 13 22:06:35 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.63 to 22:1e:8c:a4:80:db via enp2s0 Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: signer "rndc-key" approved Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'iPhoneSophie.viehai.at' TXT Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'iPhoneSophie.viehai.at' TXT "31bf0fb452f28d5b707b5b66ceeaf6c2a6" Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'iPhoneSophie.viehai.at' A Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'iPhoneSophie.viehai.at' A 192.168.12.63 Apr 13 22:06:35 srv4hai dhcpd[28085]: DHCPDISCOVER from 22:1e:8c:a4:80:db via enp2s0 Apr 13 22:06:35 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.63 to 22:1e:8c:a4:80:db via enp2s0 Apr 13 22:06:35 srv4hai dhcpd[28085]: DHCPDISCOVER from 22:1e:8c:a4:80:db via enp2s0 Apr 13 22:06:35 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.63 to 22:1e:8c:a4:80:db via enp2s0 Apr 13 22:06:35 srv4hai dhcpd[28085]: Added new forward map from iPhoneSophie.viehai.at to 192.168.12.63 Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: signer "rndc-key" approved Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'iPhoneSophie.viehai.at' TXT Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'iPhoneSophie.viehai.at' TXT "31bf0fb452f28d5b707b5b66ceeaf6c2a6" Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'iPhoneSophie.viehai.at' A Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'iPhoneSophie.viehai.at' A 192.168.12.63 Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: signer "rndc-key" approved Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'iPhoneSophie.viehai.at' TXT Apr 13 22:06:35 srv4hai dhcpd[28085]: Added new forward map from iPhoneSophie.viehai.at to 192.168.12.63 Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'iPhoneSophie.viehai.at' TXT "31bf0fb452f28d5b707b5b66ceeaf6c2a6" Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'iPhoneSophie.viehai.at' A Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'iPhoneSophie.viehai.at' A 192.168.12.63 Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: signer "rndc-key" approved Apr 13 22:06:35 srv4hai dhcpd[28085]: Added new forward map from iPhoneSophie.viehai.at to 192.168.12.63 Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '63.12.168.192.in-addr.arpa' PTR Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '63.12.168.192.in-addr.arpa' PTR iPhoneSophie.viehai.at. Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: signer "rndc-key" approved Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '63.12.168.192.in-addr.arpa' PTR Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '63.12.168.192.in-addr.arpa' PTR iPhoneSophie.viehai.at. Apr 13 22:06:35 srv4hai dhcpd[28085]: Added reverse map from 63.12.168.192.in-addr.arpa. to iPhoneSophie.viehai.at Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: signer "rndc-key" approved Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '63.12.168.192.in-addr.arpa' PTR Apr 13 22:06:35 srv4hai named[15509]: client @0x7f9318040aa0 192.168.12.252#47115/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '63.12.168.192.in-addr.arpa' PTR iPhoneSophie.viehai.at. Apr 13 22:06:35 srv4hai dhcpd[28085]: Added reverse map from 63.12.168.192.in-addr.arpa. to iPhoneSophie.viehai.at Apr 13 22:06:35 srv4hai ping_SP[24568]: SHELLY ping_SP.sh started from smartphone Apr 13 22:06:35 srv4hai dhcpd[28085]: Added reverse map from 63.12.168.192.in-addr.arpa. to iPhoneSophie.viehai.at Apr 13 22:06:36 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'7'=1713038796-1713038789 Apr 13 22:06:36 srv4hai check_presence[24577]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No Apr 13 22:06:36 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'7'=1713038796-1713038789 Apr 13 22:06:36 srv4hai check_presence[24577]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Apr 13 22:06:36 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'7'=1713038796-1713038789 Apr 13 22:06:36 srv4hai check_presence[24577]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Apr 13 22:06:36 srv4hai check_presence[24577]: SHELLY (ping_SP__smartphone)-(2) what: 'coming' - persPresent: '(BT/LIVE) (BT/__) (__/LIVE)' - anyPresent: 'true' - otherPresent:'true' Apr 13 22:06:36 srv4hai check_presence[24577]: SHELLY (ping_SP__smartphone)-(2)-coming: activate_scenario.shtml: vorraumOn Apr 13 22:06:36 srv4hai activate_scenario[24710]: SHELLY scenario: 'vorraumOn(vorraumon)' started Apr 13 22:06:36 srv4hai activate_scenario[24710]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'2' Apr 13 22:06:36 srv4hai activate_scenario[24710]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'2' Apr 13 22:06:36 srv4hai postfix/pickup[16655]: 6844F6022F: uid=33 from= Apr 13 22:06:36 srv4hai postfix/cleanup[24192]: 6844F6022F: message-id=<20240413200636.6844F6022F@mail.viehai.at> Apr 13 22:06:36 srv4hai postfix/qmgr[15291]: 6844F6022F: from= , size=17737, nrcpt=1 (queue active) Apr 13 22:06:36 srv4hai activate_scenario[24710]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on' Apr 13 22:06:36 srv4hai proc_url[24774]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/04/13/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'2'' Apr 13 22:06:36 srv4hai activate_scenario[24710]: SHELLY scenario: 'vorraumOn(vorraumon)' took 194 msec, phoneName:'2' Apr 13 22:06:36 srv4hai ping_SP[24297]: SHELLY check_presence.sh coming 2 ping_SP__smartphone Apr 13 22:06:36 srv4hai dhcpd[28085]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0 Apr 13 22:06:36 srv4hai dhcpd[28085]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Apr 13 22:06:36 srv4hai dhcpd[28085]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh Apr 13 22:06:36 srv4hai dhcpd[28085]: execute_statement argv[1] = 192.168.12.139 Apr 13 22:06:36 srv4hai dhcpd[28085]: execute_statement argv[2] = shelly-39 Apr 13 22:06:36 srv4hai dhcpd[28085]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0 Apr 13 22:06:36 srv4hai dhcpd[28085]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0 Apr 13 22:06:36 srv4hai named[15509]: client @0x7f930c06d910 192.168.12.252#46047/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Apr 13 22:06:36 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#56111/key rndc-key: signer "rndc-key" approved Apr 13 22:06:36 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#56111/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT Apr 13 22:06:36 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#56111/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7" Apr 13 22:06:36 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#56111/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A Apr 13 22:06:36 srv4hai named[15509]: client @0x7f93080a9b70 192.168.12.252#56111/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139 Apr 13 22:06:36 srv4hai dhcpd[28085]: Added new forward map from shelly-39.viehai.at to 192.168.12.139 Apr 13 22:06:36 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#36013/key rndc-key: signer "rndc-key" approved Apr 13 22:06:36 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#36013/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR Apr 13 22:06:36 srv4hai named[15509]: client @0x7f930c088170 192.168.12.252#36013/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 13 22:06:36 srv4hai dhcpd[28085]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at Apr 13 22:06:36 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' workdir:'/srv/www/viehai/shelly' perform:'conf' Apr 13 22:06:37 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Apr 13 22:06:37 srv4hai common[24816]: SHELLY common.sh inkludiert von ./ht_shelly.sh Apr 13 22:06:37 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=22.800000&hum=38.700000&id=C049EF8AC9D8&batt=100&volt=6.810000 Apr 13 22:06:37 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/04/shelly-39_20240413.csv' Apr 13 22:06:37 srv4hai conf_shelly.sh: SHELLY: PARAMS shName/1:'shelly-39' - shIP/2:'192.168.12.139' Apr 13 22:06:37 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Apr 13 22:06:37 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 13 22:06:37 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139' Apr 13 22:06:37 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 13 22:06:37 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 13 22:06:37 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Apr 13 22:06:37 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Apr 13 22:06:37 srv4hai postfix/relay/smtp[24500]: 6844F6022F: to= , relay=mx01.nic.name[209.131.159.47]:25, delay=0.82, delays=0.02/0/0.43/0.37, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as E4AEE203DB) Apr 13 22:06:37 srv4hai postfix/qmgr[15291]: 6844F6022F: removed Apr 13 22:06:37 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 13 22:06:37 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: '' Apr 13 22:06:37 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook Apr 13 22:06:37 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 22.8° - 38.7% Apr 13 22:06:37 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 22.8°/23.3° - 38.7%/37.1% - SAVED Apr 13 22:06:37 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'° Apr 13 22:06:37 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-13T20:06:37.858Z",#012 "content": {#012 "temp": 22.8,#012 "hum": 38.7,#012 "batt": 100,#012 "csvF": "shelly-39_20240413.csv"#012 },#012 "transaction": "507ad288-03a1-46c6-b8e7-f7a603db762d"#012 }#012}'° Apr 13 22:06:38 srv4hai ping_SP[24297]: SHELLY - running process-id(24297): '24297 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.63 smartphone#01224568 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.63 smartphone' - 'ping_SP_2' - exiting ============== Apr 13 22:06:39 srv4hai bt_scan[24548]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes' Apr 13 22:06:39 srv4hai bt_scan[24548]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61' Apr 13 22:06:45 srv4hai common[24997]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Apr 13 22:06:46 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'5'=1713038806-1713038801 Apr 13 22:06:46 srv4hai check_presence[24997]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes Apr 13 22:06:46 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'5'=1713038806-1713038801 Apr 13 22:06:46 srv4hai check_presence[24997]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Apr 13 22:06:46 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'5'=1713038806-1713038801 Apr 13 22:06:46 srv4hai check_presence[24997]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Apr 13 22:06:46 srv4hai check_presence[24997]: SHELLY (ping_SP__smartphone)-(2) what: 'coming' - persPresent: '(__/LIVE) (BT/__) (__/LIVE)' - anyPresent: 'true' - otherPresent:'true' Apr 13 22:06:46 srv4hai check_presence[24997]: SHELLY (ping_SP__smartphone)-(2)-coming: activate_scenario.shtml: vorraumOn Apr 13 22:06:46 srv4hai activate_scenario[25116]: SHELLY scenario: 'vorraumOn(vorraumon)' started Apr 13 22:06:46 srv4hai activate_scenario[25116]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'2'
finished