activate_scenario.sh
Mon Jun 24 11:31:40 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/06/24/_0.log)

vorher: 11:31:40.630

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: 11:31:40.717
Dauer: 86 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 11:31:40.612
nachher: 11:31:40.723
Dauer : 111 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/24//scene_vorraumOn_20240624_113140.txt'


syslog

Jun 24 11:28:01 srv4hai CRON[14555]: (root) CMD (/etc/linetest/linetest.sh)
Jun 24 11:28:27 srv4hai named[30406]: resolver priming query complete
Jun 24 11:28:35 srv4hai named[30406]: resolver priming query complete
Jun 24 11:28:37 srv4hai named[30406]: resolver priming query complete
Jun 24 11:28:38 srv4hai named[30406]: resolver priming query complete
Jun 24 11:28:39 srv4hai named[30406]: resolver priming query complete
Jun 24 11:28:41 srv4hai named[30406]: resolver priming query complete
Jun 24 11:28:45 srv4hai postfix/scache[14411]: statistics: start interval Jun 24 11:25:23
Jun 24 11:28:45 srv4hai postfix/scache[14411]: statistics: domain lookup hits=0 miss=18 success=0%
Jun 24 11:28:45 srv4hai postfix/scache[14411]: statistics: address lookup hits=0 miss=180 success=0%
Jun 24 11:28:47 srv4hai named[30406]: resolver priming query complete
Jun 24 11:28:51 srv4hai ping_SP[27089]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1719221331 - 'ping_SP_0'
Jun 24 11:28:51 srv4hai ping_SP[27089]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 24 11:28:51 srv4hai named[30406]: resolver priming query complete
Jun 24 11:28:53 srv4hai named[30406]: resolver priming query complete
Jun 24 11:28:55 srv4hai named[30406]: resolver priming query complete
Jun 24 11:28:57 srv4hai named[30406]: resolver priming query complete
Jun 24 11:28:59 srv4hai dhcpd[30731]: DHCPDISCOVER from c0:49:ef:8a:c9:d8 via enp2s0
Jun 24 11:28:59 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jun 24 11:28:59 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jun 24 11:28:59 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.139
Jun 24 11:28:59 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-39
Jun 24 11:28:59 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.139 (192.168.12.252) from c0:49:ef:8a:c9:d8 via enp2s0
Jun 24 11:28:59 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.139 to c0:49:ef:8a:c9:d8 via enp2s0
Jun 24 11:28:59 srv4hai named[30406]: client @0x7f931c03b370 192.168.12.252#57823/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-39.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun 24 11:28:59 srv4hai named[30406]: client @0x7f932c0b5090 192.168.12.252#40679/key rndc-key: signer "rndc-key" approved
Jun 24 11:28:59 srv4hai named[30406]: client @0x7f932c0b5090 192.168.12.252#40679/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' TXT
Jun 24 11:28:59 srv4hai named[30406]: client @0x7f932c0b5090 192.168.12.252#40679/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' TXT "314be662bb43914e78b269d3f3bc9f38c7"
Jun 24 11:28:59 srv4hai named[30406]: client @0x7f932c0b5090 192.168.12.252#40679/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-39.viehai.at' A
Jun 24 11:28:59 srv4hai named[30406]: client @0x7f932c0b5090 192.168.12.252#40679/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-39.viehai.at' A 192.168.12.139
Jun 24 11:28:59 srv4hai dhcpd[30731]: Added new forward map from shelly-39.viehai.at to 192.168.12.139
Jun 24 11:28:59 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#49223/key rndc-key: signer "rndc-key" approved
Jun 24 11:28:59 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#49223/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '139.12.168.192.in-addr.arpa' PTR
Jun 24 11:28:59 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#49223/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.
Jun 24 11:28:59 srv4hai dhcpd[30731]: Added reverse map from 139.12.168.192.in-addr.arpa. to shelly-39.viehai.at
Jun 24 11:28:59 srv4hai common[14602]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jun 24 11:28:59 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-39' - shIP/2:'' perform:'conf'
Jun 24 11:29:00 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jun 24 11:29:00 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jun 24 11:29:00 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}'
Jun 24 11:29:00 srv4hai named[30406]: resolver priming query complete
Jun 24 11:29:01 srv4hai named[30406]: resolver priming query complete
Jun 24 11:29:01 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 '.''
Jun 24 11:29:01 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jun 24 11:29:01 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jun 24 11:29:01 srv4hai CRON[14653]: (root) CMD (/etc/linetest/linetest.sh)
Jun 24 11:29:05 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun 24 11:29:05 srv4hai named[30406]: resolver priming query complete
Jun 24 11:29:07 srv4hai common[14677]: SHELLY common.sh inkludiert von ./ht_shelly.sh
Jun 24 11:29:07 srv4hai ht_shelly.sh: SHELLY - QUERY_STRING: gen=2&temp=24.400000&hum=47.300000&id=C049EF8AC9D8&batt=100&volt=6.770000
Jun 24 11:29:07 srv4hai ht_shelly.sh: SHELLY - storing into '/srv/www/viehai/shelly//wetter/2024/06/shelly-39_20240624.csv'
Jun 24 11:29:07 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-39' - shIP/2:'192.168.12.139'
Jun 24 11:29:07 srv4hai conf_shelly.sh: SHELLY: usage/name 'Wetterwerte Balkon' already set for '192.168.12.139'
Jun 24 11:29:07 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}'
Jun 24 11:29:08 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 '.''
Jun 24 11:29:08 srv4hai conf_shelly.sh: SHELLY:'shelly-39' conf(0)-ret: ''
Jun 24 11:29:08 srv4hai conf_shelly.sh: SHELLY:'shelly-39' no WebHook
Jun 24 11:29:08 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 24.4° - 47.3%
Jun 24 11:29:08 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: 24.4°/23.9° - 47.3%/50.2% - SAVED
Jun 24 11:29:08 srv4hai ht_shelly.sh: SHELLY C049EF8AC9D8 / shelly-39 / Wetterwerte Balkon: batt='100'°
Jun 24 11:29:08 srv4hai named[30406]: resolver priming query complete
Jun 24 11:29:08 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-06-24T09:29:08.597Z",#012    "content": {#012      "temp": 24.4,#012      "hum": 47.3,#012      "batt": 100,#012      "csvF": "shelly-39_20240624.csv"#012    },#012    "transaction": "15e6248c-319f-45c2-9105-e4e83a5d22ff"#012  }#012}'°
Jun 24 11:29:26 srv4hai fetchmail[1651]: 47122 messages (47122 seen) for tmiglinci at mail.akis.at (-402055833 octets).
Jun 24 11:29:26 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14786, secured, session=
Jun 24 11:29:26 srv4hai dovecot: imap(miglincit)<14786>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun 24 11:29:30 srv4hai fetchmail[1651]: 10356 messages (10356 seen) for srozum at mail.akis.at (1246519167 octets).
Jun 24 11:29:34 srv4hai fetchmail[1651]: 24307 messages (24307 seen) for mrozum at mail.akis.at (-69660805 octets).
Jun 24 11:29:35 srv4hai fetchmail[1651]: 1135 messages (1135 seen) for admin@bastelstube.wien at pop3.world4you.com (51504712 octets).
Jun 24 11:30:01 srv4hai CRON[14818]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Jun 24 11:30:01 srv4hai CRON[14819]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jun 24 11:30:01 srv4hai CRON[14820]: (root) CMD (/etc/linetest/linetest.sh)
Jun 24 11:30:01 srv4hai common[14821]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jun 24 11:30:01 srv4hai meter.sh: SHELLY meter.sh started
Jun 24 11:30:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jun 24 11:30:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jun 24 11:30:04 srv4hai ping_SP[27089]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1719221404 - 'ping_SP_0'
Jun 24 11:30:04 srv4hai ping_SP[27089]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 24 11:30:05 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 24 11:30:08 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 24 11:30:11 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jun 24 11:30:11 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jun 24 11:30:11 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jun 24 11:30:11 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jun 24 11:30:11 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jun 24 11:30:14 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 24 11:30:17 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 24 11:30:17 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jun 24 11:30:17 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jun 24 11:30:17 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jun 24 11:30:17 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jun 24 11:30:17 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jun 24 11:30:19 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 24 11:30:19 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jun 24 11:30:19 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jun 24 11:30:19 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jun 24 11:30:19 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jun 24 11:30:19 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jun 24 11:30:19 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jun 24 11:30:19 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jun 24 11:30:19 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jun 24 11:30:19 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jun 24 11:30:19 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jun 24 11:30:22 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun 24 11:30:22 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jun 24 11:30:22 srv4hai common[15743]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jun 24 11:30:22 srv4hai postfix/qmgr[31004]: 9C9C763A02: from=, size=782, nrcpt=1 (queue active)
Jun 24 11:30:22 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
Jun 24 11:30:22 srv4hai check_shelly.sh: SHELLY found '7' active shelly outputs
Jun 24 11:30:22 srv4hai meter.sh: SHELLY meter.sh ended
Jun 24 11:30:22 srv4hai postfix/smtp[15756]: connect to bounce.indiatimes.com[172.29.52.250]:25: Network is unreachable
Jun 24 11:30:22 srv4hai postfix/smtp[15756]: 9C9C763A02: to=, relay=none, delay=353305, delays=353305/0.01/0.08/0, dsn=4.4.1, status=deferred (connect to bounce.indiatimes.com[172.29.52.250]:25: Network is unreachable)
Jun 24 11:30:59 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jun 24 11:30:59 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 24 11:30:59 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 24 11:30:59 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun 24 11:30:59 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun 24 11:30:59 srv4hai common[15793]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 24 11:31:01 srv4hai CRON[15806]: (root) CMD (/etc/linetest/linetest.sh)
Jun 24 11:31:09 srv4hai systemd[1]: Started Run anacron jobs.
Jun 24 11:31:09 srv4hai anacron[15815]: Anacron 2.3 started on 2024-06-24
Jun 24 11:31:09 srv4hai anacron[15815]: Normal exit (0 jobs run)
Jun 24 11:31:09 srv4hai systemd[1]: anacron.service: Succeeded.
Jun 24 11:31:09 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun 24 11:31:09 srv4hai common[15820]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 24 11:31:09 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun 24 11:31:09 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 24 11:31:09 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 24 11:31:09 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun 24 11:31:09 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun 24 11:31:09 srv4hai common[15834]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 24 11:31:09 srv4hai ping_SP[15820]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun 24 11:31:19 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun 24 11:31:19 srv4hai common[15868]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 24 11:31:19 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun 24 11:31:19 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 24 11:31:19 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 24 11:31:19 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun 24 11:31:19 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun 24 11:31:19 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun 24 11:31:19 srv4hai common[15911]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 24 11:31:19 srv4hai common[15919]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 24 11:31:19 srv4hai ping_SP[15868]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun 24 11:31:19 srv4hai named[30406]: resolver priming query complete
Jun 24 11:31:20 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_older_60sec' dweetAge:'8389'=1719221480-1719213091
Jun 24 11:31:20 srv4hai check_presence[15911]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun 24 11:31:20 srv4hai check_presence[15911]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jun 24 11:31:20 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_older_60sec' dweetAge:'8389'=1719221480-1719213091
Jun 24 11:31:20 srv4hai check_presence[15911]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun 24 11:31:20 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_older_60sec' dweetAge:'8389'=1719221480-1719213091
Jun 24 11:31:20 srv4hai check_presence[15911]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 24 11:31:20 srv4hai check_presence[15911]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jun 24 11:31:20 srv4hai check_presence[15911]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_pcON) - sceneONsmall(vorraumOn)
Jun 24 11:31:20 srv4hai check_presence[15911]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun 24 11:31:20 srv4hai activate_scenario[16075]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun 24 11:31:20 srv4hai activate_scenario[16075]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Jun 24 11:31:20 srv4hai activate_scenario[16075]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Jun 24 11:31:20 srv4hai postfix/pickup[11313]: 7EEE4631D9: uid=33 from=
Jun 24 11:31:20 srv4hai postfix/cleanup[16125]: 7EEE4631D9: message-id=<20240624093120.7EEE4631D9@mail.viehai.at>
Jun 24 11:31:20 srv4hai postfix/qmgr[31004]: 7EEE4631D9: from=, size=18653, nrcpt=1 (queue active)
Jun 24 11:31:20 srv4hai activate_scenario[16075]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Jun 24 11:31:20 srv4hai proc_url[16141]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/24/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Jun 24 11:31:20 srv4hai named[30406]: resolver priming query complete
Jun 24 11:31:20 srv4hai activate_scenario[16075]: SHELLY scenario: 'vorraumOn(vorraumon)' took 94 msec, phoneName:'0'
Jun 24 11:31:20 srv4hai ping_SP[15820]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Jun 24 11:31:21 srv4hai postfix/relay/smtp[16134]: 7EEE4631D9: to=, relay=mx01.nic.name[209.131.159.47]:25, delay=1.1, delays=0.04/0.01/0.72/0.37, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 4FDEC202F1)
Jun 24 11:31:21 srv4hai postfix/qmgr[31004]: 7EEE4631D9: removed
Jun 24 11:31:22 srv4hai ping_SP[15820]: SHELLY - running process-id(15820): '15820 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01215868 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01215919 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas#01227089 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ==============
Jun 24 11:31:27 srv4hai ping_SP[27089]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1719221487 - 'ping_SP_0'
Jun 24 11:31:29 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun 24 11:31:29 srv4hai common[16200]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 24 11:31:29 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun 24 11:31:29 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 24 11:31:29 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun 24 11:31:29 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun 24 11:31:29 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun 24 11:31:29 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun 24 11:31:29 srv4hai named[30406]: client @0x7f932c088690 192.168.12.252#60839/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun 24 11:31:29 srv4hai common[16216]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 24 11:31:29 srv4hai common[16221]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun 24 11:31:29 srv4hai ping_SP[16200]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun 24 11:31:30 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_older_60sec' dweetAge:'8399'=1719221490-1719213091
Jun 24 11:31:30 srv4hai check_presence[16216]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun 24 11:31:30 srv4hai check_presence[16216]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jun 24 11:31:30 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_older_60sec' dweetAge:'8399'=1719221490-1719213091
Jun 24 11:31:30 srv4hai check_presence[16216]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun 24 11:31:30 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_older_60sec' dweetAge:'8399'=1719221490-1719213091
Jun 24 11:31:30 srv4hai check_presence[16216]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 24 11:31:30 srv4hai check_presence[16216]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jun 24 11:31:30 srv4hai check_presence[16216]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jun 24 11:31:30 srv4hai check_presence[16216]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun 24 11:31:30 srv4hai activate_scenario[16385]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun 24 11:31:30 srv4hai activate_scenario[16385]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Jun 24 11:31:30 srv4hai activate_scenario[16385]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Jun 24 11:31:30 srv4hai postfix/pickup[11313]: 814A5631D9: uid=33 from=
Jun 24 11:31:30 srv4hai postfix/cleanup[16125]: 814A5631D9: message-id=<20240624093130.814A5631D9@mail.viehai.at>
Jun 24 11:31:30 srv4hai postfix/qmgr[31004]: 814A5631D9: from=, size=23776, nrcpt=1 (queue active)
Jun 24 11:31:30 srv4hai activate_scenario[16385]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Jun 24 11:31:30 srv4hai proc_url[16451]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/24/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Jun 24 11:31:30 srv4hai activate_scenario[16385]: SHELLY scenario: 'vorraumOn(vorraumon)' took 140 msec, phoneName:'0'
Jun 24 11:31:30 srv4hai ping_SP[15868]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Jun 24 11:31:31 srv4hai postfix/relay/smtp[16134]: 814A5631D9: to=, relay=mx03.nic.name[209.131.161.54]:25, delay=1.1, delays=0.01/0/0.67/0.38, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 427928011F)
Jun 24 11:31:31 srv4hai postfix/qmgr[31004]: 814A5631D9: removed
Jun 24 11:31:32 srv4hai ping_SP[15868]: SHELLY - running process-id(15868): '15868 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01216200 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01216221 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas#01227089 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ==============
Jun 24 11:31:39 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun 24 11:31:39 srv4hai common[16498]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 24 11:31:39 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun 24 11:31:39 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: signer "rndc-key" approved
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jun 24 11:31:39 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: signer "rndc-key" approved
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jun 24 11:31:39 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: signer "rndc-key" approved
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jun 24 11:31:39 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: signer "rndc-key" approved
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jun 24 11:31:39 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: signer "rndc-key" approved
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/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.
Jun 24 11:31:39 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: signer "rndc-key" approved
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/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.
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: signer "rndc-key" approved
Jun 24 11:31:39 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/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.
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: signer "rndc-key" approved
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jun 24 11:31:39 srv4hai named[30406]: client @0x7f932c0d1ae0 192.168.12.252#57923/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.
Jun 24 11:31:39 srv4hai common[16513]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 24 11:31:39 srv4hai ping_SP[16498]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun 24 11:31:39 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jun 24 11:31:39 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jun 24 11:31:40 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_older_60sec' dweetAge:'8409'=1719221500-1719213091
Jun 24 11:31:40 srv4hai check_presence[16513]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun 24 11:31:40 srv4hai check_presence[16513]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jun 24 11:31:40 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_older_60sec' dweetAge:'8409'=1719221500-1719213091
Jun 24 11:31:40 srv4hai check_presence[16513]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun 24 11:31:40 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_older_60sec' dweetAge:'8409'=1719221500-1719213091
Jun 24 11:31:40 srv4hai check_presence[16513]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_older_60sec//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 24 11:31:40 srv4hai check_presence[16513]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jun 24 11:31:40 srv4hai check_presence[16513]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jun 24 11:31:40 srv4hai check_presence[16513]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun 24 11:31:40 srv4hai activate_scenario[16662]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun 24 11:31:40 srv4hai activate_scenario[16662]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished