activate_scenario.sh
Fri Feb 23 11:02:29 CET 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/02/23/_0.log)

vorher: 11:02:29.203

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: 11:02:29.235
Dauer: 31 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 11:02:29.185
nachher: 11:02:29.241
Dauer : 57 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/23//scene_pcOFF_20240223_110229.txt'


syslog

Feb 23 10:59:01 srv4hai CRON[19641]: (root) CMD (/etc/linetest/linetest.sh)
Feb 23 10:59:05 srv4hai ping_SP[15016]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708682345 - 'ping_SP_1'
Feb 23 10:59:05 srv4hai ping_SP[15016]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 23 10:59:28 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Feb 23 10:59:28 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.10
Feb 23 10:59:28 srv4hai dhcpd[5037]: execute_statement argv[2] = pchai7x
Feb 23 10:59:28 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.10 from 70:54:d2:7b:fe:a7 via enp2s0
Feb 23 10:59:28 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.10 to 70:54:d2:7b:fe:a7 via enp2s0
Feb 23 10:59:28 srv4hai named[14530]: client @0x7fc320075e30 192.168.12.252#39735/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: pchai7x.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Feb 23 10:59:28 srv4hai named[14530]: client @0x7fc3100cb8b0 192.168.12.252#60381/key rndc-key: signer "rndc-key" approved
Feb 23 10:59:28 srv4hai named[14530]: client @0x7fc3100cb8b0 192.168.12.252#60381/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' TXT
Feb 23 10:59:28 srv4hai named[14530]: client @0x7fc3100cb8b0 192.168.12.252#60381/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' TXT "001e3ad86ca86e10b8e2aaf2e2ade54f52"
Feb 23 10:59:28 srv4hai named[14530]: client @0x7fc3100cb8b0 192.168.12.252#60381/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'pchai7x.viehai.at' A
Feb 23 10:59:28 srv4hai named[14530]: client @0x7fc3100cb8b0 192.168.12.252#60381/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'pchai7x.viehai.at' A 192.168.12.10
Feb 23 10:59:28 srv4hai dhcpd[5037]: Added new forward map from pchai7x.viehai.at to 192.168.12.10
Feb 23 10:59:28 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.10'(10) device 'pchai7x'
Feb 23 10:59:28 srv4hai named[14530]: client @0x7fc31400b700 192.168.12.252#55379/key rndc-key: signer "rndc-key" approved
Feb 23 10:59:28 srv4hai named[14530]: client @0x7fc31400b700 192.168.12.252#55379/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '10.12.168.192.in-addr.arpa' PTR
Feb 23 10:59:28 srv4hai named[14530]: client @0x7fc31400b700 192.168.12.252#55379/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.
Feb 23 10:59:28 srv4hai dhcpd[5037]: Added reverse map from 10.12.168.192.in-addr.arpa. to pchai7x.viehai.at
Feb 23 10:59:28 srv4hai activate_scenario[19674]: SHELLY scenario: 'pcON(pcon)' started
Feb 23 10:59:28 srv4hai activate_scenario[19674]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - origin:'dhcpcommit.sh-pchai7x'
Feb 23 10:59:28 srv4hai activate_scenario[19674]: SHELLY scenario: 'pcON(pcon)' TO BE EXECUTED, origin:'dhcpcommit.sh-pchai7x'
Feb 23 10:59:28 srv4hai postfix/pickup[31971]: 5190D60244: uid=33 from=
Feb 23 10:59:28 srv4hai postfix/cleanup[19603]: 5190D60244: message-id=<20240223095928.5190D60244@mail.viehai.at>
Feb 23 10:59:28 srv4hai postfix/qmgr[28610]: 5190D60244: from=, size=7158, nrcpt=1 (queue active)
Feb 23 10:59:28 srv4hai postfix/local[19604]: 5190D60244: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Feb 23 10:59:28 srv4hai postfix/cleanup[19603]: 560C460245: message-id=<20240223095928.560C460245@mail.viehai.at>
Feb 23 10:59:28 srv4hai postfix/bounce[19727]: 5190D60244: sender non-delivery notification: 560C460245
Feb 23 10:59:28 srv4hai postfix/qmgr[28610]: 560C460245: from=<>, size=9037, nrcpt=1 (queue active)
Feb 23 10:59:28 srv4hai postfix/qmgr[28610]: 5190D60244: removed
Feb 23 10:59:28 srv4hai postfix/local[19604]: 560C460245: to=, relay=local, delay=0.01, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 23 10:59:28 srv4hai postfix/qmgr[28610]: 560C460245: removed
Feb 23 10:59:28 srv4hai activate_scenario[19674]: SHELLY: scenario: 'pcON(pcon)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=on'
Feb 23 10:59:28 srv4hai proc_url[19740]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/23/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=on' - phName:'origin:'dhcpcommit.sh-pchai7x''
Feb 23 10:59:28 srv4hai activate_scenario[19674]: SHELLY scenario: 'pcON(pcon)' took 53 msec, origin:'dhcpcommit.sh-pchai7x'
Feb 23 10:59:34 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=192.168.12.10, lip=192.168.12.252, mpid=19768, TLS, session=
Feb 23 10:59:57 srv4hai ping_SP[21425]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708682397 - 'ping_SP_0'
Feb 23 10:59:57 srv4hai ping_SP[21425]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 23 11:00:01 srv4hai CRON[19798]: (root) CMD (/etc/linetest/linetest.sh)
Feb 23 11:00:01 srv4hai CRON[19799]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 23 11:00:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 23 11:00:09 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:12 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:14 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:17 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:19 srv4hai ping_SP[15016]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708682419 - 'ping_SP_1'
Feb 23 11:00:19 srv4hai ping_SP[15016]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 23 11:00:19 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:20 srv4hai postfix/smtpd[20213]: connect from unknown[194.33.191.90]
Feb 23 11:00:21 srv4hai postfix/smtpd[20213]: warning: unknown[194.33.191.90]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 23 11:00:21 srv4hai postfix/smtpd[20213]: disconnect from unknown[194.33.191.90] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Feb 23 11:00:22 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:25 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:27 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:30 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:32 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:35 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:37 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:40 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:42 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:45 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:48 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:50 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:53 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:54 srv4hai postfix/smtpd[20213]: connect from mta.infos.magenta.at[161.71.35.89]
Feb 23 11:00:55 srv4hai postfix/smtpd[20213]: 0B01F6011D: client=mta.infos.magenta.at[161.71.35.89]
Feb 23 11:00:55 srv4hai postfix/cleanup[19603]: 0B01F6011D: message-id=<01c9c33e-c51a-4114-b451-f1dd1a7baac3@fra3s50mta45.xt.local>
Feb 23 11:00:55 srv4hai postfix/qmgr[28610]: 0B01F6011D: from=, size=30705, nrcpt=1 (queue active)
Feb 23 11:00:55 srv4hai postfix/local[19604]: 0B01F6011D: to=, orig_to=, relay=local, delay=0.13, delays=0.12/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 23 11:00:55 srv4hai postfix/qmgr[28610]: 0B01F6011D: removed
Feb 23 11:00:55 srv4hai postfix/smtpd[20213]: disconnect from mta.infos.magenta.at[161.71.35.89] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Feb 23 11:00:55 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:00:58 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:01:00 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 23 11:01:01 srv4hai meter.sh: SHELLY meter.sh ended
Feb 23 11:01:01 srv4hai postfix/pickup[19777]: 0C6EA60244: uid=33 from=
Feb 23 11:01:01 srv4hai postfix/cleanup[19603]: 0C6EA60244: message-id=<20240223100101.0C6EA60244@mail.viehai.at>
Feb 23 11:01:01 srv4hai CRON[20355]: (root) CMD (/etc/linetest/linetest.sh)
Feb 23 11:01:01 srv4hai postfix/qmgr[28610]: 0C6EA60244: from=, size=654, nrcpt=1 (queue active)
Feb 23 11:01:01 srv4hai postfix/local[19604]: 0C6EA60244: 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)
Feb 23 11:01:01 srv4hai postfix/qmgr[28610]: 0C6EA60244: removed
Feb 23 11:01:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=20362, secured, session=
Feb 23 11:01:01 srv4hai dovecot: imap(miglincit)<20362>: Logged out in=742 out=47516 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=23834 body_count=0 body_bytes=0
Feb 23 11:01:10 srv4hai ping_SP[21425]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708682470 - 'ping_SP_0'
Feb 23 11:01:10 srv4hai ping_SP[21425]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 23 11:01:11 srv4hai postfix/smtpd[20213]: connect from unknown[193.222.96.116]
Feb 23 11:01:11 srv4hai postfix/smtpd[20213]: disconnect from unknown[193.222.96.116] ehlo=1 quit=1 commands=2
Feb 23 11:01:32 srv4hai ping_SP[15016]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1708682492 - 'ping_SP_1'
Feb 23 11:01:32 srv4hai ping_SP[15016]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 23 11:02:01 srv4hai CRON[20412]: (root) CMD (/etc/linetest/linetest.sh)
Feb 23 11:02:23 srv4hai ping_SP[21425]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1708682543 - 'ping_SP_0'
Feb 23 11:02:23 srv4hai ping_SP[21425]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 23 11:02:28 srv4hai dovecot: imap(miglincit)<19768>: Logged out in=460 out=97910 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=295 body_count=1 body_bytes=25314
Feb 23 11:02:29 srv4hai activate_scenario[20449]: SHELLY scenario: 'pcOFF(pcoff)' started
Feb 23 11:02:29 srv4hai activate_scenario[20449]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished