activate_scenario.sh
Mon Jul 15 18:05:00 CEST 2024
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/07/15/_0.log)

vorher: 18:05:00.975

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

nachher: 18:05:01.023
Dauer: 49 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/07/15/_1.log)

vorher: 18:05:00.987

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

nachher: 18:05:01.023
Dauer: 36 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 18:05:00.956
nachher: 18:05:01.031
Dauer : 76 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/15//scene_buero_UM_20240715_180500.txt'


syslog

Jul 15 18:02:00 srv4hai ping_SP[19397]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721059320 - 'ping_SP_0'
Jul 15 18:02:00 srv4hai ping_SP[19397]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 15 18:02:01 srv4hai CRON[23862]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 18:02:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23890, secured, session=<00P7W0sduqkAAAAAAAAAAAAAAAAAAAAB>
Jul 15 18:02:43 srv4hai dovecot: imap(miglincit)<23890><00P7W0sduqkAAAAAAAAAAAAAAAAAAAAB>: Logged out in=793 out=57214 deleted=0 expunged=0 trashed=0 hdr_count=63 hdr_bytes=28028 body_count=0 body_bytes=0
Jul 15 18:02:43 srv4hai activate_scenario[23892]: SHELLY scenario: 'pcOFF(pcoff)' started
Jul 15 18:02:43 srv4hai activate_scenario[23892]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''
Jul 15 18:02:43 srv4hai activate_scenario[23892]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Jul 15 18:02:43 srv4hai postfix/pickup[32457]: E73D86018A: uid=33 from=
Jul 15 18:02:43 srv4hai postfix/cleanup[23842]: E73D86018A: message-id=<20240715160243.E73D86018A@mail.viehai.at>
Jul 15 18:02:43 srv4hai postfix/qmgr[8566]: E73D86018A: from=, size=9945, nrcpt=1 (queue active)
Jul 15 18:02:43 srv4hai postfix/local[23843]: E73D86018A: to=, orig_to=, relay=local, delay=0.04, delays=0.01/0/0/0.03, dsn=5.1.1, status=bounced (unknown user: "null")
Jul 15 18:02:43 srv4hai postfix/cleanup[23842]: EF68F6018B: message-id=<20240715160243.EF68F6018B@mail.viehai.at>
Jul 15 18:02:43 srv4hai postfix/bounce[23948]: E73D86018A: sender non-delivery notification: EF68F6018B
Jul 15 18:02:43 srv4hai postfix/qmgr[8566]: EF68F6018B: from=<>, size=11827, nrcpt=1 (queue active)
Jul 15 18:02:43 srv4hai postfix/qmgr[8566]: E73D86018A: removed
Jul 15 18:02:43 srv4hai postfix/local[23843]: EF68F6018B: to=, relay=local, delay=0.01, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 15 18:02:43 srv4hai postfix/qmgr[8566]: EF68F6018B: removed
Jul 15 18:02:43 srv4hai activate_scenario[23892]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Jul 15 18:02:43 srv4hai proc_url[23961]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/07/15/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Jul 15 18:02:44 srv4hai activate_scenario[23892]: SHELLY scenario: 'pcOFF(pcoff)' took 62 msec, shelly-0:''
Jul 15 18:03:01 srv4hai CRON[23999]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 18:03:13 srv4hai ping_SP[19397]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721059393 - 'ping_SP_0'
Jul 15 18:03:13 srv4hai ping_SP[19397]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 15 18:03:36 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24037, secured, session=
Jul 15 18:03:36 srv4hai dovecot: imap(miglincit)<24037>: Logged out in=793 out=57199 deleted=0 expunged=0 trashed=0 hdr_count=63 hdr_bytes=28028 body_count=0 body_bytes=0
Jul 15 18:03:56 srv4hai postfix/smtpd[24049]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 15 18:03:56 srv4hai postfix/smtpd[24049]: connect from 94-154-35-194.virtualine.org[94.154.35.194]
Jul 15 18:03:56 srv4hai postfix/smtpd[24049]: warning: 94-154-35-194.virtualine.org[94.154.35.194]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul 15 18:03:57 srv4hai postfix/smtpd[24049]: disconnect from 94-154-35-194.virtualine.org[94.154.35.194] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul 15 18:03:58 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24055, secured, session=
Jul 15 18:03:58 srv4hai dovecot: imap(pilsc)<24055>: Logged out in=90 out=1011 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 15 18:04:01 srv4hai CRON[24057]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 18:04:18 srv4hai dhcpd[30731]: DHCPRELEASE of 192.168.12.3 from 70:a7:41:9a:7d:4e via enp2s0 (not found)
Jul 15 18:04:18 srv4hai dhcpd[30731]: DHCPDISCOVER from 70:a7:41:9a:7d:4e via enp2s0
Jul 15 18:04:18 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Jul 15 18:04:18 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Jul 15 18:04:18 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.3
Jul 15 18:04:18 srv4hai dhcpd[30731]: execute_statement argv[2] = ap3hai
Jul 15 18:04:18 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.3 (192.168.12.252) from 70:a7:41:9a:7d:4e via enp2s0
Jul 15 18:04:18 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Jul 15 18:04:18 srv4hai named[30406]: client @0x7f931002f1e0 192.168.12.252#50431/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: ap3hai.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jul 15 18:04:18 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#33867/key rndc-key: signer "rndc-key" approved
Jul 15 18:04:18 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#33867/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' TXT
Jul 15 18:04:18 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#33867/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' TXT "31763f1a8a980dd918aaf8fff3416a5028"
Jul 15 18:04:18 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#33867/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' A
Jul 15 18:04:18 srv4hai named[30406]: client @0x7f931c098670 192.168.12.252#33867/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' A 192.168.12.3
Jul 15 18:04:18 srv4hai dhcpd[30731]: Added new forward map from ap3hai.viehai.at to 192.168.12.3
Jul 15 18:04:18 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.3'(3) device 'ap3hai'
Jul 15 18:04:18 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#55765/key rndc-key: signer "rndc-key" approved
Jul 15 18:04:18 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#55765/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '3.12.168.192.in-addr.arpa' PTR
Jul 15 18:04:18 srv4hai named[30406]: client @0x7f931001f430 192.168.12.252#55765/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '3.12.168.192.in-addr.arpa' PTR ap3hai.viehai.at.
Jul 15 18:04:18 srv4hai dhcpd[30731]: Added reverse map from 3.12.168.192.in-addr.arpa. to ap3hai.viehai.at
Jul 15 18:04:18 srv4hai dhcpcommit.sh: SHELLY device 'ap3hai' known and accepted
Jul 15 18:04:26 srv4hai ping_SP[19397]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721059466 - 'ping_SP_0'
Jul 15 18:04:26 srv4hai ping_SP[19397]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 15 18:05:00 srv4hai activate_scenario[24123]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul 15 18:05:00 srv4hai activate_scenario[24123]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished