activate_scenario.sh
Mon Mar 25 08:12:03 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/25/_0.log)

vorher: 08:12:03.259

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:12:03.291
Dauer: 32 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 08:12:03.239
nachher: 08:12:03.298
Dauer : 59 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/25//scene_pcON_20240325_081203.txt'


syslog

Mar 25 08:09:01 srv4hai CRON[21450]: (root) CMD (/etc/linetest/linetest.sh)
Mar 25 08:09:01 srv4hai CRON[21451]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Mar 25 08:09:01 srv4hai systemd[1]: Starting Clean php session files...
Mar 25 08:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Mar 25 08:09:01 srv4hai systemd[1]: Started Clean php session files.
Mar 25 08:09:14 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21551, secured, session=
Mar 25 08:09:14 srv4hai dovecot: imap(miglincit)<21551>: Logged out in=506 out=1284 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 25 08:09:22 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar 25 08:09:23 srv4hai fetchmail[1651]: 40525 messages (40525 seen) for tmiglinci at mail.akis.at (-937575481 octets).
Mar 25 08:09:23 srv4hai fetchmail[1651]: 10045 messages (10045 seen) for srozum at mail.akis.at (1214501086 octets).
Mar 25 08:09:24 srv4hai fetchmail[1651]: 22457 messages (22456 seen) for mrozum at mail.akis.at (-405007157 octets).
Mar 25 08:09:24 srv4hai postfix/smtpd[21552]: connect from localhost[127.0.0.1]
Mar 25 08:09:24 srv4hai postfix/smtpd[21552]: B399460119: client=localhost[127.0.0.1]
Mar 25 08:09:24 srv4hai postfix/cleanup[21555]: B399460119: message-id=<6baca191-0c11-4627-bbe6-28121ca8e9c1@dfw1s10mta233.xt.local>
Mar 25 08:09:24 srv4hai postfix/qmgr[15291]: B399460119: from=, size=320014, nrcpt=1 (queue active)
Mar 25 08:09:24 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:22457 of 22457 (319164 octets) not flushed
Mar 25 08:09:24 srv4hai postfix/smtpd[21552]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Mar 25 08:09:24 srv4hai postfix/local[21556]: B399460119: to=, relay=local, delay=0.17, delays=0.14/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 25 08:09:24 srv4hai postfix/qmgr[15291]: B399460119: removed
Mar 25 08:09:25 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar 25 08:10:01 srv4hai CRON[21565]: (root) CMD (/etc/linetest/linetest.sh)
Mar 25 08:10:01 srv4hai CRON[21566]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar 25 08:10:01 srv4hai meter.sh: SHELLY meter.sh started
Mar 25 08:10:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:11 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:13 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:16 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:18 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:21 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:24 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:26 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:29 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:31 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:34 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:36 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:39 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:41 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:44 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:47 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:49 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:52 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:55 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:10:57 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:11:00 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 25 08:11:00 srv4hai meter.sh: SHELLY meter.sh ended
Mar 25 08:11:00 srv4hai postfix/pickup[19700]: 33E116027D: uid=33 from=
Mar 25 08:11:00 srv4hai postfix/cleanup[21555]: 33E116027D: message-id=<20240325071100.33E116027D@mail.viehai.at>
Mar 25 08:11:00 srv4hai postfix/qmgr[15291]: 33E116027D: from=, size=654, nrcpt=1 (queue active)
Mar 25 08:11:00 srv4hai CRON[22088]: (root) CMD (/etc/linetest/linetest.sh)
Mar 25 08:11:00 srv4hai postfix/local[21556]: 33E116027D: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 25 08:11:00 srv4hai postfix/qmgr[15291]: 33E116027D: removed
Mar 25 08:11:08 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 25 08:11:08 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.28
Mar 25 08:11:08 srv4hai dhcpd[5037]: execute_statement argv[2] = harmonyhub
Mar 25 08:11:08 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Mar 25 08:11:08 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Mar 25 08:11:08 srv4hai named[15509]: client @0x7f93180334d0 192.168.12.252#49779/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 25 08:11:08 srv4hai named[15509]: client @0x7f931c11da30 192.168.12.252#60329/key rndc-key: signer "rndc-key" approved
Mar 25 08:11:08 srv4hai named[15509]: client @0x7f931c11da30 192.168.12.252#60329/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Mar 25 08:11:08 srv4hai named[15509]: client @0x7f931c11da30 192.168.12.252#60329/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Mar 25 08:11:08 srv4hai named[15509]: client @0x7f931c11da30 192.168.12.252#60329/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Mar 25 08:11:08 srv4hai named[15509]: client @0x7f931c11da30 192.168.12.252#60329/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Mar 25 08:11:08 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Mar 25 08:11:08 srv4hai dhcpd[5037]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Mar 25 08:11:08 srv4hai named[15509]: client @0x7f930801c730 192.168.12.252#47771/key rndc-key: signer "rndc-key" approved
Mar 25 08:11:08 srv4hai named[15509]: client @0x7f930801c730 192.168.12.252#47771/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Mar 25 08:11:08 srv4hai named[15509]: client @0x7f930801c730 192.168.12.252#47771/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 25 08:11:08 srv4hai dhcpd[5037]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Mar 25 08:11:08 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Mar 25 08:12:01 srv4hai CRON[22107]: (root) CMD (/etc/linetest/linetest.sh)
Mar 25 08:12:03 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 25 08:12:03 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.10
Mar 25 08:12:03 srv4hai dhcpd[5037]: execute_statement argv[2] = pchai7x
Mar 25 08:12:03 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Mar 25 08:12:03 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Mar 25 08:12:03 srv4hai named[15509]: client @0x7f931405fa30 192.168.12.252#36211/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 25 08:12:03 srv4hai named[15509]: client @0x7f93040506c0 192.168.12.252#56737/key rndc-key: signer "rndc-key" approved
Mar 25 08:12:03 srv4hai named[15509]: client @0x7f93040506c0 192.168.12.252#56737/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Mar 25 08:12:03 srv4hai named[15509]: client @0x7f93040506c0 192.168.12.252#56737/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Mar 25 08:12:03 srv4hai named[15509]: client @0x7f93040506c0 192.168.12.252#56737/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Mar 25 08:12:03 srv4hai named[15509]: client @0x7f93040506c0 192.168.12.252#56737/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Mar 25 08:12:03 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Mar 25 08:12:03 srv4hai dhcpd[5037]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Mar 25 08:12:03 srv4hai named[15509]: client @0x7f931c13a950 192.168.12.252#45635/key rndc-key: signer "rndc-key" approved
Mar 25 08:12:03 srv4hai named[15509]: client @0x7f931c13a950 192.168.12.252#45635/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Mar 25 08:12:03 srv4hai named[15509]: client @0x7f931c13a950 192.168.12.252#45635/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 25 08:12:03 srv4hai dhcpd[5037]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Mar 25 08:12:03 srv4hai activate_scenario[22118]: SHELLY scenario: 'pcON(pcon)' started
Mar 25 08:12:03 srv4hai activate_scenario[22118]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished