activate_scenario.sh
Sun Sep 22 15:26:56 CEST 2024
scenario: vorraumOn
phoneName: 1
vorher: 15:26:56.973
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: 15:26:57.042
Dauer: 70 msec
phName: 'phoneName:'1''
urls : 1
vorher : 15:26:56.954
nachher: 15:26:57.049
Dauer : 94 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/22//scene_vorraumOn_20240922_152656.txt'
Sep 22 15:23:01 srv4hai CRON[31124]: (root) CMD (/etc/linetest/linetest.sh) Sep 22 15:24:01 srv4hai CRON[31134]: (root) CMD (/etc/linetest/linetest.sh) Sep 22 15:24:17 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets). Sep 22 15:24:18 srv4hai fetchmail[1651]: 52829 messages (52828 seen) for tmiglinci at mail.akis.at (48504688 octets). Sep 22 15:24:18 srv4hai postfix/smtpd[31140]: connect from localhost[127.0.0.1] Sep 22 15:24:18 srv4hai postfix/smtpd[31140]: 227E66004E: client=localhost[127.0.0.1] Sep 22 15:24:18 srv4hai postfix/cleanup[31143]: 227E66004E: message-id=<0102019219e6c61d-e795c43e-cdbc-459e-81bd-8f669e182f99-000000@eu-west-1.amazonses.com> Sep 22 15:24:18 srv4hai postfix/qmgr[8566]: 227E66004E: from=, size=131354, nrcpt=1 (queue active) Sep 22 15:24:18 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:52829 of 52829 (131130 octets) not flushed Sep 22 15:24:18 srv4hai postfix/smtpd[31140]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 Sep 22 15:24:18 srv4hai postfix/local[31144]: 227E66004E: to= , relay=local, delay=0.14, delays=0.12/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail) Sep 22 15:24:18 srv4hai postfix/qmgr[8566]: 227E66004E: removed Sep 22 15:24:18 srv4hai fetchmail[1651]: 10759 messages (10759 seen) for srozum at mail.akis.at (1304814477 octets). Sep 22 15:24:19 srv4hai fetchmail[1651]: 26075 messages (26075 seen) for mrozum at mail.akis.at (236711973 octets). Sep 22 15:24:19 srv4hai fetchmail[1651]: 1144 messages (1144 seen) for admin@bastelstube.wien at pop3.world4you.com (51909737 octets). Sep 22 15:25:01 srv4hai CRON[31149]: (root) CMD (/etc/linetest/linetest.sh) Sep 22 15:25:06 srv4hai common[31155]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh Sep 22 15:25:06 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um' Sep 22 15:25:06 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs Sep 22 15:25:06 srv4hai common[31178]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh Sep 22 15:25:06 srv4hai named[30406]: resolver priming query complete Sep 22 15:25:07 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=- Sep 22 15:25:07 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=- Sep 22 15:25:07 srv4hai common.sh: SHELLY: BTstatus[2]:'NO_BTdweet' dweetAge:''=- Sep 22 15:25:07 srv4hai common[31205]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh Sep 22 15:25:07 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um' Sep 22 15:25:07 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs Sep 22 15:25:07 srv4hai common[31228]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh Sep 22 15:25:07 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=- Sep 22 15:25:07 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=- Sep 22 15:25:07 srv4hai common.sh: SHELLY: BTstatus[2]:'NO_BTdweet' dweetAge:''=- Sep 22 15:25:44 srv4hai named[30406]: resolver priming query complete Sep 22 15:25:45 srv4hai named[30406]: resolver priming query complete Sep 22 15:26:01 srv4hai CRON[31258]: (root) CMD (/etc/linetest/linetest.sh) Sep 22 15:26:20 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0 Sep 22 15:26:20 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0 Sep 22 15:26:20 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Sep 22 15:26:20 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.5 Sep 22 15:26:20 srv4hai dhcpd[30731]: execute_statement argv[2] = btscan1 Sep 22 15:26:20 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0 Sep 22 15:26:20 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0 Sep 22 15:26:20 srv4hai named[30406]: client @0x7f932c012aa0 192.168.12.252#54435/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 22 15:26:20 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#49195/key rndc-key: signer "rndc-key" approved Sep 22 15:26:20 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#49195/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT Sep 22 15:26:20 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#49195/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635" Sep 22 15:26:20 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#49195/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A Sep 22 15:26:20 srv4hai named[30406]: client @0x7f93506682d0 192.168.12.252#49195/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5 Sep 22 15:26:20 srv4hai dhcpd[30731]: Added new forward map from btscan1.viehai.at to 192.168.12.5 Sep 22 15:26:20 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1' Sep 22 15:26:20 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#36963/key rndc-key: signer "rndc-key" approved Sep 22 15:26:20 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#36963/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR Sep 22 15:26:20 srv4hai named[30406]: client @0x7f93380c3840 192.168.12.252#36963/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at. Sep 22 15:26:20 srv4hai dhcpd[30731]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at Sep 22 15:26:20 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted Sep 22 15:26:31 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0 Sep 22 15:26:31 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0 Sep 22 15:26:31 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh Sep 22 15:26:31 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.5 Sep 22 15:26:31 srv4hai dhcpd[30731]: execute_statement argv[2] = btscan1 Sep 22 15:26:31 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0 Sep 22 15:26:31 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0 Sep 22 15:26:31 srv4hai named[30406]: client @0x7f934c0557f0 192.168.12.252#45913/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN) Sep 22 15:26:31 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#44855/key rndc-key: signer "rndc-key" approved Sep 22 15:26:31 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#44855/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT Sep 22 15:26:31 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#44855/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635" Sep 22 15:26:31 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#44855/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A Sep 22 15:26:31 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#44855/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5 Sep 22 15:26:31 srv4hai dhcpd[30731]: Added new forward map from btscan1.viehai.at to 192.168.12.5 Sep 22 15:26:31 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1' Sep 22 15:26:31 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#48445/key rndc-key: signer "rndc-key" approved Sep 22 15:26:31 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#48445/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR Sep 22 15:26:31 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#48445/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at. Sep 22 15:26:31 srv4hai dhcpd[30731]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at Sep 22 15:26:31 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted Sep 22 15:26:32 srv4hai named[30406]: resolver priming query complete Sep 22 15:26:46 srv4hai common[31280]: SHELLY common.sh inkludiert von ./bt_scan.sh Sep 22 15:26:46 srv4hai common[31297]: SHELLY common.sh inkludiert von ./bt_scan.sh Sep 22 15:26:46 srv4hai bt_scan[31280]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes' Sep 22 15:26:46 srv4hai bt_scan[31280]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61' Sep 22 15:26:46 srv4hai common[31325]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Sep 22 15:26:46 srv4hai ping_SP[31325]: SHELLY ping_SP.sh started from bt_scan, user:'www-data' Sep 22 15:26:46 srv4hai common[31346]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Sep 22 15:26:46 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1727011606-1727011606 Sep 22 15:26:46 srv4hai check_presence[31346]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes Sep 22 15:26:46 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1727011606-1727011606 Sep 22 15:26:46 srv4hai check_presence[31346]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Sep 22 15:26:46 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1727011606-1727011606 Sep 22 15:26:46 srv4hai check_presence[31346]: 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 Sep 22 15:26:46 srv4hai check_presence[31346]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false' Sep 22 15:26:46 srv4hai postfix/pickup[30089]: BB09263463: uid=33 from= Sep 22 15:26:46 srv4hai postfix/cleanup[31450]: BB09263463: message-id=<20240922132646.BB09263463@mail.viehai.at> Sep 22 15:26:46 srv4hai postfix/qmgr[8566]: BB09263463: from= , size=11061, nrcpt=1 (queue active) Sep 22 15:26:46 srv4hai named[30406]: resolver priming query complete Sep 22 15:26:46 srv4hai check_presence[31346]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_nasszeile_um) - sceneONsmall(vorraumOn) Sep 22 15:26:46 srv4hai check_presence[31346]: SHELLY (ping_SP__bt_scan)-(0)-coming: NOT activate_scenario.shtml: vorraumOn Sep 22 15:26:46 srv4hai ping_SP[31325]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan Sep 22 15:26:46 srv4hai ping_SP[31325]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly//meter/ping_SP_0' @~1727011606 Sep 22 15:26:47 srv4hai named[30406]: resolver priming query complete Sep 22 15:26:47 srv4hai postfix/relay/smtp[31457]: BB09263463: to= , relay=mx04.nic.name[209.131.160.34]:25, delay=1.2, delays=0.02/0.01/0.9/0.28, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as B9AA88001D) Sep 22 15:26:47 srv4hai postfix/qmgr[8566]: BB09263463: removed Sep 22 15:26:56 srv4hai bt_scan[31297]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes' Sep 22 15:26:56 srv4hai bt_scan[31297]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62' Sep 22 15:26:56 srv4hai common[31510]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh Sep 22 15:26:56 srv4hai ping_SP[31510]: SHELLY ping_SP.sh started from bt_scan, user:'www-data' Sep 22 15:26:56 srv4hai common[31532]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh Sep 22 15:26:56 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'2'=1727011616-1727011614 Sep 22 15:26:56 srv4hai check_presence[31532]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes Sep 22 15:26:56 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'2'=1727011616-1727011614 Sep 22 15:26:56 srv4hai check_presence[31532]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes Sep 22 15:26:56 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'2'=1727011616-1727011614 Sep 22 15:26:56 srv4hai check_presence[31532]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No Sep 22 15:26:56 srv4hai check_presence[31532]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(BT/__) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true' Sep 22 15:26:56 srv4hai check_presence[31532]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_nasszeile_um) - sceneONsmall(vorraumOn) Sep 22 15:26:56 srv4hai check_presence[31532]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn Sep 22 15:26:56 srv4hai activate_scenario[31678]: SHELLY scenario: 'vorraumOn(vorraumon)' started Sep 22 15:26:56 srv4hai activate_scenario[31678]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'
finished