activate_scenario.sh
Sat Jun 8 08:43:49 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/08/_0.log)

vorher: 08:43:49.423

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: 08:43:49.463
Dauer: 39 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 08:43:49.350
nachher: 08:43:49.469
Dauer : 122 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/08//scene_vorraumOn_20240608_084349.txt'


syslog

Jun  8 08:40:01 srv4hai CRON[19124]: (root) CMD (/etc/linetest/linetest.sh)
Jun  8 08:40:01 srv4hai CRON[19125]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jun  8 08:40:01 srv4hai common[19127]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jun  8 08:40:01 srv4hai meter.sh: SHELLY meter.sh started
Jun  8 08:40:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jun  8 08:40:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jun  8 08:40:05 srv4hai meter.sh: SHELLY 'shelly-05/Stehlampe Anne hell':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  8 08:40:08 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  8 08:40:10 srv4hai meter.sh: SHELLY 'shelly-06/Fernsehlampe klein':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  8 08:40:12 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jun  8 08:40:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jun  8 08:40:12 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jun  8 08:40:12 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jun  8 08:40:12 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jun  8 08:40:15 srv4hai ping_SP[2876]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1717828815 - 'ping_SP_1'
Jun  8 08:40:15 srv4hai ping_SP[2876]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun  8 08:40:15 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  8 08:40:17 srv4hai postfix/smtpd[19112]: connect from unknown[194.169.175.212]
Jun  8 08:40:17 srv4hai postfix/smtpd[19112]: warning: unknown[194.169.175.212]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jun  8 08:40:17 srv4hai postfix/smtpd[19112]: disconnect from unknown[194.169.175.212] ehlo=1 auth=0/1 quit=1 commands=2/3
Jun  8 08:40:18 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  8 08:40:18 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jun  8 08:40:18 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jun  8 08:40:18 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jun  8 08:40:18 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jun  8 08:40:18 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jun  8 08:40:21 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  8 08:40:21 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jun  8 08:40:21 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jun  8 08:40:21 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jun  8 08:40:21 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jun  8 08:40:21 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jun  8 08:40:21 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jun  8 08:40:21 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jun  8 08:40:21 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jun  8 08:40:21 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jun  8 08:40:21 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jun  8 08:40:24 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jun  8 08:40:24 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jun  8 08:40:24 srv4hai common[20021]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jun  8 08:40:24 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Jun  8 08:40:24 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Jun  8 08:40:24 srv4hai meter.sh: SHELLY meter.sh ended
Jun  8 08:40:48 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun  8 08:40:49 srv4hai fetchmail[1651]: 45967 messages (45967 seen) for tmiglinci at mail.akis.at (-500621302 octets).
Jun  8 08:40:49 srv4hai fetchmail[1651]: 10303 messages (10303 seen) for srozum at mail.akis.at (1239536946 octets).
Jun  8 08:40:50 srv4hai fetchmail[1651]: 23951 messages (23951 seen) for mrozum at mail.akis.at (-163099258 octets).
Jun  8 08:40:50 srv4hai ping_SP[15595]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717828850 - 'ping_SP_0'
Jun  8 08:40:50 srv4hai ping_SP[15595]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  8 08:40:51 srv4hai fetchmail[1651]: 92 messages (92 seen) for admin@bastelstube.wien at pop3.world4you.com (37860365 octets).
Jun  8 08:40:54 srv4hai nmbd[2172]: [2024/06/08 08:40:54.450995,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Jun  8 08:40:54 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Jun  8 08:40:54 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Jun  8 08:40:54 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Jun  8 08:41:01 srv4hai CRON[20083]: (root) CMD (/etc/linetest/linetest.sh)
Jun  8 08:41:28 srv4hai dhcpd[30731]: uid lease 192.168.12.40 for client ec:da:3b:c6:1d:3c is duplicate on 192.168.12.0/24
Jun  8 08:41:28 srv4hai dhcpd[30731]: DHCPDISCOVER from ec:da:3b:c6:1d:3c via enp2s0
Jun  8 08:41:28 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Jun  8 08:41:28 srv4hai dhcpd[30731]: uid lease 192.168.12.40 for client ec:da:3b:c6:1d:3c is duplicate on 192.168.12.0/24
Jun  8 08:41:28 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/json.sh
Jun  8 08:41:28 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.150
Jun  8 08:41:28 srv4hai dhcpd[30731]: execute_statement argv[2] = shelly-50
Jun  8 08:41:28 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.150 (192.168.12.252) from ec:da:3b:c6:1d:3c via enp2s0
Jun  8 08:41:28 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.150 to ec:da:3b:c6:1d:3c via enp2s0
Jun  8 08:41:28 srv4hai named[30406]: client @0x7f932c0c7f00 192.168.12.252#50039/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: shelly-50.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun  8 08:41:28 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#57335/key rndc-key: signer "rndc-key" approved
Jun  8 08:41:28 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#57335/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' TXT
Jun  8 08:41:28 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#57335/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' TXT "31ddfcf6e79cbbdf4e55e03247020075f9"
Jun  8 08:41:28 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#57335/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'shelly-50.viehai.at' A
Jun  8 08:41:28 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#57335/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'shelly-50.viehai.at' A 192.168.12.150
Jun  8 08:41:28 srv4hai dhcpd[30731]: Added new forward map from shelly-50.viehai.at to 192.168.12.150
Jun  8 08:41:28 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#33701/key rndc-key: signer "rndc-key" approved
Jun  8 08:41:28 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#33701/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '150.12.168.192.in-addr.arpa' PTR
Jun  8 08:41:28 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#33701/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '150.12.168.192.in-addr.arpa' PTR shelly-50.viehai.at.
Jun  8 08:41:28 srv4hai dhcpd[30731]: Added reverse map from 150.12.168.192.in-addr.arpa. to shelly-50.viehai.at
Jun  8 08:41:28 srv4hai common[20108]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/grab_shelly.sh
Jun  8 08:41:28 srv4hai grab_shelly.sh: SHELLY shellyName/1:'shelly-50' - shIP/2:'' perform:'conf'
Jun  8 08:41:28 srv4hai mosquitto[18551]: New connection from 192.168.12.150 on port 1883.
Jun  8 08:41:28 srv4hai mosquitto[18551]: Client shellypmminig3-ecda3bc61d3c already connected, closing old connection.
Jun  8 08:41:28 srv4hai mosquitto[18551]: Socket error on client shellypmminig3-ecda3bc61d3c, disconnecting.
Jun  8 08:41:28 srv4hai mosquitto[18551]: New client connected from 192.168.12.150 as shellypmminig3-ecda3bc61d3c (c1, k60, u'shmqtt').
Jun  8 08:41:28 srv4hai conf_shelly.sh: SHELLY: PARAMS  shName/1:'shelly-50' - shIP/2:'192.168.12.150'
Jun  8 08:41:29 srv4hai conf_shelly.sh: SHELLY: usage/name '50-TBD' already set for '192.168.12.150'
Jun  8 08:41:29 srv4hai conf_shelly.sh: SHELLY:'shelly-50' no WebHook
Jun  8 08:41:29 srv4hai ping_SP[2876]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1717828889 - 'ping_SP_1'
Jun  8 08:41:29 srv4hai ping_SP[2876]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun  8 08:42:01 srv4hai CRON[20186]: (root) CMD (/etc/linetest/linetest.sh)
Jun  8 08:42:03 srv4hai ping_SP[15595]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1717828923 - 'ping_SP_0'
Jun  8 08:42:03 srv4hai ping_SP[15595]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun  8 08:42:42 srv4hai ping_SP[2876]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1717828962 - 'ping_SP_1'
Jun  8 08:42:42 srv4hai ping_SP[2876]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jun  8 08:42:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20249, secured, session=
Jun  8 08:42:54 srv4hai dovecot: imap(miglincit)<20249>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun  8 08:42:58 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Jun  8 08:42:58 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun  8 08:42:58 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun  8 08:42:58 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun  8 08:42:58 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun  8 08:42:58 srv4hai common[20250]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun  8 08:43:01 srv4hai CRON[20264]: (root) CMD (/etc/linetest/linetest.sh)
Jun  8 08:43:08 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun  8 08:43:08 srv4hai common[20274]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun  8 08:43:08 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun  8 08:43:08 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun  8 08:43:08 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun  8 08:43:08 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun  8 08:43:08 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun  8 08:43:08 srv4hai common[20287]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun  8 08:43:08 srv4hai ping_SP[20274]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun  8 08:43:18 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun  8 08:43:18 srv4hai common[20321]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun  8 08:43:18 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun  8 08:43:18 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun  8 08:43:18 srv4hai common[20332]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun  8 08:43:18 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun  8 08:43:18 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun  8 08:43:18 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun  8 08:43:18 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun  8 08:43:18 srv4hai common[20340]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun  8 08:43:18 srv4hai ping_SP[20321]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun  8 08:43:18 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'5'=1717828998-1717828993
Jun  8 08:43:18 srv4hai check_presence[20332]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun  8 08:43:18 srv4hai check_presence[20332]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jun  8 08:43:18 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'5'=1717828998-1717828993
Jun  8 08:43:18 srv4hai check_presence[20332]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun  8 08:43:18 srv4hai check_presence[20332]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jun  8 08:43:19 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'6'=1717828999-1717828993
Jun  8 08:43:19 srv4hai check_presence[20332]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun  8 08:43:19 srv4hai check_presence[20332]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun  8 08:43:19 srv4hai check_presence[20332]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jun  8 08:43:19 srv4hai check_presence[20332]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun  8 08:43:19 srv4hai activate_scenario[20504]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun  8 08:43:19 srv4hai activate_scenario[20504]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Jun  8 08:43:19 srv4hai activate_scenario[20504]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Jun  8 08:43:19 srv4hai postfix/pickup[10522]: 3C44F60197: uid=33 from=
Jun  8 08:43:19 srv4hai postfix/cleanup[20554]: 3C44F60197: message-id=<20240608064319.3C44F60197@mail.viehai.at>
Jun  8 08:43:19 srv4hai postfix/qmgr[31004]: 3C44F60197: from=, size=15745, nrcpt=1 (queue active)
Jun  8 08:43:19 srv4hai activate_scenario[20504]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Jun  8 08:43:19 srv4hai proc_url[20571]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/08/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Jun  8 08:43:19 srv4hai activate_scenario[20504]: SHELLY scenario: 'vorraumOn(vorraumon)' took 89 msec, phoneName:'0'
Jun  8 08:43:19 srv4hai ping_SP[20274]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Jun  8 08:43:20 srv4hai postfix/relay/smtp[20567]: 3C44F60197: to=, relay=mx03.nic.name[209.131.161.54]:25, delay=1.1, delays=0.04/0.01/0.73/0.35, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 0F9A480020)
Jun  8 08:43:20 srv4hai postfix/qmgr[31004]: 3C44F60197: removed
Jun  8 08:43:21 srv4hai ping_SP[20274]: SHELLY - running process-id(20274): '15595 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan#01220274 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01220321 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01220340 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas' - 'ping_SP_0' - exiting ==============
Jun  8 08:43:27 srv4hai ping_SP[15595]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1717829007 - 'ping_SP_0'
Jun  8 08:43:28 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun  8 08:43:28 srv4hai common[20632]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun  8 08:43:28 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun  8 08:43:28 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun  8 08:43:28 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Jun  8 08:43:28 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Jun  8 08:43:28 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Jun  8 08:43:28 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun  8 08:43:28 srv4hai named[30406]: client @0x7f93506770d0 192.168.12.252#42247/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun  8 08:43:28 srv4hai common[20649]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun  8 08:43:28 srv4hai common[20653]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Jun  8 08:43:28 srv4hai ping_SP[20632]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun  8 08:43:28 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'15'=1717829008-1717828993
Jun  8 08:43:28 srv4hai check_presence[20649]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun  8 08:43:28 srv4hai check_presence[20649]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jun  8 08:43:28 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'15'=1717829008-1717828993
Jun  8 08:43:28 srv4hai check_presence[20649]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun  8 08:43:28 srv4hai check_presence[20649]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jun  8 08:43:28 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'15'=1717829008-1717828993
Jun  8 08:43:28 srv4hai check_presence[20649]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun  8 08:43:28 srv4hai check_presence[20649]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun  8 08:43:29 srv4hai check_presence[20649]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jun  8 08:43:29 srv4hai check_presence[20649]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun  8 08:43:29 srv4hai activate_scenario[20818]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun  8 08:43:29 srv4hai activate_scenario[20818]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Jun  8 08:43:29 srv4hai activate_scenario[20818]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Jun  8 08:43:29 srv4hai postfix/pickup[10522]: 1861160197: uid=33 from=
Jun  8 08:43:29 srv4hai postfix/cleanup[20554]: 1861160197: message-id=<20240608064329.1861160197@mail.viehai.at>
Jun  8 08:43:29 srv4hai postfix/qmgr[31004]: 1861160197: from=, size=20850, nrcpt=1 (queue active)
Jun  8 08:43:29 srv4hai activate_scenario[20818]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Jun  8 08:43:29 srv4hai proc_url[20882]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/08/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Jun  8 08:43:29 srv4hai activate_scenario[20818]: SHELLY scenario: 'vorraumOn(vorraumon)' took 109 msec, phoneName:'0'
Jun  8 08:43:29 srv4hai ping_SP[20321]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Jun  8 08:43:30 srv4hai postfix/relay/smtp[20567]: 1861160197: to=, relay=mx04.nic.name[209.131.160.34]:25, delay=0.97, delays=0.01/0/0.6/0.36, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as BB7238011E)
Jun  8 08:43:30 srv4hai postfix/qmgr[31004]: 1861160197: removed
Jun  8 08:43:31 srv4hai ping_SP[20321]: SHELLY - running process-id(20321): '15595 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan#01220321 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01220632 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01220653 /bin/bash /srv/www/viehai/shelly/smartphone.sh 192.168.12.61 fpThomas' - 'ping_SP_0' - exiting ==============
Jun  8 08:43:37 srv4hai postfix/anvil[19114]: statistics: max connection rate 1/60s for (smtp:109.206.237.128) at Jun  8 08:39:43
Jun  8 08:43:37 srv4hai postfix/anvil[19114]: statistics: max connection count 1 for (smtp:109.206.237.128) at Jun  8 08:39:43
Jun  8 08:43:37 srv4hai postfix/anvil[19114]: statistics: max cache size 2 at Jun  8 08:40:17
Jun  8 08:43:38 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Jun  8 08:43:38 srv4hai common[20931]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun  8 08:43:38 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Jun  8 08:43:38 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: signer "rndc-key" approved
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jun  8 08:43:38 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: signer "rndc-key" approved
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: signer "rndc-key" approved
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jun  8 08:43:38 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jun  8 08:43:38 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: signer "rndc-key" approved
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Jun  8 08:43:38 srv4hai common[20943]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun  8 08:43:38 srv4hai dhcpd[30731]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: signer "rndc-key" approved
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/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  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: signer "rndc-key" approved
Jun  8 08:43:38 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/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  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: signer "rndc-key" approved
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/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  8 08:43:38 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: signer "rndc-key" approved
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Jun  8 08:43:38 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#47029/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  8 08:43:38 srv4hai ping_SP[20931]: SHELLY ping_SP.sh started from smartphone, user:'root'
Jun  8 08:43:38 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jun  8 08:43:38 srv4hai dhcpd[30731]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Jun  8 08:43:38 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'8'=1717829018-1717829010
Jun  8 08:43:38 srv4hai check_presence[20943]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun  8 08:43:38 srv4hai check_presence[20943]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jun  8 08:43:38 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'8'=1717829018-1717829010
Jun  8 08:43:38 srv4hai check_presence[20943]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun  8 08:43:38 srv4hai check_presence[20943]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jun  8 08:43:38 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'8'=1717829018-1717829010
Jun  8 08:43:38 srv4hai check_presence[20943]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun  8 08:43:38 srv4hai check_presence[20943]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun  8 08:43:39 srv4hai check_presence[20943]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jun  8 08:43:39 srv4hai check_presence[20943]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun  8 08:43:39 srv4hai activate_scenario[21103]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun  8 08:43:39 srv4hai activate_scenario[21103]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'
Jun  8 08:43:39 srv4hai activate_scenario[21103]: SHELLY scenario: 'vorraumOn(vorraumon)' TO BE EXECUTED, phoneName:'0'
Jun  8 08:43:39 srv4hai postfix/pickup[10522]: 1414E60197: uid=33 from=
Jun  8 08:43:39 srv4hai postfix/cleanup[20554]: 1414E60197: message-id=<20240608064339.1414E60197@mail.viehai.at>
Jun  8 08:43:39 srv4hai postfix/qmgr[31004]: 1414E60197: from=, size=31964, nrcpt=1 (queue active)
Jun  8 08:43:39 srv4hai activate_scenario[21103]: SHELLY: scenario: 'vorraumOn(vorraumon)'-'shelly-03'-'Licht Vorzimmer' --> '0?turn=on'
Jun  8 08:43:39 srv4hai proc_url[21167]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/06/08/_0.log' - shellyUsage:'Licht Vorzimmer' - scUrl:'http://192.168.12.103/relay/0?turn=on' - phName:'phoneName:'0''
Jun  8 08:43:39 srv4hai activate_scenario[21103]: SHELLY scenario: 'vorraumOn(vorraumon)' took 77 msec, phoneName:'0'
Jun  8 08:43:39 srv4hai ping_SP[20632]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Jun  8 08:43:39 srv4hai postfix/relay/smtp[20567]: 1414E60197: to=, relay=mx04.nic.name[209.131.160.34]:25, delay=0.73, delays=0.02/0/0.33/0.37, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 763B2800A3)
Jun  8 08:43:39 srv4hai postfix/qmgr[31004]: 1414E60197: removed
Jun  8 08:43:41 srv4hai ping_SP[20632]: SHELLY - running process-id(20632): '15595 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan#01220632 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone#01220931 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone' - 'ping_SP_0' - exiting ==============
Jun  8 08:43:48 srv4hai common[21222]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun  8 08:43:48 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'1'=1717829028-1717829027
Jun  8 08:43:48 srv4hai check_presence[21222]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun  8 08:43:48 srv4hai check_presence[21222]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jun  8 08:43:48 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'1'=1717829028-1717829027
Jun  8 08:43:49 srv4hai check_presence[21222]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun  8 08:43:49 srv4hai check_presence[21222]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jun  8 08:43:49 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'2'=1717829029-1717829027
Jun  8 08:43:49 srv4hai check_presence[21222]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun  8 08:43:49 srv4hai check_presence[21222]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun  8 08:43:49 srv4hai check_presence[21222]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Jun  8 08:43:49 srv4hai check_presence[21222]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Jun  8 08:43:49 srv4hai activate_scenario[21358]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun  8 08:43:49 srv4hai activate_scenario[21358]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished