activate_scenario.sh
Sat Jul 27 18:10:42 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/27/_0.log)

vorher: 18:10:42.286

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: 18:10:42.347
Dauer: 60 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 18:10:42.236
nachher: 18:10:42.353
Dauer : 119 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/27//scene_vorraumOn_20240727_181042.txt'


syslog

Jul 27 18:07:00 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722096420 - 'ping_SP_0'
Jul 27 18:07:00 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 27 18:07:01 srv4hai CRON[29679]: (root) CMD (/etc/linetest/linetest.sh)
Jul 27 18:07:04 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Jul 27 18:08:01 srv4hai CRON[29694]: (root) CMD (/etc/linetest/linetest.sh)
Jul 27 18:08:09 srv4hai dhcpd[30731]: reuse_lease: lease age 3312 (secs) under 25% threshold, reply with unaltered, existing lease for 192.168.12.44
Jul 27 18:08:09 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.44 from 6a:77:15:11:07:85 via enp2s0
Jul 27 18:08:09 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.44 to 6a:77:15:11:07:85 via enp2s0
Jul 27 18:08:14 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722096494 - 'ping_SP_0'
Jul 27 18:08:14 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 27 18:09:00 srv4hai systemd[1]: Starting Clean php session files...
Jul 27 18:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Jul 27 18:09:01 srv4hai systemd[1]: Started Clean php session files.
Jul 27 18:09:01 srv4hai CRON[29832]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jul 27 18:09:01 srv4hai CRON[29833]: (root) CMD (/etc/linetest/linetest.sh)
Jul 27 18:09:15 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29843, secured, session=
Jul 27 18:09:15 srv4hai dovecot: imap(miglincit)<29843>: Logged out in=443 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 27 18:09:27 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722096567 - 'ping_SP_0'
Jul 27 18:09:27 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 27 18:09:35 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 27 18:09:36 srv4hai fetchmail[1651]: 49501 messages (49501 seen) for tmiglinci at mail.akis.at (-201288106 octets).
Jul 27 18:09:36 srv4hai fetchmail[1651]: 10517 messages (10517 seen) for srozum at mail.akis.at (1265252318 octets).
Jul 27 18:09:37 srv4hai fetchmail[1651]: 24979 messages (24979 seen) for mrozum at mail.akis.at (70792787 octets).
Jul 27 18:09:38 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 27 18:09:51 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jul 27 18:09:51 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 27 18:09:51 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 27 18:09:51 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul 27 18:09:51 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul 27 18:09:51 srv4hai common[29864]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 27 18:10:01 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul 27 18:10:01 srv4hai common[29878]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 27 18:10:01 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul 27 18:10:01 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 27 18:10:01 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 27 18:10:01 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul 27 18:10:01 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul 27 18:10:01 srv4hai common[29891]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 27 18:10:01 srv4hai ping_SP[29878]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jul 27 18:10:01 srv4hai CRON[29914]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jul 27 18:10:01 srv4hai CRON[29913]: (root) CMD (/etc/linetest/linetest.sh)
Jul 27 18:10:01 srv4hai common[29917]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jul 27 18:10:01 srv4hai meter.sh: SHELLY meter.sh started
Jul 27 18:10:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jul 27 18:10:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jul 27 18:10:04 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jul 27 18:10:04 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jul 27 18:10:04 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jul 27 18:10:04 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jul 27 18:10:04 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jul 27 18:10:07 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jul 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jul 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jul 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jul 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jul 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Jul 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jul 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jul 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jul 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jul 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jul 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jul 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jul 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jul 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jul 27 18:10:10 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jul 27 18:10:11 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul 27 18:10:11 srv4hai common[30754]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 27 18:10:11 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul 27 18:10:11 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 27 18:10:11 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 27 18:10:11 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul 27 18:10:11 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul 27 18:10:11 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 27 18:10:11 srv4hai common[30775]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 27 18:10:11 srv4hai common[30778]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 27 18:10:11 srv4hai ping_SP[30754]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jul 27 18:10:11 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'5'=1722096611-1722096606
Jul 27 18:10:11 srv4hai check_presence[30775]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 27 18:10:11 srv4hai check_presence[30775]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jul 27 18:10:11 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'5'=1722096611-1722096606
Jul 27 18:10:11 srv4hai check_presence[30775]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 27 18:10:11 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'5'=1722096611-1722096606
Jul 27 18:10:11 srv4hai check_presence[30775]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 27 18:10:11 srv4hai check_presence[30775]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 27 18:10:12 srv4hai check_presence[30775]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jul 27 18:10:12 srv4hai check_presence[30775]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul 27 18:10:12 srv4hai activate_scenario[30949]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul 27 18:10:12 srv4hai activate_scenario[30949]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Jul 27 18:10:12 srv4hai activate_scenario[30949]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Jul 27 18:10:12 srv4hai postfix/pickup[29657]: 114D86018A: uid=33 from=
Jul 27 18:10:12 srv4hai postfix/cleanup[30999]: 114D86018A: message-id=<20240727161012.114D86018A@mail.viehai.at>
Jul 27 18:10:12 srv4hai postfix/qmgr[8566]: 114D86018A: from=, size=10508, nrcpt=1 (queue active)
Jul 27 18:10:12 srv4hai activate_scenario[30949]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Jul 27 18:10:12 srv4hai proc_url[31016]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/27/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Jul 27 18:10:12 srv4hai activate_scenario[30949]: SHELLY scenario: 'vorraumOn(vorraumon)' took 120 msec, phoneName:'0'
Jul 27 18:10:12 srv4hai ping_SP[29878]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Jul 27 18:10:12 srv4hai postfix/relay/smtp[31012]: 114D86018A: to=, relay=mx01.nic.name[209.131.159.47]:25, delay=0.86, delays=0.02/0.01/0.58/0.26, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as B569D60058)
Jul 27 18:10:12 srv4hai postfix/qmgr[8566]: 114D86018A: removed
Jul 27 18:10:13 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 27 18:10:14 srv4hai ping_SP[29878]: SHELLY - running process-id(29878): '9591 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan#01229878 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01230754 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01230778 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas' - 'ping_SP_0' - exiting ==============
Jul 27 18:10:15 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 27 18:10:15 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jul 27 18:10:15 srv4hai common[31119]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jul 27 18:10:15 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Jul 27 18:10:15 srv4hai check_shelly.sh: SHELLY found '7' active shelly outputs
Jul 27 18:10:15 srv4hai meter.sh: SHELLY meter.sh ended
Jul 27 18:10:21 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul 27 18:10:21 srv4hai common[31148]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 27 18:10:21 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul 27 18:10:21 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 27 18:10:21 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jul 27 18:10:21 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jul 27 18:10:21 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jul 27 18:10:21 srv4hai named[30406]: client @0x7f933004a8d0 192.168.12.252#50157/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 27 18:10:21 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 27 18:10:21 srv4hai common[31163]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 27 18:10:21 srv4hai common[31168]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jul 27 18:10:21 srv4hai ping_SP[31148]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jul 27 18:10:21 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'7'=1722096621-1722096614
Jul 27 18:10:21 srv4hai check_presence[31163]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 27 18:10:21 srv4hai check_presence[31163]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jul 27 18:10:21 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'7'=1722096621-1722096614
Jul 27 18:10:21 srv4hai check_presence[31163]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 27 18:10:21 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'7'=1722096621-1722096614
Jul 27 18:10:21 srv4hai check_presence[31163]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 27 18:10:21 srv4hai check_presence[31163]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 27 18:10:22 srv4hai check_presence[31163]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jul 27 18:10:22 srv4hai check_presence[31163]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul 27 18:10:22 srv4hai activate_scenario[31335]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul 27 18:10:22 srv4hai activate_scenario[31335]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Jul 27 18:10:22 srv4hai activate_scenario[31335]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Jul 27 18:10:22 srv4hai postfix/pickup[29657]: 1433C6018A: uid=33 from=
Jul 27 18:10:22 srv4hai postfix/cleanup[30999]: 1433C6018A: message-id=<20240727161022.1433C6018A@mail.viehai.at>
Jul 27 18:10:22 srv4hai postfix/qmgr[8566]: 1433C6018A: from=, size=16042, nrcpt=1 (queue active)
Jul 27 18:10:22 srv4hai activate_scenario[31335]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Jul 27 18:10:22 srv4hai proc_url[31399]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/27/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Jul 27 18:10:22 srv4hai activate_scenario[31335]: SHELLY scenario: 'vorraumOn(vorraumon)' took 72 msec, phoneName:'0'
Jul 27 18:10:22 srv4hai ping_SP[30754]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Jul 27 18:10:22 srv4hai postfix/relay/smtp[31012]: 1433C6018A: to=, relay=mx02.nic.name[209.131.158.56]:25, delay=0.79, delays=0.01/0/0.41/0.37, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 8E212800F9)
Jul 27 18:10:22 srv4hai postfix/qmgr[8566]: 1433C6018A: removed
Jul 27 18:10:24 srv4hai ping_SP[30754]: SHELLY - running process-id(30754): '9591 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan#01230754 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01231148 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01231168 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas' - 'ping_SP_0' - exiting ==============
Jul 27 18:10:31 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jul 27 18:10:31 srv4hai common[31445]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 27 18:10:31 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jul 27 18:10:31 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: signer "rndc-key" approved
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul 27 18:10:31 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: signer "rndc-key" approved
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul 27 18:10:31 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: signer "rndc-key" approved
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul 27 18:10:31 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: signer "rndc-key" approved
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: signer "rndc-key" approved
Jul 27 18:10:31 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/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 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: signer "rndc-key" approved
Jul 27 18:10:31 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/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 27 18:10:31 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: signer "rndc-key" approved
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/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 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: signer "rndc-key" approved
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jul 27 18:10:31 srv4hai named[30406]: client @0x7f9338022410 192.168.12.252#35829/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 27 18:10:31 srv4hai common[31464]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 27 18:10:31 srv4hai ping_SP[31445]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jul 27 18:10:31 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul 27 18:10:31 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jul 27 18:10:31 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'17'=1722096631-1722096614
Jul 27 18:10:31 srv4hai check_presence[31464]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 27 18:10:31 srv4hai check_presence[31464]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jul 27 18:10:31 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'17'=1722096631-1722096614
Jul 27 18:10:31 srv4hai check_presence[31464]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 27 18:10:31 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'17'=1722096631-1722096614
Jul 27 18:10:31 srv4hai check_presence[31464]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 27 18:10:31 srv4hai check_presence[31464]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 27 18:10:32 srv4hai check_presence[31464]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jul 27 18:10:32 srv4hai check_presence[31464]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul 27 18:10:32 srv4hai activate_scenario[31624]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul 27 18:10:32 srv4hai activate_scenario[31624]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Jul 27 18:10:32 srv4hai activate_scenario[31624]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Jul 27 18:10:32 srv4hai postfix/pickup[29657]: 214556018A: uid=33 from=
Jul 27 18:10:32 srv4hai postfix/cleanup[30999]: 214556018A: message-id=<20240727161032.214556018A@mail.viehai.at>
Jul 27 18:10:32 srv4hai postfix/qmgr[8566]: 214556018A: from=, size=26644, nrcpt=1 (queue active)
Jul 27 18:10:32 srv4hai activate_scenario[31624]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Jul 27 18:10:32 srv4hai proc_url[31689]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/27/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Jul 27 18:10:32 srv4hai activate_scenario[31624]: SHELLY scenario: 'vorraumOn(vorraumon)' took 141 msec, phoneName:'0'
Jul 27 18:10:32 srv4hai ping_SP[31148]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Jul 27 18:10:32 srv4hai postfix/relay/smtp[31012]: 214556018A: to=, relay=mx01.nic.name[209.131.159.47]:25, delay=0.71, delays=0.01/0/0.34/0.36, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 843C960020)
Jul 27 18:10:32 srv4hai postfix/qmgr[8566]: 214556018A: removed
Jul 27 18:10:34 srv4hai ping_SP[31148]: SHELLY - running process-id(31148): '9591 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan#01231148 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01231445 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone' - 'ping_SP_0' - exiting ==============
Jul 27 18:10:36 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.35 from ce:02:e3:29:83:19 via enp2s0
Jul 27 18:10:36 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.35 to ce:02:e3:29:83:19 via enp2s0
Jul 27 18:10:40 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722096640 - 'ping_SP_0'
Jul 27 18:10:40 srv4hai ping_SP[9591]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 27 18:10:41 srv4hai common[31747]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 27 18:10:41 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'5'=1722096641-1722096636
Jul 27 18:10:41 srv4hai check_presence[31747]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 27 18:10:41 srv4hai check_presence[31747]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jul 27 18:10:41 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'5'=1722096641-1722096636
Jul 27 18:10:41 srv4hai check_presence[31747]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 27 18:10:42 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'6'=1722096642-1722096636
Jul 27 18:10:42 srv4hai check_presence[31747]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 27 18:10:42 srv4hai check_presence[31747]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 27 18:10:42 srv4hai check_presence[31747]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jul 27 18:10:42 srv4hai check_presence[31747]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul 27 18:10:42 srv4hai activate_scenario[31896]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul 27 18:10:42 srv4hai activate_scenario[31896]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished