activate_scenario.sh
Sat Sep 28 22:36:52 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/28/_0.log)

vorher: 22:36:53.078

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": 12.72,
  "overpower": false

nachher: 22:36:53.129
Dauer: 50 msec phName: 'shelly-28:'Schalter Nasszeile''


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

vorher: 22:36:53.091

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": 12.72,
  "overpower": false

nachher: 22:36:53.128
Dauer: 37 msec phName: 'shelly-28:'Schalter Nasszeile''


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

urls : 2
vorher : 22:36:53.059
nachher: 22:36:53.136
Dauer : 77 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/28//scene_nasszeile_um_20240928_223652.txt'


syslog

Sep 28 22:33:01 srv4hai CRON[18411]: (root) CMD (/etc/linetest/linetest.sh)
Sep 28 22:33:06 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727555586 - 'ping_SP_1'
Sep 28 22:33:06 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 28 22:33:25 srv4hai postfix/smtpd[18433]: warning: hostname 188-190-10-124.clevhosting.com does not resolve to address 188.190.10.124: Name or service not known
Sep 28 22:33:25 srv4hai postfix/smtpd[18433]: connect from unknown[188.190.10.124]
Sep 28 22:33:25 srv4hai postfix/smtpd[18433]: warning: unknown[188.190.10.124]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 28 22:33:25 srv4hai postfix/smtpd[18433]: disconnect from unknown[188.190.10.124] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 28 22:33:39 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep 28 22:33:39 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep 28 22:33:41 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Sep 28 22:33:41 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep 28 22:33:41 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Sep 28 22:33:41 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.5
Sep 28 22:33:41 srv4hai dhcpd[30731]: execute_statement argv[2] = btscan1
Sep 28 22:33:41 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Sep 28 22:33:41 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Sep 28 22:33:41 srv4hai named[30406]: client @0x7f93480ae320 192.168.12.252#47485/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 28 22:33:41 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#44403/key rndc-key: signer "rndc-key" approved
Sep 28 22:33:41 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#44403/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Sep 28 22:33:41 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#44403/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Sep 28 22:33:41 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#44403/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Sep 28 22:33:41 srv4hai named[30406]: client @0x7f93300c1420 192.168.12.252#44403/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Sep 28 22:33:41 srv4hai dhcpd[30731]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Sep 28 22:33:41 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Sep 28 22:33:41 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#46711/key rndc-key: signer "rndc-key" approved
Sep 28 22:33:41 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#46711/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Sep 28 22:33:41 srv4hai named[30406]: client @0x7f9348063d20 192.168.12.252#46711/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 28 22:33:41 srv4hai dhcpd[30731]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Sep 28 22:33:41 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Sep 28 22:34:01 srv4hai CRON[18457]: (root) CMD (/etc/linetest/linetest.sh)
Sep 28 22:34:04 srv4hai ping_SP[6948]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727555644 - 'ping_SP_0'
Sep 28 22:34:04 srv4hai ping_SP[6948]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 28 22:34:10 srv4hai postfix/smtpd[18433]: connect from unknown[94.141.120.236]
Sep 28 22:34:10 srv4hai postfix/smtpd[18433]: warning: unknown[94.141.120.236]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 28 22:34:10 srv4hai postfix/smtpd[18433]: disconnect from unknown[94.141.120.236] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 28 22:34:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=18483, secured, session=
Sep 28 22:34:13 srv4hai dovecot: imap(miglincit)<18483>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 28 22:34:18 srv4hai common[18485]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 28 22:34:20 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727555660 - 'ping_SP_1'
Sep 28 22:34:20 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 28 22:34:28 srv4hai bt_scan[18485]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Sep 28 22:34:28 srv4hai bt_scan[18485]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Sep 28 22:34:28 srv4hai common[18531]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 28 22:34:29 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1727555669-1727555658
Sep 28 22:34:29 srv4hai check_presence[18531]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 28 22:34:29 srv4hai check_presence[18531]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep 28 22:34:29 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1727555669-1727555658
Sep 28 22:34:29 srv4hai check_presence[18531]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep 28 22:34:29 srv4hai check_presence[18531]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Sep 28 22:34:29 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1727555669-1727555658
Sep 28 22:34:29 srv4hai check_presence[18531]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 28 22:34:29 srv4hai check_presence[18531]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 28 22:34:29 srv4hai check_presence[18531]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Sep 28 22:34:29 srv4hai check_presence[18531]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Sep 28 22:34:54 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 28 22:34:55 srv4hai fetchmail[1651]: 53341 messages (53341 seen) for tmiglinci at mail.akis.at (80824153 octets).
Sep 28 22:34:55 srv4hai fetchmail[1651]: 10781 messages (10781 seen) for srozum at mail.akis.at (1306587964 octets).
Sep 28 22:34:56 srv4hai fetchmail[1651]: 26215 messages (26215 seen) for mrozum at mail.akis.at (253481974 octets).
Sep 28 22:34:56 srv4hai fetchmail[1651]: 1145 messages (1145 seen) for admin@bastelstube.wien at pop3.world4you.com (51919832 octets).
Sep 28 22:35:01 srv4hai CRON[18682]: (root) CMD (/etc/linetest/linetest.sh)
Sep 28 22:35:17 srv4hai ping_SP[6948]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727555717 - 'ping_SP_0'
Sep 28 22:35:17 srv4hai ping_SP[6948]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 28 22:35:26 srv4hai common[18716]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 28 22:35:33 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727555733 - 'ping_SP_1'
Sep 28 22:35:33 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 28 22:35:36 srv4hai bt_scan[18716]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 28 22:35:36 srv4hai bt_scan[18716]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Sep 28 22:36:01 srv4hai CRON[18766]: (root) CMD (/etc/linetest/linetest.sh)
Sep 28 22:36:31 srv4hai ping_SP[6948]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727555790 - 'ping_SP_0'
Sep 28 22:36:31 srv4hai ping_SP[6948]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 28 22:36:47 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727555806 - 'ping_SP_1'
Sep 28 22:36:47 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 28 22:36:53 srv4hai activate_scenario[18815]: SHELLY scenario: 'nasszeile_um(nasszeile_um)' started
Sep 28 22:36:53 srv4hai activate_scenario[18815]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-28:'Schalter Nasszeile'

finished