activate_scenario.sh
Fri Mar 15 08:21:08 CET 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/03/15/_0.log)

vorher: 08:21:08.441

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: 08:21:08.471
Dauer: 30 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 08:21:08.412
nachher: 08:21:08.478
Dauer : 66 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/15//scene_pcON_20240315_082108.txt'


syslog

Mar 15 08:18:01 srv4hai CRON[16310]: (root) CMD (/etc/linetest/linetest.sh)
Mar 15 08:18:04 srv4hai fetchmail[1651]: 22260 messages (22260 seen) for mrozum at mail.akis.at (-449080623 octets).
Mar 15 08:18:04 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar 15 08:18:28 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16330, secured, session=
Mar 15 08:18:28 srv4hai dovecot: imap(miglincit)<16330>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 15 08:18:42 srv4hai ping_SP[19987]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1710487122 - 'ping_SP_0'
Mar 15 08:18:42 srv4hai ping_SP[19987]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 15 08:19:01 srv4hai CRON[16387]: (root) CMD (/etc/linetest/linetest.sh)
Mar 15 08:19:56 srv4hai ping_SP[19987]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1710487196 - 'ping_SP_0'
Mar 15 08:19:56 srv4hai ping_SP[19987]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Mar 15 08:20:01 srv4hai CRON[16422]: (root) CMD (/etc/linetest/linetest.sh)
Mar 15 08:20:01 srv4hai CRON[16423]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar 15 08:20:01 srv4hai meter.sh: SHELLY meter.sh started
Mar 15 08:20:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:12 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:17 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:23 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:25 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:30 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:33 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:35 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:38 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:40 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:44 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:47 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:49 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:52 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:54 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:55 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16922, secured, session=
Mar 15 08:20:55 srv4hai dovecot: imap(miglincit)<16922>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 15 08:20:57 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:59 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 15 08:20:59 srv4hai meter.sh: SHELLY meter.sh ended
Mar 15 08:20:59 srv4hai postfix/pickup[14450]: CC8D0602B8: uid=33 from=
Mar 15 08:20:59 srv4hai postfix/cleanup[16945]: CC8D0602B8: message-id=<20240315072059.CC8D0602B8@mail.viehai.at>
Mar 15 08:20:59 srv4hai postfix/qmgr[15291]: CC8D0602B8: from=, size=654, nrcpt=1 (queue active)
Mar 15 08:20:59 srv4hai postfix/local[16947]: CC8D0602B8: to=, orig_to=, relay=local, delay=0.05, delays=0.03/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 15 08:20:59 srv4hai postfix/qmgr[15291]: CC8D0602B8: removed
Mar 15 08:21:01 srv4hai CRON[16950]: (root) CMD (/etc/linetest/linetest.sh)
Mar 15 08:21:07 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 15 08:21:07 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28
Mar 15 08:21:07 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub
Mar 15 08:21:07 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Mar 15 08:21:07 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Mar 15 08:21:07 srv4hai named[15509]: client @0x7f930c069dc0 192.168.12.252#59249/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 15 08:21:07 srv4hai named[15509]: client @0x7f931c633cd0 192.168.12.252#52007/key rndc-key: signer "rndc-key" approved
Mar 15 08:21:07 srv4hai named[15509]: client @0x7f931c633cd0 192.168.12.252#52007/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Mar 15 08:21:07 srv4hai named[15509]: client @0x7f931c633cd0 192.168.12.252#52007/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Mar 15 08:21:07 srv4hai named[15509]: client @0x7f931c633cd0 192.168.12.252#52007/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Mar 15 08:21:07 srv4hai named[15509]: client @0x7f931c633cd0 192.168.12.252#52007/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Mar 15 08:21:07 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Mar 15 08:21:07 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Mar 15 08:21:07 srv4hai named[15509]: client @0x7f9314041790 192.168.12.252#56179/key rndc-key: signer "rndc-key" approved
Mar 15 08:21:07 srv4hai named[15509]: client @0x7f9314041790 192.168.12.252#56179/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Mar 15 08:21:07 srv4hai named[15509]: client @0x7f9314041790 192.168.12.252#56179/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '28.12.168.192.in-addr.arpa' PTR harmonyhub.viehai.at.
Mar 15 08:21:07 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Mar 15 08:21:07 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Mar 15 08:21:08 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 15 08:21:08 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.10
Mar 15 08:21:08 srv4hai dhcpd[5037]: execute_statement argv[2] = pchai7x
Mar 15 08:21:08 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Mar 15 08:21:08 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Mar 15 08:21:08 srv4hai named[15509]: client @0x7f931801e8a0 192.168.12.252#50653/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 15 08:21:08 srv4hai named[15509]: client @0x7f931006ead0 192.168.12.252#47277/key rndc-key: signer "rndc-key" approved
Mar 15 08:21:08 srv4hai named[15509]: client @0x7f931006ead0 192.168.12.252#47277/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Mar 15 08:21:08 srv4hai named[15509]: client @0x7f931006ead0 192.168.12.252#47277/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Mar 15 08:21:08 srv4hai named[15509]: client @0x7f931006ead0 192.168.12.252#47277/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Mar 15 08:21:08 srv4hai named[15509]: client @0x7f931006ead0 192.168.12.252#47277/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Mar 15 08:21:08 srv4hai dhcpd[5037]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Mar 15 08:21:08 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Mar 15 08:21:08 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#33425/key rndc-key: signer "rndc-key" approved
Mar 15 08:21:08 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#33425/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Mar 15 08:21:08 srv4hai named[15509]: client @0x7f930806d890 192.168.12.252#33425/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.
Mar 15 08:21:08 srv4hai dhcpd[5037]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Mar 15 08:21:08 srv4hai activate_scenario[16969]: SHELLY scenario: 'pcON(pcon)' started
Mar 15 08:21:08 srv4hai activate_scenario[16969]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished