activate_scenario.sh
Mon Jul 1 07:05:57 CEST 2024
scenario: vorraumOn
phoneName: 0

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/07/01/_0.log)

vorher: 07:05:57.315

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: 07:05:57.347
Dauer: 31 msec phName: 'phoneName:'0''


scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

urls : 1
vorher : 07:05:57.271
nachher: 07:05:57.353
Dauer : 84 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/01//scene_vorraumOn_20240701_070557.txt'


syslog

Jul  1 07:02:01 srv4hai CRON[2155]: (root) CMD (/etc/linetest/linetest.sh)
Jul  1 07:02:26 srv4hai ping_SP[20399]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1719810146 - 'ping_SP_0'
Jul  1 07:02:26 srv4hai ping_SP[20399]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  1 07:02:38 srv4hai ping_SP[484]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1719810158 - 'ping_SP_1'
Jul  1 07:02:38 srv4hai ping_SP[484]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  1 07:03:01 srv4hai CRON[2215]: (root) CMD (/etc/linetest/linetest.sh)
Jul  1 07:03:40 srv4hai ping_SP[20399]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1719810220 - 'ping_SP_0'
Jul  1 07:03:40 srv4hai ping_SP[20399]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  1 07:03:51 srv4hai ping_SP[484]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1719810231 - 'ping_SP_1'
Jul  1 07:03:51 srv4hai ping_SP[484]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  1 07:04:01 srv4hai CRON[2278]: (root) CMD (/etc/linetest/linetest.sh)
Jul  1 07:04:09 srv4hai postfix/anvil[2083]: statistics: max connection rate 1/60s for (smtp:156.96.46.78) at Jul  1 07:00:49
Jul  1 07:04:09 srv4hai postfix/anvil[2083]: statistics: max connection count 1 for (smtp:156.96.46.78) at Jul  1 07:00:49
Jul  1 07:04:09 srv4hai postfix/anvil[2083]: statistics: max cache size 1 at Jul  1 07:00:49
Jul  1 07:04:25 srv4hai postfix/smtpd[2289]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  1 07:04:27 srv4hai named[30406]: connection refused resolving '78.46.96.156.in-addr.arpa/PTR/IN': 192.34.59.231#53
Jul  1 07:04:35 srv4hai postfix/smtpd[2289]: connect from unknown[156.96.46.78]
Jul  1 07:04:36 srv4hai postfix/smtpd[2289]: warning: unknown[156.96.46.78]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul  1 07:04:36 srv4hai postfix/smtpd[2289]: disconnect from unknown[156.96.46.78] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul  1 07:05:01 srv4hai CRON[2315]: (root) CMD (/etc/linetest/linetest.sh)
Jul  1 07:05:03 srv4hai ping_SP[20399]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1719810303 - 'ping_SP_0'
Jul  1 07:05:04 srv4hai ping_SP[484]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1719810304 - 'ping_SP_1'
Jul  1 07:05:04 srv4hai ping_SP[484]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  1 07:05:06 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:06 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:06 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul  1 07:05:06 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul  1 07:05:06 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul  1 07:05:06 srv4hai common[2349]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul  1 07:05:16 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul  1 07:05:16 srv4hai common[2373]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul  1 07:05:16 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:16 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:16 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul  1 07:05:16 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul  1 07:05:16 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul  1 07:05:16 srv4hai common[2386]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul  1 07:05:16 srv4hai ping_SP[2373]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jul  1 07:05:26 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul  1 07:05:26 srv4hai common[2439]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul  1 07:05:26 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:26 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:26 srv4hai common[2453]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul  1 07:05:26 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul  1 07:05:26 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul  1 07:05:26 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul  1 07:05:26 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  1 07:05:26 srv4hai common[2462]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul  1 07:05:26 srv4hai ping_SP[2439]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jul  1 07:05:26 srv4hai ping_SP[20399]: SHELLY (0) - ping 192.168.12.61 2 sucessfully  @~1719810326 - 'ping_SP_0'
Jul  1 07:05:26 srv4hai ping_SP[20399]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  1 07:05:26 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'2'=1719810326-1719810324
Jul  1 07:05:26 srv4hai check_presence[2453]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul  1 07:05:26 srv4hai check_presence[2453]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jul  1 07:05:26 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'2'=1719810326-1719810324
Jul  1 07:05:26 srv4hai check_presence[2453]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jul  1 07:05:27 srv4hai check_presence[2453]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jul  1 07:05:27 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1719810327-1719810324
Jul  1 07:05:27 srv4hai check_presence[2453]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Jul  1 07:05:27 srv4hai check_presence[2453]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul  1 07:05:27 srv4hai check_presence[2453]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jul  1 07:05:27 srv4hai check_presence[2453]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul  1 07:05:27 srv4hai activate_scenario[2647]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul  1 07:05:27 srv4hai activate_scenario[2647]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Jul  1 07:05:27 srv4hai activate_scenario[2647]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Jul  1 07:05:27 srv4hai postfix/pickup[898]: 2B07862A2C: uid=33 from=
Jul  1 07:05:27 srv4hai postfix/cleanup[2697]: 2B07862A2C: message-id=<20240701050527.2B07862A2C@mail.viehai.at>
Jul  1 07:05:27 srv4hai postfix/qmgr[8566]: 2B07862A2C: from=, size=7694, nrcpt=1 (queue active)
Jul  1 07:05:27 srv4hai activate_scenario[2647]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Jul  1 07:05:27 srv4hai proc_url[2714]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/01/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Jul  1 07:05:27 srv4hai activate_scenario[2647]: SHELLY scenario: 'vorraumOn(vorraumon)' took 88 msec, phoneName:'0'
Jul  1 07:05:27 srv4hai ping_SP[2373]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Jul  1 07:05:28 srv4hai postfix/relay/smtp[2710]: 2B07862A2C: to=, relay=mx04.nic.name[209.131.160.34]:25, delay=1.4, delays=0.04/0.01/0.92/0.4, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 529BE803BC)
Jul  1 07:05:28 srv4hai postfix/qmgr[8566]: 2B07862A2C: removed
Jul  1 07:05:29 srv4hai ping_SP[2373]: SHELLY - running process-id(2373): '2373 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#0122439 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#0122462 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas#01220399 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ==============
Jul  1 07:05:36 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul  1 07:05:36 srv4hai common[2757]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul  1 07:05:36 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:36 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:36 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul  1 07:05:36 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul  1 07:05:36 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul  1 07:05:36 srv4hai named[30406]: client @0x7f934c0645f0 192.168.12.252#42691/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  1 07:05:36 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  1 07:05:36 srv4hai common[2775]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul  1 07:05:36 srv4hai common[2778]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul  1 07:05:36 srv4hai ping_SP[2757]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jul  1 07:05:36 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'12'=1719810336-1719810324
Jul  1 07:05:36 srv4hai check_presence[2775]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul  1 07:05:36 srv4hai check_presence[2775]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jul  1 07:05:36 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'12'=1719810336-1719810324
Jul  1 07:05:36 srv4hai check_presence[2775]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jul  1 07:05:37 srv4hai check_presence[2775]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jul  1 07:05:37 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'13'=1719810337-1719810324
Jul  1 07:05:37 srv4hai check_presence[2775]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Jul  1 07:05:37 srv4hai check_presence[2775]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul  1 07:05:37 srv4hai check_presence[2775]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jul  1 07:05:37 srv4hai check_presence[2775]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul  1 07:05:37 srv4hai activate_scenario[2944]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul  1 07:05:37 srv4hai activate_scenario[2944]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Jul  1 07:05:37 srv4hai activate_scenario[2944]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Jul  1 07:05:37 srv4hai postfix/pickup[898]: 4623B62A2C: uid=33 from=
Jul  1 07:05:37 srv4hai postfix/cleanup[2697]: 4623B62A2C: message-id=<20240701050537.4623B62A2C@mail.viehai.at>
Jul  1 07:05:37 srv4hai postfix/qmgr[8566]: 4623B62A2C: from=, size=12650, nrcpt=1 (queue active)
Jul  1 07:05:37 srv4hai activate_scenario[2944]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Jul  1 07:05:37 srv4hai proc_url[3008]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/01/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Jul  1 07:05:37 srv4hai activate_scenario[2944]: SHELLY scenario: 'vorraumOn(vorraumon)' took 132 msec, phoneName:'0'
Jul  1 07:05:37 srv4hai ping_SP[2439]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Jul  1 07:05:38 srv4hai postfix/relay/smtp[2710]: 4623B62A2C: to=, relay=mx03.nic.name[209.131.161.54]:25, delay=0.82, delays=0.01/0/0.55/0.26, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as DD98A80085)
Jul  1 07:05:38 srv4hai postfix/qmgr[8566]: 4623B62A2C: removed
Jul  1 07:05:39 srv4hai ping_SP[2439]: SHELLY - running process-id(2439): '2439 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#0122757 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#0122778 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas#01220399 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ==============
Jul  1 07:05:43 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul  1 07:05:43 srv4hai fetchmail[1651]: 47673 messages (47670 seen) for tmiglinci at mail.akis.at (-356233242 octets).
Jul  1 07:05:43 srv4hai postfix/smtpd[2289]: connect from localhost[127.0.0.1]
Jul  1 07:05:43 srv4hai postfix/smtpd[2289]: C5BBD62A2B: client=localhost[127.0.0.1]
Jul  1 07:05:43 srv4hai postfix/cleanup[2697]: C5BBD62A2B: message-id=
Jul  1 07:05:43 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:47671 of 47673 (3017 octets) not flushed
Jul  1 07:05:43 srv4hai postfix/qmgr[8566]: C5BBD62A2B: from=, size=3285, nrcpt=1 (queue active)
Jul  1 07:05:43 srv4hai postfix/local[3046]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  1 07:05:43 srv4hai postfix/local[3046]: C5BBD62A2B: to=, relay=local, delay=0.06, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  1 07:05:43 srv4hai postfix/qmgr[8566]: C5BBD62A2B: removed
Jul  1 07:05:43 srv4hai postfix/smtpd[2289]: DA54D62A2B: client=localhost[127.0.0.1]
Jul  1 07:05:43 srv4hai postfix/cleanup[2697]: DA54D62A2B: message-id=<20240701050527.2B07862A2C@mail.viehai.at>
Jul  1 07:05:43 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:47672 of 47673 (8675 octets) not flushed
Jul  1 07:05:43 srv4hai postfix/qmgr[8566]: DA54D62A2B: from=, size=8966, nrcpt=1 (queue active)
Jul  1 07:05:43 srv4hai postfix/local[3046]: DA54D62A2B: to=, relay=local, delay=0.06, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  1 07:05:43 srv4hai postfix/qmgr[8566]: DA54D62A2B: removed
Jul  1 07:05:43 srv4hai postfix/smtpd[2289]: EF8B162A2B: client=localhost[127.0.0.1]
Jul  1 07:05:44 srv4hai postfix/cleanup[2697]: EF8B162A2B: message-id=<20240701050537.4623B62A2C@mail.viehai.at>
Jul  1 07:05:44 srv4hai postfix/qmgr[8566]: EF8B162A2B: from=, size=13922, nrcpt=1 (queue active)
Jul  1 07:05:44 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:47673 of 47673 (13618 octets) not flushed
Jul  1 07:05:44 srv4hai postfix/smtpd[2289]: disconnect from localhost[127.0.0.1] ehlo=1 mail=3 rcpt=3 data=3 quit=1 commands=11
Jul  1 07:05:44 srv4hai postfix/local[3046]: EF8B162A2B: to=, relay=local, delay=0.06, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  1 07:05:44 srv4hai postfix/qmgr[8566]: EF8B162A2B: removed
Jul  1 07:05:44 srv4hai fetchmail[1651]: 10389 messages (10389 seen) for srozum at mail.akis.at (1248963384 octets).
Jul  1 07:05:44 srv4hai fetchmail[1651]: 24472 messages (24472 seen) for mrozum at mail.akis.at (-7583682 octets).
Jul  1 07:05:45 srv4hai fetchmail[1651]: 1138 messages (1138 seen) for admin@bastelstube.wien at pop3.world4you.com (51557211 octets).
Jul  1 07:05:46 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul  1 07:05:46 srv4hai common[3056]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul  1 07:05:46 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:46 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:46 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:46 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul  1 07:05:46 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:46 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: signer "rndc-key" approved
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul  1 07:05:46 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:46 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul  1 07:05:46 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:46 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: signer "rndc-key" approved
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul  1 07:05:46 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: signer "rndc-key" approved
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul  1 07:05:46 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: signer "rndc-key" approved
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul  1 07:05:46 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul  1 07:05:46 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: signer "rndc-key" approved
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/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.
Jul  1 07:05:46 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: signer "rndc-key" approved
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/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.
Jul  1 07:05:46 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: signer "rndc-key" approved
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/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.
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: signer "rndc-key" approved
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul  1 07:05:46 srv4hai named[30406]: client @0x7f93380793b0 192.168.12.252#49701/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.
Jul  1 07:05:46 srv4hai common[3073]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul  1 07:05:46 srv4hai ping_SP[3056]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jul  1 07:05:46 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul  1 07:05:46 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul  1 07:05:46 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul  1 07:05:46 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul  1 07:05:46 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul  1 07:05:46 srv4hai common[3095]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul  1 07:05:46 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'5'=1719810346-1719810341
Jul  1 07:05:46 srv4hai check_presence[3073]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul  1 07:05:46 srv4hai check_presence[3073]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jul  1 07:05:46 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'5'=1719810346-1719810341
Jul  1 07:05:46 srv4hai check_presence[3073]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jul  1 07:05:46 srv4hai check_presence[3073]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jul  1 07:05:47 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'5'=1719810346-1719810341
Jul  1 07:05:47 srv4hai check_presence[3073]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Jul  1 07:05:47 srv4hai check_presence[3073]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul  1 07:05:47 srv4hai check_presence[3073]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jul  1 07:05:47 srv4hai check_presence[3073]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul  1 07:05:47 srv4hai activate_scenario[3241]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul  1 07:05:47 srv4hai activate_scenario[3241]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Jul  1 07:05:47 srv4hai activate_scenario[3241]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Jul  1 07:05:47 srv4hai postfix/pickup[898]: 374DA62A2C: uid=33 from=
Jul  1 07:05:47 srv4hai postfix/cleanup[2697]: 374DA62A2C: message-id=<20240701050547.374DA62A2C@mail.viehai.at>
Jul  1 07:05:47 srv4hai postfix/qmgr[8566]: 374DA62A2C: from=, size=27650, nrcpt=1 (queue active)
Jul  1 07:05:47 srv4hai activate_scenario[3241]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Jul  1 07:05:47 srv4hai proc_url[3305]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/01/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Jul  1 07:05:47 srv4hai activate_scenario[3241]: SHELLY scenario: 'vorraumOn(vorraumon)' took 101 msec, phoneName:'0'
Jul  1 07:05:47 srv4hai ping_SP[2757]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Jul  1 07:05:48 srv4hai postfix/relay/smtp[2710]: 374DA62A2C: to=, relay=mx02.nic.name[209.131.158.56]:25, delay=1.1, delays=0.04/0/0.68/0.37, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as F180F2011C)
Jul  1 07:05:48 srv4hai postfix/qmgr[8566]: 374DA62A2C: removed
Jul  1 07:05:49 srv4hai ping_SP[2757]: SHELLY - running process-id(2757): '2757 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#0123056 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#0123095 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas#01220399 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ==============
Jul  1 07:05:56 srv4hai common[3350]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul  1 07:05:56 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul  1 07:05:56 srv4hai common[3365]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul  1 07:05:56 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:56 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul  1 07:05:56 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul  1 07:05:56 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul  1 07:05:56 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul  1 07:05:56 srv4hai common[3378]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul  1 07:05:56 srv4hai ping_SP[3365]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jul  1 07:05:57 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'16'=1719810357-1719810341
Jul  1 07:05:57 srv4hai check_presence[3350]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul  1 07:05:57 srv4hai check_presence[3350]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jul  1 07:05:57 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'16'=1719810357-1719810341
Jul  1 07:05:57 srv4hai check_presence[3350]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jul  1 07:05:57 srv4hai check_presence[3350]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jul  1 07:05:57 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'16'=1719810357-1719810341
Jul  1 07:05:57 srv4hai check_presence[3350]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Jul  1 07:05:57 srv4hai check_presence[3350]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul  1 07:05:57 srv4hai check_presence[3350]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jul  1 07:05:57 srv4hai check_presence[3350]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul  1 07:05:57 srv4hai activate_scenario[3531]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul  1 07:05:57 srv4hai activate_scenario[3531]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished