activate_scenario.sh
Sun Dec 8 12:37:24 CET 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'

TB Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_0.log)

vorher: 12:37:24.204

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

nachher: 12:37:24.233
Dauer: 28 msec phName: 'shelly-40:'TB Licht''


TB Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_1.log)

vorher: 12:37:24.216

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

nachher: 12:37:24.245
Dauer: 29 msec phName: 'shelly-40:'TB Licht''


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

urls : 2
vorher : 12:37:24.184
nachher: 12:37:24.251
Dauer : 67 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/08//scene_buero_UM_20241208_123724.txt'


syslog

Dec  8 12:34:01 srv4hai CRON[18052]: (root) CMD (/etc/linetest/linetest.sh)
Dec  8 12:34:12 srv4hai postfix/anvil[16399]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Dec  8 12:26:55
Dec  8 12:34:12 srv4hai postfix/anvil[16399]: statistics: max connection count 1 for (smtp:80.94.95.239) at Dec  8 12:26:55
Dec  8 12:34:12 srv4hai postfix/anvil[16399]: statistics: max cache size 1 at Dec  8 12:26:55
Dec  8 12:34:42 srv4hai postfix/smtpd[18073]: connect from unknown[80.94.95.239]
Dec  8 12:34:44 srv4hai postfix/smtpd[18073]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec  8 12:34:46 srv4hai postfix/smtpd[18073]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec  8 12:34:58 srv4hai ping_SP[2792]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733657698 - 'ping_SP_0'
Dec  8 12:34:58 srv4hai ping_SP[2792]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  8 12:35:01 srv4hai CRON[18100]: (root) CMD (/etc/linetest/linetest.sh)
Dec  8 12:35:07 srv4hai activate_scenario[18109]: SHELLY scenario: 'buero_UM(buero_um)' started
Dec  8 12:35:07 srv4hai activate_scenario[18109]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'
Dec  8 12:35:07 srv4hai activate_scenario[18109]: SHELLY scenario: 'buero_UM(buero_um)' TO BE EXECUTED, shelly-40:'TB Licht'
Dec  8 12:35:07 srv4hai postfix/pickup[6326]: B89F963465: uid=33 from=
Dec  8 12:35:07 srv4hai postfix/cleanup[17989]: B89F963465: message-id=<20241208113507.B89F963465@mail.viehai.at>
Dec  8 12:35:07 srv4hai postfix/qmgr[8566]: B89F963465: from=, size=8843, nrcpt=1 (queue active)
Dec  8 12:35:07 srv4hai postfix/local[18002]: B89F963465: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "null")
Dec  8 12:35:07 srv4hai postfix/cleanup[17989]: BC59763466: message-id=<20241208113507.BC59763466@mail.viehai.at>
Dec  8 12:35:07 srv4hai postfix/bounce[18005]: B89F963465: sender non-delivery notification: BC59763466
Dec  8 12:35:07 srv4hai postfix/qmgr[8566]: BC59763466: from=<>, size=10722, nrcpt=1 (queue active)
Dec  8 12:35:07 srv4hai postfix/qmgr[8566]: B89F963465: removed
Dec  8 12:35:07 srv4hai postfix/local[18002]: BC59763466: to=, relay=local, delay=0.02, delays=0/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec  8 12:35:07 srv4hai postfix/qmgr[8566]: BC59763466: removed
Dec  8 12:35:07 srv4hai activate_scenario[18109]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-08'-'TB Regallicht' --> '0?turn=toggle'
Dec  8 12:35:07 srv4hai proc_url[18177]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/08/_0.log' - shellyUsage:'TB Regallicht' - scUrl:'http://192.168.12.108/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Dec  8 12:35:07 srv4hai activate_scenario[18109]: SHELLY: scenario: 'buero_UM(buero_um)'-'shelly-40'-'TB Licht' --> '0?turn=toggle'
Dec  8 12:35:07 srv4hai proc_url[18188]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/12/08/_1.log' - shellyUsage:'TB Licht' - scUrl:'http://192.168.12.140/relay/0?turn=toggle' - phName:'shelly-40:'TB Licht''
Dec  8 12:35:07 srv4hai activate_scenario[18109]: SHELLY scenario: 'buero_UM(buero_um)' took 128 msec, shelly-40:'TB Licht'
Dec  8 12:35:22 srv4hai dhcpd[4995]: DHCPRELEASE of 192.168.12.2 from 24:5a:4c:1c:1e:f4 via enp2s0 (not found)
Dec  8 12:35:22 srv4hai common[18231]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec  8 12:35:22 srv4hai dhcpd[4995]: DHCPDISCOVER from 24:5a:4c:1c:1e:f4 via enp2s0
Dec  8 12:35:22 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.2 to 24:5a:4c:1c:1e:f4 via enp2s0
Dec  8 12:35:23 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Dec  8 12:35:23 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.2
Dec  8 12:35:23 srv4hai dhcpd[4995]: execute_statement argv[2] = ap2hai
Dec  8 12:35:23 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.2 (192.168.12.252) from 24:5a:4c:1c:1e:f4 via enp2s0
Dec  8 12:35:23 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.2 to 24:5a:4c:1c:1e:f4 via enp2s0
Dec  8 12:35:23 srv4hai named[30406]: client @0x7f935011da30 192.168.12.252#57169/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: ap2hai.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec  8 12:35:23 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#40695/key rndc-key: signer "rndc-key" approved
Dec  8 12:35:23 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#40695/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap2hai.viehai.at' TXT
Dec  8 12:35:23 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#40695/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap2hai.viehai.at' TXT "31a0d441667de220424b7789941807db7d"
Dec  8 12:35:23 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#40695/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap2hai.viehai.at' A
Dec  8 12:35:23 srv4hai named[30406]: client @0x7f934c0821f0 192.168.12.252#40695/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap2hai.viehai.at' A 192.168.12.2
Dec  8 12:35:23 srv4hai dhcpd[4995]: Added new forward map from ap2hai.viehai.at to 192.168.12.2
Dec  8 12:35:23 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.2'(2) device 'ap2hai'
Dec  8 12:35:23 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#60953/key rndc-key: signer "rndc-key" approved
Dec  8 12:35:23 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#60953/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '2.12.168.192.in-addr.arpa' PTR
Dec  8 12:35:23 srv4hai named[30406]: client @0x7f9348022510 192.168.12.252#60953/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '2.12.168.192.in-addr.arpa' PTR ap2hai.viehai.at.
Dec  8 12:35:23 srv4hai dhcpd[4995]: Added reverse map from 2.12.168.192.in-addr.arpa. to ap2hai.viehai.at
Dec  8 12:35:23 srv4hai dhcpcommit.sh: SHELLY device 'ap2hai' known and accepted
Dec  8 12:35:31 srv4hai dhcpd[4995]: DHCPRELEASE of 192.168.12.3 from 70:a7:41:9a:7d:4e via enp2s0 (not found)
Dec  8 12:35:31 srv4hai dhcpd[4995]: DHCPDISCOVER from 70:a7:41:9a:7d:4e via enp2s0
Dec  8 12:35:31 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Dec  8 12:35:31 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Dec  8 12:35:31 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.3
Dec  8 12:35:31 srv4hai dhcpd[4995]: execute_statement argv[2] = ap3hai
Dec  8 12:35:31 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.3 (192.168.12.252) from 70:a7:41:9a:7d:4e via enp2s0
Dec  8 12:35:31 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.3 to 70:a7:41:9a:7d:4e via enp2s0
Dec  8 12:35:31 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#35259/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: ap3hai.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec  8 12:35:31 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#53777/key rndc-key: signer "rndc-key" approved
Dec  8 12:35:31 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#53777/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' TXT
Dec  8 12:35:31 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#53777/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' TXT "31763f1a8a980dd918aaf8fff3416a5028"
Dec  8 12:35:31 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#53777/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'ap3hai.viehai.at' A
Dec  8 12:35:31 srv4hai named[30406]: client @0x7f931c09a6d0 192.168.12.252#53777/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'ap3hai.viehai.at' A 192.168.12.3
Dec  8 12:35:31 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.3'(3) device 'ap3hai'
Dec  8 12:35:31 srv4hai dhcpd[4995]: Added new forward map from ap3hai.viehai.at to 192.168.12.3
Dec  8 12:35:31 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#53443/key rndc-key: signer "rndc-key" approved
Dec  8 12:35:31 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#53443/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '3.12.168.192.in-addr.arpa' PTR
Dec  8 12:35:31 srv4hai named[30406]: client @0x7f9348035d30 192.168.12.252#53443/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.
Dec  8 12:35:31 srv4hai dhcpd[4995]: Added reverse map from 3.12.168.192.in-addr.arpa. to ap3hai.viehai.at
Dec  8 12:35:31 srv4hai dhcpcommit.sh: SHELLY device 'ap3hai' known and accepted
Dec  8 12:35:32 srv4hai bt_scan[18231]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Dec  8 12:35:32 srv4hai bt_scan[18231]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Dec  8 12:36:01 srv4hai CRON[18288]: (root) CMD (/etc/linetest/linetest.sh)
Dec  8 12:36:12 srv4hai ping_SP[2792]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733657772 - 'ping_SP_0'
Dec  8 12:36:12 srv4hai ping_SP[2792]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  8 12:36:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18318, secured, session=
Dec  8 12:36:32 srv4hai dovecot: imap(miglincit)<18318>: Logged out in=1948 out=1203 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec  8 12:37:01 srv4hai CRON[18337]: (root) CMD (/etc/linetest/linetest.sh)
Dec  8 12:37:15 srv4hai postfix/smtpd[18355]: connect from unknown[23.129.64.173]
Dec  8 12:37:20 srv4hai postfix/smtpd[18355]: 3D10963463: client=unknown[23.129.64.173]
Dec  8 12:37:21 srv4hai postfix/cleanup[18360]: 3D10963463: message-id=<82622a9dffdcf6f90aa0e9054184bb510060@itmedia.co.jp>
Dec  8 12:37:21 srv4hai postfix/qmgr[8566]: 3D10963463: from=, size=37140, nrcpt=1 (queue active)
Dec  8 12:37:21 srv4hai postfix/local[18361]: 3D10963463: to=, orig_to=, relay=local, delay=2, delays=2/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec  8 12:37:21 srv4hai postfix/qmgr[8566]: 3D10963463: removed
Dec  8 12:37:22 srv4hai postfix/smtpd[18355]: disconnect from unknown[23.129.64.173] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Dec  8 12:37:24 srv4hai activate_scenario[18366]: SHELLY scenario: 'buero_UM(buero_um)' started
Dec  8 12:37:24 srv4hai activate_scenario[18366]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'TB Licht'

finished