activate_scenario.sh
Fri Jul 19 19:32:08 CEST 2024
scenario: pcOFF
source: 192.168.12.10

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

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/07/19/_0.log)

vorher: 19:32:08.426

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

nachher: 19:32:08.460
Dauer: 33 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 19:32:08.370
nachher: 19:32:08.466
Dauer : 98 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/19//scene_pcOFF_20240719_193208.txt'


syslog

Jul 19 19:29:01 srv4hai CRON[3656]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 19:29:11 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 19 19:29:12 srv4hai fetchmail[1651]: 49017 messages (49016 seen) for tmiglinci at mail.akis.at (-235576828 octets).
Jul 19 19:29:12 srv4hai postfix/smtpd[3662]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 19 19:29:12 srv4hai postfix/smtpd[3662]: connect from localhost[127.0.0.1]
Jul 19 19:29:12 srv4hai postfix/smtpd[3662]: 4B5F76004D: client=localhost[127.0.0.1]
Jul 19 19:29:12 srv4hai postfix/cleanup[3665]: 4B5F76004D: message-id=
Jul 19 19:29:12 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:49017 of 49017 (188654 octets) not flushed
Jul 19 19:29:12 srv4hai postfix/qmgr[8566]: 4B5F76004D: from=, size=188921, nrcpt=1 (queue active)
Jul 19 19:29:12 srv4hai postfix/smtpd[3662]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jul 19 19:29:12 srv4hai postfix/local[3666]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 19 19:29:12 srv4hai postfix/local[3666]: 4B5F76004D: to=, relay=local, delay=0.15, delays=0.12/0.01/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 19 19:29:12 srv4hai postfix/qmgr[8566]: 4B5F76004D: removed
Jul 19 19:29:13 srv4hai fetchmail[1651]: 10476 messages (10476 seen) for srozum at mail.akis.at (1261603013 octets).
Jul 19 19:29:13 srv4hai fetchmail[1651]: 24835 messages (24835 seen) for mrozum at mail.akis.at (47330564 octets).
Jul 19 19:29:14 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 19 19:29:37 srv4hai ping_SP[20073]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721410177 - 'ping_SP_0'
Jul 19 19:29:37 srv4hai ping_SP[20073]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 19 19:29:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3691, secured, session=
Jul 19 19:29:55 srv4hai dovecot: imap(miglincit)<3691>: Logged out in=737 out=53178 deleted=0 expunged=0 trashed=0 hdr_count=56 hdr_bytes=25538 body_count=0 body_bytes=0
Jul 19 19:30:01 srv4hai CRON[3696]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jul 19 19:30:01 srv4hai CRON[3697]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Jul 19 19:30:01 srv4hai CRON[3698]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 19:30:01 srv4hai common[3699]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jul 19 19:30:01 srv4hai meter.sh: SHELLY meter.sh started
Jul 19 19:30:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jul 19 19:30:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jul 19 19:30:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jul 19 19:30:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jul 19 19:30:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jul 19 19:30:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jul 19 19:30:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jul 19 19:30:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 19 19:30:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 19 19:30:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jul 19 19:30:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jul 19 19:30:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jul 19 19:30:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jul 19 19:30:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jul 19 19:30:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Jul 19 19:30:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jul 19 19:30:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jul 19 19:30:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jul 19 19:30:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jul 19 19:30:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jul 19 19:30:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jul 19 19:30:11 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jul 19 19:30:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jul 19 19:30:11 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jul 19 19:30:11 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jul 19 19:30:17 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 19 19:30:17 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jul 19 19:30:17 srv4hai common[4625]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jul 19 19:30:17 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
Jul 19 19:30:17 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
Jul 19 19:30:17 srv4hai meter.sh: SHELLY meter.sh ended
Jul 19 19:30:18 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Jul 19 19:30:18 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.28
Jul 19 19:30:18 srv4hai dhcpd[30731]: execute_statement argv[2] = harmonyhub
Jul 19 19:30:18 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.28 from c8:db:26:0c:f3:8e via enp2s0
Jul 19 19:30:18 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.28 to c8:db:26:0c:f3:8e via enp2s0
Jul 19 19:30:18 srv4hai named[30406]: client @0x7f931c09c730 192.168.12.252#35727/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: harmonyhub.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 19 19:30:18 srv4hai named[30406]: client @0x7f932c0c9f60 192.168.12.252#52821/key rndc-key: signer "rndc-key" approved
Jul 19 19:30:18 srv4hai named[30406]: client @0x7f932c0c9f60 192.168.12.252#52821/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' TXT
Jul 19 19:30:18 srv4hai named[30406]: client @0x7f932c0c9f60 192.168.12.252#52821/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' TXT "3122b5a8b4281156e6f217b32b7e260713"
Jul 19 19:30:18 srv4hai named[30406]: client @0x7f932c0c9f60 192.168.12.252#52821/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'harmonyhub.viehai.at' A
Jul 19 19:30:18 srv4hai named[30406]: client @0x7f932c0c9f60 192.168.12.252#52821/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'harmonyhub.viehai.at' A 192.168.12.28
Jul 19 19:30:18 srv4hai dhcpd[30731]: Added new forward map from harmonyhub.viehai.at to 192.168.12.28
Jul 19 19:30:18 srv4hai named[30406]: client @0x7f932c088690 192.168.12.252#33963/key rndc-key: signer "rndc-key" approved
Jul 19 19:30:18 srv4hai named[30406]: client @0x7f932c088690 192.168.12.252#33963/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '28.12.168.192.in-addr.arpa' PTR
Jul 19 19:30:18 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.28'(28) device 'harmonyhub'
Jul 19 19:30:18 srv4hai named[30406]: client @0x7f932c088690 192.168.12.252#33963/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.
Jul 19 19:30:18 srv4hai dhcpd[30731]: Added reverse map from 28.12.168.192.in-addr.arpa. to harmonyhub.viehai.at
Jul 19 19:30:18 srv4hai dhcpcommit.sh: SHELLY device 'harmonyhub' known and accepted
Jul 19 19:30:44 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Jul 19 19:30:50 srv4hai ping_SP[20073]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721410250 - 'ping_SP_0'
Jul 19 19:30:50 srv4hai ping_SP[20073]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 19 19:31:01 srv4hai CRON[4679]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 19:31:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4693, secured, session=
Jul 19 19:31:50 srv4hai dovecot: imap(miglincit)<4693>: Logged out in=737 out=53163 deleted=0 expunged=0 trashed=0 hdr_count=56 hdr_bytes=25538 body_count=0 body_bytes=0
Jul 19 19:32:01 srv4hai CRON[4699]: (root) CMD (/etc/linetest/linetest.sh)
Jul 19 19:32:01 srv4hai systemd[1]: Started Run anacron jobs.
Jul 19 19:32:01 srv4hai anacron[4701]: Anacron 2.3 started on 2024-07-19
Jul 19 19:32:01 srv4hai anacron[4701]: Normal exit (0 jobs run)
Jul 19 19:32:01 srv4hai systemd[1]: anacron.service: Succeeded.
Jul 19 19:32:03 srv4hai ping_SP[20073]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721410323 - 'ping_SP_0'
Jul 19 19:32:03 srv4hai ping_SP[20073]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 19 19:32:08 srv4hai activate_scenario[4723]: SHELLY scenario: 'pcOFF(pcoff)' started
Jul 19 19:32:08 srv4hai activate_scenario[4723]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished