activate_scenario.sh
Fri Feb 9 18:21:52 CET 2024
scenario: buero_UM
source: 192.168.12.140

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/02/09/_0.log)

vorher: 18:21:52.241

http://192.168.12.108/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 18:21:52.273
Dauer: 32 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/02/09/_1.log)

vorher: 18:21:52.255

http://192.168.12.140/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 18:21:52.319
Dauer: 63 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 18:21:52.200
nachher: 18:21:52.325
Dauer : 127 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/09//scene_buero_UM_20240209_182152.txt'


syslog

Feb  9 18:18:01 srv4hai CRON[11529]: (root) CMD (/etc/linetest/linetest.sh)
Feb  9 18:18:15 srv4hai named[14530]: resolver priming query complete
Feb  9 18:18:35 srv4hai postfix/anvil[11492]: statistics: max connection rate 1/60s for (smtp:45.128.96.207) at Feb  9 18:15:15
Feb  9 18:18:35 srv4hai postfix/anvil[11492]: statistics: max connection count 1 for (smtp:45.128.96.207) at Feb  9 18:15:15
Feb  9 18:18:35 srv4hai postfix/anvil[11492]: statistics: max cache size 1 at Feb  9 18:15:15
Feb  9 18:18:38 srv4hai named[14530]: resolver priming query complete
Feb  9 18:19:01 srv4hai CRON[11544]: (root) CMD (/etc/linetest/linetest.sh)
Feb  9 18:19:09 srv4hai named[14530]: resolver priming query complete
Feb  9 18:19:21 srv4hai named[14530]: resolver priming query complete
Feb  9 18:19:30 srv4hai named[14530]: resolver priming query complete
Feb  9 18:19:38 srv4hai named[14530]: resolver priming query complete
Feb  9 18:19:49 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb  9 18:19:49 srv4hai fetchmail[1651]: 37773 messages (37773 seen) for tmiglinci at mail.akis.at (-1173288280 octets).
Feb  9 18:19:50 srv4hai fetchmail[1651]: 9879 messages (9879 seen) for srozum at mail.akis.at (1192205152 octets).
Feb  9 18:19:50 srv4hai fetchmail[1651]: 21572 messages (21572 seen) for mrozum at mail.akis.at (-593723984 octets).
Feb  9 18:19:51 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb  9 18:20:01 srv4hai CRON[11560]: (root) CMD (/etc/linetest/linetest.sh)
Feb  9 18:20:01 srv4hai CRON[11561]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb  9 18:20:01 srv4hai meter.sh: SHELLY meter.sh started
Feb  9 18:20:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11822, secured, session=<0nKMI/YQeqMAAAAAAAAAAAAAAAAAAAAB>
Feb  9 18:20:04 srv4hai dovecot: imap(miglincit)<11822><0nKMI/YQeqMAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb  9 18:20:05 srv4hai named[14530]: resolver priming query complete
Feb  9 18:20:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:12 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:17 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:22 srv4hai trace_events[11971]: SHELLY common.sh inkludiert
Feb  9 18:20:22 srv4hai named[14530]: resolver priming query complete
Feb  9 18:20:22 srv4hai bt_scan[11971]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Feb  9 18:20:22 srv4hai bt_scan[11971]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb  9 18:20:22 srv4hai trace_events[12004]: SHELLY common.sh inkludiert
Feb  9 18:20:22 srv4hai ping_SP[12004]: SHELLY ping_SP.sh started from bt_scan
Feb  9 18:20:22 srv4hai trace_events[12012]: SHELLY common.sh inkludiert
Feb  9 18:20:22 srv4hai check_presence[12012]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb  9 18:20:22 srv4hai check_presence[12012]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: welcomeLight
Feb  9 18:20:23 srv4hai activate_scenario[12048]: SHELLY scenario: 'welcomeLight(welcomelight)' started
Feb  9 18:20:23 srv4hai activate_scenario[12048]: SHELLY dayState='night' <--> DayTime=checked NightTime=unchecked - phoneName:'0'
Feb  9 18:20:23 srv4hai activate_scenario[12048]: SHELLY scenario: 'welcomeLight(welcomelight)' NOT EXECUTED, phoneName:'0'
Feb  9 18:20:23 srv4hai postfix/pickup[3661]: 0FEDA60244: uid=33 from=
Feb  9 18:20:23 srv4hai ping_SP[12004]: SHELLY check_presence.sh coming 0 ping_SP__bt_scan
Feb  9 18:20:23 srv4hai postfix/cleanup[12098]: 0FEDA60244: message-id=<20240209172023.0FEDA60244@mail.viehai.at>
Feb  9 18:20:23 srv4hai postfix/qmgr[28610]: 0FEDA60244: from=, size=5640, nrcpt=1 (queue active)
Feb  9 18:20:23 srv4hai ping_SP[12004]: SHELLY - new process for '192.168.12.61' - '/srv/www/viehai/shelly/meter/ping_SP_0' @~1707499223
Feb  9 18:20:23 srv4hai named[14530]: resolver priming query complete
Feb  9 18:20:23 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:24 srv4hai postfix/relay/smtp[12109]: 0FEDA60244: to=, relay=mx04.nic.name[209.131.160.34]:25, delay=1.3, delays=0.04/0.01/0.93/0.29, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 140AF8008E)
Feb  9 18:20:24 srv4hai postfix/qmgr[28610]: 0FEDA60244: removed
Feb  9 18:20:25 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:26 srv4hai ping_SP[12004]: SHELLY (0)- ping 192.168.12.61 0 not answered (1) @~1707499226 - 'ping_SP_0'
Feb  9 18:20:26 srv4hai activate_scenario[12122]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Feb  9 18:20:26 srv4hai activate_scenario[12122]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Feb  9 18:20:26 srv4hai activate_scenario[12122]: SHELLY scenario: 'LOG_kommen(log_kommen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Feb  9 18:20:26 srv4hai activate_scenario[12122]: SHELLY scenario: 'LOG_kommen(log_kommen)' took 5 msec, shelly-03:'Licht Vorzimmer'
Feb  9 18:20:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:31 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:33 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:36 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:38 srv4hai named[14530]: resolver priming query complete
Feb  9 18:20:38 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:39 srv4hai ping_SP[12004]: SHELLY (0)- ping 192.168.12.61 1 not answered (1) @~1707499239 - 'ping_SP_0'
Feb  9 18:20:41 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:44 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:47 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:49 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:52 srv4hai ping_SP[12004]: SHELLY (0)- ping 192.168.12.61 2 not answered (1) @~1707499252 - 'ping_SP_0'
Feb  9 18:20:52 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:54 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:57 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:59 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb  9 18:20:59 srv4hai meter.sh: SHELLY meter.sh ended
Feb  9 18:20:59 srv4hai postfix/pickup[3661]: F2B1060244: uid=33 from=
Feb  9 18:20:59 srv4hai postfix/cleanup[12098]: F2B1060244: message-id=<20240209172059.F2B1060244@mail.viehai.at>
Feb  9 18:20:59 srv4hai postfix/qmgr[28610]: F2B1060244: from=, size=654, nrcpt=1 (queue active)
Feb  9 18:21:00 srv4hai postfix/local[12313]: F2B1060244: to=, orig_to=, relay=local, delay=0.03, delays=0.01/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb  9 18:21:00 srv4hai postfix/qmgr[28610]: F2B1060244: removed
Feb  9 18:21:02 srv4hai CRON[12317]: (root) CMD (/etc/linetest/linetest.sh)
Feb  9 18:21:05 srv4hai ping_SP[12004]: SHELLY (0)- ping 192.168.12.61 3 not answered (1) @~1707499265 - 'ping_SP_0'
Feb  9 18:21:10 srv4hai dhcpd[5037]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Feb  9 18:21:10 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb  9 18:21:10 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Feb  9 18:21:10 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.61
Feb  9 18:21:10 srv4hai dhcpd[5037]: execute_statement argv[2] = fpThomas
Feb  9 18:21:10 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas'
Feb  9 18:21:10 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Feb  9 18:21:10 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Feb  9 18:21:10 srv4hai named[14530]: client @0x7fc31c0d0140 192.168.12.252#51489/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb  9 18:21:10 srv4hai named[14530]: client @0x7fc320081f70 192.168.12.252#50199/key rndc-key: signer "rndc-key" approved
Feb  9 18:21:10 srv4hai named[14530]: client @0x7fc320081f70 192.168.12.252#50199/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Feb  9 18:21:10 srv4hai named[14530]: client @0x7fc320081f70 192.168.12.252#50199/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Feb  9 18:21:10 srv4hai named[14530]: client @0x7fc320081f70 192.168.12.252#50199/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Feb  9 18:21:10 srv4hai named[14530]: client @0x7fc320081f70 192.168.12.252#50199/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Feb  9 18:21:10 srv4hai dhcpd[5037]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Feb  9 18:21:10 srv4hai named[14530]: client @0x7fc324060480 192.168.12.252#59375/key rndc-key: signer "rndc-key" approved
Feb  9 18:21:10 srv4hai named[14530]: client @0x7fc324060480 192.168.12.252#59375/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Feb  9 18:21:10 srv4hai named[14530]: client @0x7fc324060480 192.168.12.252#59375/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.
Feb  9 18:21:10 srv4hai dhcpd[5037]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Feb  9 18:21:10 srv4hai ping_SP[12334]: SHELLY ping_SP.sh started from smartphone
Feb  9 18:21:10 srv4hai ping_SP[12334]: SHELLY check_presence.sh coming 0 ping_SP__smartphone
Feb  9 18:21:10 srv4hai named[14530]: resolver priming query complete
Feb  9 18:21:11 srv4hai named[14530]: resolver priming query complete
Feb  9 18:21:12 srv4hai ping_SP[12334]: SHELLY - running process-id(12334): '12004 /bin/bash /srv/www/viehai/shelly/ping_SP.sh 192.168.12.61 bt_scan#01212334 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 smartphone' - 'ping_SP_0' - exiting ==============
Feb  9 18:21:18 srv4hai ping_SP[12004]: SHELLY (0) - ping 192.168.12.61 4 sucessfully  @~1707499278 - 'ping_SP_0'
Feb  9 18:21:18 srv4hai ping_SP[12004]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb  9 18:21:22 srv4hai named[14530]: resolver priming query complete
Feb  9 18:21:31 srv4hai named[14530]: resolver priming query complete
Feb  9 18:21:33 srv4hai named[14530]: resolver priming query complete
Feb  9 18:21:36 srv4hai named[14530]: resolver priming query complete
Feb  9 18:21:37 srv4hai named[14530]: resolver priming query complete
Feb  9 18:21:38 srv4hai named[14530]: resolver priming query complete
Feb  9 18:21:39 srv4hai named[14530]: resolver priming query complete
Feb  9 18:21:40 srv4hai named[14530]: resolver priming query complete
Feb  9 18:21:41 srv4hai named[14530]: resolver priming query complete
Feb  9 18:21:42 srv4hai named[14530]: resolver priming query complete
Feb  9 18:21:43 srv4hai named[14530]: resolver priming query complete
Feb  9 18:21:44 srv4hai named[14530]: resolver priming query complete
Feb  9 18:21:52 srv4hai activate_scenario[12386]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb  9 18:21:52 srv4hai activate_scenario[12386]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished