activate_scenario.sh
Mon Jul 22 14:03:18 CEST 2024
scenario: pcON
origin: dhcpcommit.sh-pchai7x

'day' <--> 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/07/22/_0.log)

vorher: 14:03:18.085

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: 14:03:18.115
Dauer: 31 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 14:03:18.063
nachher: 14:03:18.122
Dauer : 58 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/22//scene_pcON_20240722_140318.txt'


syslog

Jul 22 14:00:01 srv4hai CRON[8617]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jul 22 14:00:01 srv4hai CRON[8618]: (root) CMD (/etc/linetest/linetest.sh)
Jul 22 14:00:01 srv4hai common[8619]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jul 22 14:00:01 srv4hai meter.sh: SHELLY meter.sh started
Jul 22 14:00:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jul 22 14:00:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jul 22 14:00:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jul 22 14:00:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jul 22 14:00:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jul 22 14:00:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jul 22 14:00:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jul 22 14:00:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 22 14:00:10 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 22 14:00:10 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jul 22 14:00:10 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jul 22 14:00:10 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jul 22 14:00:10 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jul 22 14:00:10 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jul 22 14:00:10 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Jul 22 14:00:10 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jul 22 14:00:10 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jul 22 14:00:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jul 22 14:00:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jul 22 14:00:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jul 22 14:00:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jul 22 14:00:11 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jul 22 14:00:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jul 22 14:00:11 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jul 22 14:00:11 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jul 22 14:00:13 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 22 14:00:16 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 22 14:00:16 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jul 22 14:00:16 srv4hai common[9485]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jul 22 14:00:16 srv4hai check_shelly.sh: SHELLY last scenery executed: 'homeOffice'
Jul 22 14:00:16 srv4hai check_shelly.sh: SHELLY found '5' active shelly outputs
Jul 22 14:00:16 srv4hai meter.sh: SHELLY meter.sh ended
Jul 22 14:00:48 srv4hai ping_SP[32002]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721649648 - 'ping_SP_0'
Jul 22 14:00:48 srv4hai ping_SP[32002]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 22 14:00:58 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 22 14:00:59 srv4hai fetchmail[1651]: 49139 messages (49139 seen) for tmiglinci at mail.akis.at (-227084370 octets).
Jul 22 14:00:59 srv4hai fetchmail[1651]: 10492 messages (10492 seen) for srozum at mail.akis.at (1263010195 octets).
Jul 22 14:01:00 srv4hai fetchmail[1651]: 24881 messages (24881 seen) for mrozum at mail.akis.at (58386091 octets).
Jul 22 14:01:00 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 22 14:01:01 srv4hai CRON[9531]: (root) CMD (/etc/linetest/linetest.sh)
Jul 22 14:01:52 srv4hai ping_SP[32002]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721649712 - 'ping_SP_0'
Jul 22 14:01:52 srv4hai ping_SP[32002]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 22 14:02:01 srv4hai CRON[9561]: (root) CMD (/etc/linetest/linetest.sh)
Jul 22 14:02:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=9574, secured, session=
Jul 22 14:02:43 srv4hai dovecot: imap(miglincit)<9574>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 22 14:02:55 srv4hai ping_SP[32002]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721649775 - 'ping_SP_0'
Jul 22 14:02:55 srv4hai ping_SP[32002]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 22 14:02:56 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Jul 22 14:03:01 srv4hai CRON[9600]: (root) CMD (/etc/linetest/linetest.sh)
Jul 22 14:03:13 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Jul 22 14:03:13 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Jul 22 14:03:13 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Jul 22 14:03:13 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.5
Jul 22 14:03:13 srv4hai dhcpd[30731]: execute_statement argv[2] = btscan1
Jul 22 14:03:13 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Jul 22 14:03:13 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Jul 22 14:03:13 srv4hai named[30406]: client @0x7f934c0733f0 192.168.12.252#47705/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 22 14:03:13 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#39945/key rndc-key: signer "rndc-key" approved
Jul 22 14:03:13 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#39945/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Jul 22 14:03:13 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#39945/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Jul 22 14:03:13 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#39945/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Jul 22 14:03:13 srv4hai named[30406]: client @0x7f93100d29e0 192.168.12.252#39945/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Jul 22 14:03:13 srv4hai dhcpd[30731]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Jul 22 14:03:13 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Jul 22 14:03:13 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#35779/key rndc-key: signer "rndc-key" approved
Jul 22 14:03:13 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#35779/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Jul 22 14:03:13 srv4hai named[30406]: client @0x7f93100debd0 192.168.12.252#35779/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at.
Jul 22 14:03:13 srv4hai dhcpd[30731]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Jul 22 14:03:13 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Jul 22 14:03:17 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Jul 22 14:03:17 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.10
Jul 22 14:03:17 srv4hai dhcpd[30731]: execute_statement argv[2] = pchai7x
Jul 22 14:03:17 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Jul 22 14:03:17 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Jul 22 14:03:17 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#57177/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 22 14:03:17 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#52489/key rndc-key: signer "rndc-key" approved
Jul 22 14:03:17 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#52489/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Jul 22 14:03:17 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#52489/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Jul 22 14:03:17 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#52489/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Jul 22 14:03:17 srv4hai named[30406]: client @0x7f9338096e40 192.168.12.252#52489/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Jul 22 14:03:17 srv4hai dhcpd[30731]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Jul 22 14:03:17 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Jul 22 14:03:17 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#39611/key rndc-key: signer "rndc-key" approved
Jul 22 14:03:17 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#39611/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Jul 22 14:03:17 srv4hai named[30406]: client @0x7f93480deab0 192.168.12.252#39611/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.
Jul 22 14:03:17 srv4hai dhcpd[30731]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Jul 22 14:03:18 srv4hai activate_scenario[9619]: SHELLY scenario: 'pcON(pcon)' started
Jul 22 14:03:18 srv4hai activate_scenario[9619]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished