activate_scenario.sh
Sun Mar 10 18:51:31 CET 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/03/10/_0.log)

vorher: 18:51:31.405

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: 18:51:31.441
Dauer: 35 msec phName: 'origin:'dhcpcommit.sh-pchai7x''


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

urls : 1
vorher : 18:51:31.359
nachher: 18:51:31.447
Dauer : 89 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/10//scene_pcON_20240310_185131.txt'


syslog

Mar 10 18:48:01 srv4hai CRON[20656]: (root) CMD (/etc/linetest/linetest.sh)
Mar 10 18:48:04 srv4hai postfix/smtpd[20661]: connect from unknown[79.110.62.10]
Mar 10 18:48:04 srv4hai postfix/smtpd[20661]: warning: unknown[79.110.62.10]: SASL LOGIN authentication failed: Invalid authentication mechanism
Mar 10 18:48:04 srv4hai postfix/smtpd[20661]: disconnect from unknown[79.110.62.10] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Mar 10 18:48:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20668, secured, session=
Mar 10 18:48:13 srv4hai dovecot: imap(miglincit)<20668>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 10 18:48:51 srv4hai ping_SP[19042]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1710092931 - 'ping_SP_1'
Mar 10 18:48:51 srv4hai ping_SP[19042]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 10 18:49:01 srv4hai CRON[20698]: (root) CMD (/etc/linetest/linetest.sh)
Mar 10 18:50:01 srv4hai CRON[20715]: (root) CMD (/etc/linetest/linetest.sh)
Mar 10 18:50:01 srv4hai CRON[20716]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar 10 18:50:01 srv4hai meter.sh: SHELLY meter.sh started
Mar 10 18:50:04 srv4hai ping_SP[19042]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1710093004 - 'ping_SP_1'
Mar 10 18:50:04 srv4hai ping_SP[19042]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 10 18:50:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:13 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:18 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:19 srv4hai postfix/smtpd[21127]: connect from unknown[79.110.62.10]
Mar 10 18:50:19 srv4hai postfix/smtpd[21127]: warning: unknown[79.110.62.10]: SASL LOGIN authentication failed: Invalid authentication mechanism
Mar 10 18:50:19 srv4hai postfix/smtpd[21127]: disconnect from unknown[79.110.62.10] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Mar 10 18:50:21 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:23 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:26 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:31 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:33 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:36 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:38 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:41 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:44 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:47 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:49 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:52 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:54 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:57 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:59 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 10 18:50:59 srv4hai meter.sh: SHELLY meter.sh ended
Mar 10 18:50:59 srv4hai postfix/pickup[20599]: B55CE602B8: uid=33 from=
Mar 10 18:50:59 srv4hai postfix/cleanup[21258]: B55CE602B8: message-id=<20240310175059.B55CE602B8@mail.viehai.at>
Mar 10 18:50:59 srv4hai postfix/qmgr[15291]: B55CE602B8: from=, size=654, nrcpt=1 (queue active)
Mar 10 18:50:59 srv4hai postfix/local[21260]: B55CE602B8: to=, orig_to=, relay=local, delay=0.08, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 10 18:50:59 srv4hai postfix/qmgr[15291]: B55CE602B8: removed
Mar 10 18:51:01 srv4hai CRON[21263]: (root) CMD (/etc/linetest/linetest.sh)
Mar 10 18:51:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21276, secured, session=
Mar 10 18:51:13 srv4hai dovecot: imap(miglincit)<21276>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 10 18:51:18 srv4hai ping_SP[19042]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1710093078 - 'ping_SP_1'
Mar 10 18:51:18 srv4hai ping_SP[19042]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Mar 10 18:51:20 srv4hai activate_scenario[21294]: SHELLY scenario: 'buero_UM(buero_um)' started
Mar 10 18:51:20 srv4hai activate_scenario[21294]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'
Mar 10 18:51:20 srv4hai activate_scenario[21294]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'Thomas Büro Licht'
Mar 10 18:51:20 srv4hai postfix/pickup[20599]: 22C1B602B8: uid=33 from=
Mar 10 18:51:20 srv4hai postfix/cleanup[21258]: 22C1B602B8: message-id=<20240310175120.22C1B602B8@mail.viehai.at>
Mar 10 18:51:20 srv4hai postfix/qmgr[15291]: 22C1B602B8: from=, size=6966, nrcpt=1 (queue active)
Mar 10 18:51:20 srv4hai postfix/local[21260]: 22C1B602B8: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Mar 10 18:51:20 srv4hai postfix/cleanup[21258]: 2692A602B9: message-id=<20240310175120.2692A602B9@mail.viehai.at>
Mar 10 18:51:20 srv4hai postfix/qmgr[15291]: 2692A602B9: from=<>, size=8885, nrcpt=1 (queue active)
Mar 10 18:51:20 srv4hai postfix/bounce[21351]: 22C1B602B8: sender non-delivery notification: 2692A602B9
Mar 10 18:51:20 srv4hai postfix/qmgr[15291]: 22C1B602B8: removed
Mar 10 18:51:20 srv4hai postfix/local[21260]: 2692A602B9: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 10 18:51:20 srv4hai postfix/qmgr[15291]: 2692A602B9: removed
Mar 10 18:51:20 srv4hai activate_scenario[21294]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'Thomas Büro Regallicht' --> '0?turn=toggle'
Mar 10 18:51:20 srv4hai proc_url[21363]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/10/_0.log' - shellyUsage:'Thomas Büro Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Mar 10 18:51:20 srv4hai activate_scenario[21294]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'Thomas Büro Licht' --> '0?turn=toggle'
Mar 10 18:51:20 srv4hai proc_url[21374]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/03/10/_1.log' - shellyUsage:'Thomas Büro Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'Thomas Büro Licht''
Mar 10 18:51:20 srv4hai activate_scenario[21294]: SHELLY scenario: 'buero_UM(buero_um)' took 264 msec, shelly-40:'Thomas Büro Licht'
Mar 10 18:51:21 srv4hai postfix/smtpd[21127]: connect from unknown[193.222.96.70]
Mar 10 18:51:21 srv4hai postfix/smtpd[21127]: warning: unknown[193.222.96.70]: SASL LOGIN authentication failed: Invalid authentication mechanism
Mar 10 18:51:21 srv4hai postfix/smtpd[21127]: disconnect from unknown[193.222.96.70] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Mar 10 18:51:31 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Mar 10 18:51:31 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.10
Mar 10 18:51:31 srv4hai dhcpd[5037]: execute_statement argv[2] = pchai7x
Mar 10 18:51:31 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Mar 10 18:51:31 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Mar 10 18:51:31 srv4hai named[15509]: client @0x7f93180334d0 192.168.12.252#50359/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 10 18:51:31 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#55701/key rndc-key: signer "rndc-key" approved
Mar 10 18:51:31 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#55701/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Mar 10 18:51:31 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#55701/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Mar 10 18:51:31 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#55701/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Mar 10 18:51:31 srv4hai named[15509]: client @0x7f931009ada0 192.168.12.252#55701/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Mar 10 18:51:31 srv4hai dhcpd[5037]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Mar 10 18:51:31 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#58187/key rndc-key: signer "rndc-key" approved
Mar 10 18:51:31 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#58187/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Mar 10 18:51:31 srv4hai named[15509]: client @0x7f930c0a53a0 192.168.12.252#58187/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 10 18:51:31 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Mar 10 18:51:31 srv4hai dhcpd[5037]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Mar 10 18:51:31 srv4hai activate_scenario[21421]: SHELLY scenario: 'pcON(pcon)' started
Mar 10 18:51:31 srv4hai activate_scenario[21421]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'

finished