activate_scenario.sh
Thu May 2 03:20:26 CEST 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

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

scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/05/02/_0.log)

vorher: 03:20:27.047

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

nachher: 03:20:27.079
Dauer: 32 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


scenario: 'Schreibtisch Thomas EIN-schalten' - 'pcON' - 'pcon'

urls : 1
vorher : 03:20:27.014
nachher: 03:20:27.086
Dauer : 73 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/02//scene_pcON_20240502_032026.txt'


syslog

May  2 03:17:01 srv4hai CRON[23125]: (root) CMD (/etc/linetest/linetest.sh)
May  2 03:17:01 srv4hai CRON[23126]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May  2 03:17:17 srv4hai postfix/anvil[22761]: statistics: max connection rate 1/60s for (smtp:109.206.237.17) at May  2 03:12:41
May  2 03:17:17 srv4hai postfix/anvil[22761]: statistics: max connection count 1 for (smtp:109.206.237.17) at May  2 03:12:41
May  2 03:17:17 srv4hai postfix/anvil[22761]: statistics: max cache size 2 at May  2 03:13:57
May  2 03:17:17 srv4hai postfix/smtpd[23135]: connect from unknown[87.121.105.221]
May  2 03:17:17 srv4hai postfix/smtpd[23135]: warning: unknown[87.121.105.221]: SASL LOGIN authentication failed: Invalid authentication mechanism
May  2 03:17:17 srv4hai postfix/smtpd[23135]: disconnect from unknown[87.121.105.221] ehlo=1 auth=0/1 quit=1 commands=2/3
May  2 03:17:46 srv4hai named[15509]: resolver priming query complete
May  2 03:17:59 srv4hai named[15509]: resolver priming query complete
May  2 03:18:01 srv4hai CRON[23156]: (root) CMD (/etc/linetest/linetest.sh)
May  2 03:18:02 srv4hai named[15509]: resolver priming query complete
May  2 03:18:08 srv4hai ping_SP[18987]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714612688 - 'ping_SP_0'
May  2 03:18:08 srv4hai ping_SP[18987]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May  2 03:18:10 srv4hai common[23179]: SHELLY common.sh inkludiert von ./bt_scan.sh
May  2 03:18:11 srv4hai ping_SP[30818]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714612691 - 'ping_SP_1'
May  2 03:18:11 srv4hai ping_SP[30818]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
May  2 03:18:20 srv4hai bt_scan[23179]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
May  2 03:18:20 srv4hai bt_scan[23179]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
May  2 03:18:20 srv4hai common[23226]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May  2 03:18:21 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1714612701-1714612690
May  2 03:18:21 srv4hai check_presence[23226]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
May  2 03:18:21 srv4hai check_presence[23226]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
May  2 03:18:21 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1714612701-1714612690
May  2 03:18:21 srv4hai check_presence[23226]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
May  2 03:18:21 srv4hai check_presence[23226]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
May  2 03:18:21 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1714612701-1714612690
May  2 03:18:21 srv4hai check_presence[23226]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
May  2 03:18:21 srv4hai check_presence[23226]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
May  2 03:18:21 srv4hai check_presence[23226]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
May  2 03:18:57 srv4hai named[15509]: resolver priming query complete
May  2 03:19:01 srv4hai CRON[23359]: (root) CMD (/etc/linetest/linetest.sh)
May  2 03:19:19 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
May  2 03:19:20 srv4hai fetchmail[1651]: 43309 messages (43309 seen) for tmiglinci at mail.akis.at (-687225584 octets).
May  2 03:19:20 srv4hai fetchmail[1651]: 10193 messages (10193 seen) for srozum at mail.akis.at (1230680639 octets).
May  2 03:19:21 srv4hai fetchmail[1651]: 23229 messages (23229 seen) for mrozum at mail.akis.at (-283880427 octets).
May  2 03:19:21 srv4hai ping_SP[18987]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714612761 - 'ping_SP_0'
May  2 03:19:21 srv4hai ping_SP[18987]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May  2 03:19:21 srv4hai fetchmail[1651]: 52 messages (52 seen) for admin@bastelstube.wien at pop3.world4you.com (12587653 octets).
May  2 03:19:24 srv4hai ping_SP[30818]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1714612764 - 'ping_SP_1'
May  2 03:19:24 srv4hai ping_SP[30818]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
May  2 03:19:41 srv4hai named[15509]: resolver priming query complete
May  2 03:20:01 srv4hai CRON[23408]: (root) CMD (/etc/linetest/linetest.sh)
May  2 03:20:01 srv4hai CRON[23409]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
May  2 03:20:01 srv4hai common[23410]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
May  2 03:20:01 srv4hai meter.sh: SHELLY meter.sh started
May  2 03:20:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
May  2 03:20:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
May  2 03:20:08 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  2 03:20:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
May  2 03:20:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
May  2 03:20:08 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
May  2 03:20:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
May  2 03:20:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
May  2 03:20:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  2 03:20:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  2 03:20:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
May  2 03:20:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
May  2 03:20:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
May  2 03:20:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
May  2 03:20:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
May  2 03:20:16 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  2 03:20:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
May  2 03:20:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
May  2 03:20:16 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
May  2 03:20:16 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
May  2 03:20:16 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
May  2 03:20:16 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
May  2 03:20:16 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
May  2 03:20:16 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
May  2 03:20:16 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
May  2 03:20:16 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
May  2 03:20:19 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  2 03:20:19 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
May  2 03:20:19 srv4hai meter[23410]: SHELLY - who: 'Thomas' / shellyIP: '192.168.12.61'
May  2 03:20:19 srv4hai common[24296]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
May  2 03:20:19 srv4hai meter[23410]: SHELLY - who: 'Grete' / shellyIP: '192.168.12.62'
May  2 03:20:19 srv4hai common[24310]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
May  2 03:20:19 srv4hai meter[23410]: SHELLY - who: 'Sophie' / shellyIP: '192.168.12.63'
May  2 03:20:19 srv4hai ping_SP[24296]: SHELLY ping_SP.sh started from meter, user:'www-data'
May  2 03:20:19 srv4hai common[24329]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
May  2 03:20:19 srv4hai common[24330]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
May  2 03:20:19 srv4hai ping_SP[24310]: SHELLY ping_SP.sh started from meter, user:'www-data'
May  2 03:20:19 srv4hai ping_SP[24329]: SHELLY ping_SP.sh started from meter, user:'www-data'
May  2 03:20:19 srv4hai ping_SP[24296]: SHELLY - running process-id(24296): '18987 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan#01224296 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 meter' - 'ping_SP_0' - exiting ==============
May  2 03:20:19 srv4hai ping_SP[24310]: SHELLY - running process-id(24310): '24310 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.62 meter#01230818 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.62 bt_scan' - 'ping_SP_1' - exiting ==============
May  2 03:20:19 srv4hai ping_SP[24329]: SHELLY - new process for '192.168.12.63' - '/srv/www/viehai/shelly//meter/ping_SP_2' @~1714612819
May  2 03:20:19 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
May  2 03:20:19 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs
May  2 03:20:19 srv4hai meter.sh: SHELLY meter.sh ended
May  2 03:20:19 srv4hai postfix/pickup[20968]: 9E792631A0: uid=33 from=
May  2 03:20:19 srv4hai postfix/cleanup[24389]: 9E792631A0: message-id=<20240502012019.9E792631A0@mail.viehai.at>
May  2 03:20:19 srv4hai postfix/qmgr[15291]: 9E792631A0: from=, size=932, nrcpt=1 (queue active)
May  2 03:20:19 srv4hai postfix/local[24391]: 9E792631A0: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
May  2 03:20:19 srv4hai postfix/qmgr[15291]: 9E792631A0: removed
May  2 03:20:26 srv4hai dhcpd[22856]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
May  2 03:20:26 srv4hai dhcpd[22856]: execute_statement argv[1] = 192.168.12.10
May  2 03:20:26 srv4hai dhcpd[22856]: execute_statement argv[2] = pchai7x
May  2 03:20:26 srv4hai dhcpd[22856]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
May  2 03:20:26 srv4hai dhcpd[22856]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
May  2 03:20:26 srv4hai named[15509]: client @0x7f9318030580 192.168.12.252#59671/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
May  2 03:20:26 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#43335/key rndc-key: signer "rndc-key" approved
May  2 03:20:26 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#43335/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
May  2 03:20:26 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#43335/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
May  2 03:20:26 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#43335/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
May  2 03:20:26 srv4hai named[15509]: client @0x7f931c6410a0 192.168.12.252#43335/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
May  2 03:20:26 srv4hai dhcpd[22856]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
May  2 03:20:26 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
May  2 03:20:26 srv4hai named[15509]: client @0x7f92fc030df0 192.168.12.252#50709/key rndc-key: signer "rndc-key" approved
May  2 03:20:26 srv4hai named[15509]: client @0x7f92fc030df0 192.168.12.252#50709/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
May  2 03:20:26 srv4hai named[15509]: client @0x7f92fc030df0 192.168.12.252#50709/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '10.12.168.192.in-addr.arpa' PTR pchai7x.viehai.at.
May  2 03:20:26 srv4hai dhcpd[22856]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
May  2 03:20:26 srv4hai activate_scenario[24409]: SHELLY scenario: 'pcON(pcon)' started
May  2 03:20:26 srv4hai activate_scenario[24409]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished