activate_scenario.sh
Wed Sep 4 22:30:07 CEST 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üche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/09/04/_0.log)

vorher: 22:30:07.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": 9.83,
  "overpower": false

nachher: 22:30:07.226
Dauer: 52 msec phName: 'shelly-28:'Schalter Nasszeile''


Küche Licht Naßzeile (/srv/www/viehai/shelly/log_scenarios/2024/09/04/_1.log)

vorher: 22:30:07.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": 9.83,
  "overpower": false

nachher: 22:30:07.237
Dauer: 49 msec phName: 'shelly-28:'Schalter Nasszeile''


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

urls : 2
vorher : 22:30:07.151
nachher: 22:30:07.243
Dauer : 91 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/04//scene_nasszeile_um_20240904_223007.txt'


syslog

Sep  4 22:27:01 srv4hai CRON[12900]: (root) CMD (/etc/linetest/linetest.sh)
Sep  4 22:27:06 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:27:06 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:27:08 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:27:08 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:27:12 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:27:12 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:27:20 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:27:20 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:27:25 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep  4 22:27:26 srv4hai fetchmail[1651]: 51577 messages (51577 seen) for tmiglinci at mail.akis.at (-42724168 octets).
Sep  4 22:27:26 srv4hai fetchmail[1651]: 10675 messages (10675 seen) for srozum at mail.akis.at (1287996291 octets).
Sep  4 22:27:27 srv4hai fetchmail[1651]: 25718 messages (25718 seen) for mrozum at mail.akis.at (185032790 octets).
Sep  4 22:27:27 srv4hai fetchmail[1651]: 1141 messages (1141 seen) for admin@bastelstube.wien at pop3.world4you.com (51598561 octets).
Sep  4 22:27:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=12927, secured, session=<1ir+AFEhAsIAAAAAAAAAAAAAAAAAAAAB>
Sep  4 22:27:33 srv4hai dovecot: imap(rozums)<12927><1ir+AFEhAsIAAAAAAAAAAAAAAAAAAAAB>: Logged out in=93 out=1021 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep  4 22:27:45 srv4hai ping_SP[14583]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725481665 - 'ping_SP_0'
Sep  4 22:27:45 srv4hai ping_SP[14583]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep  4 22:28:01 srv4hai CRON[12973]: (root) CMD (/etc/linetest/linetest.sh)
Sep  4 22:28:06 srv4hai ping_SP[7234]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1725481686 - 'ping_SP_1'
Sep  4 22:28:06 srv4hai ping_SP[7234]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep  4 22:28:26 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:28:26 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:28:28 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:28:28 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:28:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13018, secured, session=
Sep  4 22:28:33 srv4hai dovecot: imap(rozums)<13018>: Logged out in=93 out=1021 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep  4 22:28:58 srv4hai ping_SP[14583]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725481738 - 'ping_SP_0'
Sep  4 22:28:58 srv4hai ping_SP[14583]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep  4 22:29:01 srv4hai CRON[13061]: (root) CMD (/etc/linetest/linetest.sh)
Sep  4 22:29:08 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:29:08 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:29:10 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:29:10 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:29:10 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Sep  4 22:29:10 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.5
Sep  4 22:29:10 srv4hai dhcpd[30731]: execute_statement argv[2] = btscan1
Sep  4 22:29:10 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:29:10 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep  4 22:29:10 srv4hai named[30406]: client @0x7f933011a820 192.168.12.252#60893/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep  4 22:29:10 srv4hai named[30406]: client @0x7f932c0d0080 192.168.12.252#43037/key rndc-key: signer "rndc-key" approved
Sep  4 22:29:10 srv4hai named[30406]: client @0x7f932c0d0080 192.168.12.252#43037/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Sep  4 22:29:10 srv4hai named[30406]: client @0x7f932c0d0080 192.168.12.252#43037/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Sep  4 22:29:10 srv4hai named[30406]: client @0x7f932c0d0080 192.168.12.252#43037/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Sep  4 22:29:10 srv4hai named[30406]: client @0x7f932c0d0080 192.168.12.252#43037/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Sep  4 22:29:10 srv4hai dhcpd[30731]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Sep  4 22:29:10 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Sep  4 22:29:10 srv4hai named[30406]: client @0x7f93506df2d0 192.168.12.252#37181/key rndc-key: signer "rndc-key" approved
Sep  4 22:29:10 srv4hai named[30406]: client @0x7f93506df2d0 192.168.12.252#37181/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Sep  4 22:29:10 srv4hai named[30406]: client @0x7f93506df2d0 192.168.12.252#37181/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.
Sep  4 22:29:10 srv4hai dhcpd[30731]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Sep  4 22:29:10 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Sep  4 22:29:19 srv4hai ping_SP[7234]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1725481759 - 'ping_SP_1'
Sep  4 22:29:19 srv4hai ping_SP[7234]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep  4 22:29:33 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=13133, secured, session=
Sep  4 22:29:33 srv4hai dovecot: imap(rozums)<13133>: Logged out in=93 out=1021 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep  4 22:29:56 srv4hai activate_scenario[13154]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started
Sep  4 22:29:56 srv4hai activate_scenario[13154]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-29:'Schalter Herdzeile'
Sep  4 22:29:56 srv4hai activate_scenario[13154]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' TO BE EXECUTED, shelly-29:'Schalter Herdzeile'
Sep  4 22:29:56 srv4hai postfix/pickup[7085]: 98EA96345B: uid=33 from=
Sep  4 22:29:56 srv4hai postfix/cleanup[13207]: 98EA96345B: message-id=<20240904202956.98EA96345B@mail.viehai.at>
Sep  4 22:29:56 srv4hai postfix/qmgr[8566]: 98EA96345B: from=, size=12048, nrcpt=1 (queue active)
Sep  4 22:29:56 srv4hai activate_scenario[13154]: SHELLY: scenario: 'herdzeile_UM(herdzeile_um)'-'shelly-17'-'Küche Licht Herdzeile' --> '0?turn=toggle&brightness=50'
Sep  4 22:29:56 srv4hai proc_url[13225]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/04/_0.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/0?turn=toggle&brightness=50' - phName:'shelly-29:'Schalter Herdzeile''
Sep  4 22:29:56 srv4hai postfix/local[13220]: 98EA96345B: to=, orig_to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Sep  4 22:29:56 srv4hai postfix/cleanup[13207]: A3D0663460: message-id=<20240904202956.A3D0663460@mail.viehai.at>
Sep  4 22:29:56 srv4hai postfix/bounce[13221]: 98EA96345B: sender non-delivery notification: A3D0663460
Sep  4 22:29:56 srv4hai postfix/qmgr[8566]: A3D0663460: from=<>, size=13930, nrcpt=1 (queue active)
Sep  4 22:29:56 srv4hai postfix/qmgr[8566]: 98EA96345B: removed
Sep  4 22:29:56 srv4hai activate_scenario[13154]: SHELLY: scenario: 'herdzeile_UM(herdzeile_um)'-'shelly-17'-'Küche Licht Herdzeile' --> '1?turn=toggle&brightness=50'
Sep  4 22:29:56 srv4hai proc_url[13237]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/09/04/_1.log' - shellyUsage:'Küche Licht Herdzeile' - scUrl:'http://192.168.12.117/white/1?turn=toggle&brightness=50' - phName:'shelly-29:'Schalter Herdzeile''
Sep  4 22:29:56 srv4hai postfix/local[13220]: A3D0663460: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep  4 22:29:56 srv4hai postfix/qmgr[8566]: A3D0663460: removed
Sep  4 22:29:56 srv4hai activate_scenario[13154]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' took 187 msec, shelly-29:'Schalter Herdzeile'
Sep  4 22:30:01 srv4hai CRON[13290]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Sep  4 22:30:01 srv4hai CRON[13291]: (root) CMD (/etc/linetest/linetest.sh)
Sep  4 22:30:01 srv4hai CRON[13292]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep  4 22:30:01 srv4hai common[13293]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep  4 22:30:01 srv4hai meter.sh: SHELLY meter.sh started
Sep  4 22:30:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep  4 22:30:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep  4 22:30:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep  4 22:30:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep  4 22:30:07 srv4hai activate_scenario[13821]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Sep  4 22:30:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep  4 22:30:07 srv4hai activate_scenario[13821]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished