activate_scenario.sh
Mon Dec 30 22:37:53 CET 2024
scenario: nasszeile_um
source: 192.168.12.128

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

scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_0.log)

vorher: 22:37:53.173

http://192.168.12.116/white/0?turn=toggle&brightness=25
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 10.8,
  "overpower": false

nachher: 22:37:53.208
Dauer: 35 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


KÜ Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/12/30/_1.log)

vorher: 22:37:53.187

http://192.168.12.116/white/1?turn=toggle&brightness=25
  "ison": false,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 25,
  "transition": 0,
  "power": 10.8,
  "overpower": false

nachher: 22:37:53.235
Dauer: 48 msec phName: 'shelly-28:'KÜ Schalter Nasszeile''


scenario: 'Nasszeile UM-schalten' - 'nasszeile_um' - 'nasszeile_um'

urls : 2
vorher : 22:37:53.151
nachher: 22:37:53.241
Dauer : 90 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/30//scene_nasszeile_um_20241230_223753.txt'


syslog

Dec 30 22:34:01 srv4hai CRON[532]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 22:34:25 srv4hai postfix/smtpd[542]: connect from unknown[80.94.95.239]
Dec 30 22:34:28 srv4hai postfix/smtpd[542]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec 30 22:34:30 srv4hai postfix/smtpd[542]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec 30 22:34:38 srv4hai ping_SP[19057]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735594478 - 'ping_SP_0'
Dec 30 22:34:38 srv4hai ping_SP[19057]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 30 22:34:40 srv4hai systemd[1]: Started Run anacron jobs.
Dec 30 22:34:40 srv4hai anacron[565]: Anacron 2.3 started on 2024-12-30
Dec 30 22:34:40 srv4hai anacron[565]: Normal exit (0 jobs run)
Dec 30 22:34:40 srv4hai systemd[1]: anacron.service: Succeeded.
Dec 30 22:34:52 srv4hai dhcpd[4995]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Dec 30 22:34:52 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Dec 30 22:34:54 srv4hai dhcpd[4995]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Dec 30 22:34:54 srv4hai dhcpd[4995]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Dec 30 22:34:54 srv4hai dhcpd[4995]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Dec 30 22:34:54 srv4hai dhcpd[4995]: execute_statement argv[1] = 192.168.12.5
Dec 30 22:34:54 srv4hai dhcpd[4995]: execute_statement argv[2] = btscan1
Dec 30 22:34:54 srv4hai dhcpd[4995]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Dec 30 22:34:54 srv4hai dhcpd[4995]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Dec 30 22:34:54 srv4hai named[30406]: client @0x7f93506a3ad0 192.168.12.252#59259/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Dec 30 22:34:54 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#53419/key rndc-key: signer "rndc-key" approved
Dec 30 22:34:54 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#53419/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Dec 30 22:34:54 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#53419/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Dec 30 22:34:54 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#53419/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Dec 30 22:34:54 srv4hai named[30406]: client @0x7f9348081920 192.168.12.252#53419/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Dec 30 22:34:54 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Dec 30 22:34:54 srv4hai dhcpd[4995]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Dec 30 22:34:54 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#52741/key rndc-key: signer "rndc-key" approved
Dec 30 22:34:54 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#52741/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Dec 30 22:34:54 srv4hai named[30406]: client @0x7f934c037ed0 192.168.12.252#52741/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '5.12.168.192.in-addr.arpa' PTR btscan1.viehai.at.
Dec 30 22:34:54 srv4hai dhcpd[4995]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Dec 30 22:34:54 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Dec 30 22:34:57 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1735594497 - 'ping_SP_1'
Dec 30 22:34:57 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 30 22:34:59 srv4hai mosquitto[29419]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Dec 30 22:35:01 srv4hai CRON[602]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 22:35:51 srv4hai ping_SP[19057]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735594551 - 'ping_SP_0'
Dec 30 22:35:51 srv4hai ping_SP[19057]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 30 22:36:01 srv4hai CRON[652]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 22:36:10 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1735594570 - 'ping_SP_1'
Dec 30 22:36:10 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 30 22:36:43 srv4hai common[678]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 30 22:36:53 srv4hai bt_scan[678]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Dec 30 22:36:53 srv4hai bt_scan[678]: SHELLY - ping_SP.sh already running for BTmac: '1' - IPv4: '192.168.12.62'
Dec 30 22:37:01 srv4hai CRON[717]: (root) CMD (/etc/linetest/linetest.sh)
Dec 30 22:37:04 srv4hai ping_SP[19057]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735594624 - 'ping_SP_0'
Dec 30 22:37:04 srv4hai ping_SP[19057]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 30 22:37:24 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1735594644 - 'ping_SP_1'
Dec 30 22:37:24 srv4hai ping_SP[21819]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Dec 30 22:37:50 srv4hai postfix/anvil[544]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Dec 30 22:34:25
Dec 30 22:37:50 srv4hai postfix/anvil[544]: statistics: max connection count 1 for (smtp:80.94.95.239) at Dec 30 22:34:25
Dec 30 22:37:50 srv4hai postfix/anvil[544]: statistics: max cache size 1 at Dec 30 22:34:25
Dec 30 22:37:53 srv4hai activate_scenario[768]: SHELLY last scenario: 'vorraumOn' @ '211645' from 'scene_vorraumOn_20241230_211645.txt' - delta=-8
Dec 30 22:37:53 srv4hai activate_scenario[768]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20241230223753 20241230211645  -f '%S'
Dec 30 22:37:53 srv4hai activate_scenario[768]: SHELLY  new scenario: 'nasszeile_um' different - GO ON
Dec 30 22:37:53 srv4hai activate_scenario[768]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Dec 30 22:37:53 srv4hai activate_scenario[768]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'KÜ Schalter Nasszeile'

finished