activate_scenario.sh
Thu Oct 17 17:40:48 CEST 2024
scenario: vorraumOn
phoneName: 1

'day' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/10/17/_0.log)

vorher: 17:40:48.813

http://192.168.12.103/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "input"

nachher: 17:40:48.948
Dauer: 134 msec phName: 'phoneName:'1''


scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

urls : 1
vorher : 17:40:48.791
nachher: 17:40:48.954
Dauer : 162 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/10/17//scene_vorraumOn_20241017_174048.txt'


syslog

Oct 17 17:37:01 srv4hai CRON[28637]: (root) CMD (/etc/linetest/linetest.sh)
Oct 17 17:37:03 srv4hai ping_SP[13572]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1729179423 - 'ping_SP_0'
Oct 17 17:37:03 srv4hai ping_SP[13572]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct 17 17:37:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28673, secured, session=
Oct 17 17:37:43 srv4hai dovecot: imap(miglincit)<28673>: Logged out in=520 out=1231 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 17 17:37:45 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28677, secured, session=
Oct 17 17:37:45 srv4hai dovecot: imap(rozumm)<28677>: Logged out in=93 out=1065 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 17 17:37:52 srv4hai postfix/smtpd[28679]: warning: hostname 188-190-10-21.clevhosting.com does not resolve to address 188.190.10.21: Name or service not known
Oct 17 17:37:52 srv4hai postfix/smtpd[28679]: connect from unknown[188.190.10.21]
Oct 17 17:37:52 srv4hai postfix/smtpd[28679]: warning: unknown[188.190.10.21]: SASL LOGIN authentication failed: Invalid authentication mechanism
Oct 17 17:37:52 srv4hai postfix/smtpd[28679]: disconnect from unknown[188.190.10.21] ehlo=1 auth=0/1 quit=1 commands=2/3
Oct 17 17:38:01 srv4hai CRON[28685]: (root) CMD (/etc/linetest/linetest.sh)
Oct 17 17:38:16 srv4hai ping_SP[13572]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1729179496 - 'ping_SP_0'
Oct 17 17:38:16 srv4hai ping_SP[13572]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct 17 17:38:21 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Oct 17 17:38:27 srv4hai fetchmail[1651]: 54719 messages (54719 seen) for tmiglinci at mail.akis.at (194015703 octets).
Oct 17 17:38:30 srv4hai postfix/smtpd[28679]: connect from oc-144-21-89-219.compute.oraclecloud.com[144.21.89.219]
Oct 17 17:38:30 srv4hai postfix/smtpd[28679]: warning: oc-144-21-89-219.compute.oraclecloud.com[144.21.89.219]: SASL LOGIN authentication failed: Invalid authentication mechanism
Oct 17 17:38:30 srv4hai fetchmail[1651]: 10847 messages (10847 seen) for srozum at mail.akis.at (1315796015 octets).
Oct 17 17:38:30 srv4hai postfix/smtpd[28679]: disconnect from oc-144-21-89-219.compute.oraclecloud.com[144.21.89.219] ehlo=1 auth=0/1 quit=1 commands=2/3
Oct 17 17:38:34 srv4hai fetchmail[1651]: 26623 messages (26623 seen) for mrozum at mail.akis.at (314646364 octets).
Oct 17 17:38:34 srv4hai fetchmail[1651]: 1148 messages (1148 seen) for admin@bastelstube.wien at pop3.world4you.com (51939183 octets).
Oct 17 17:38:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28730, secured, session=
Oct 17 17:38:46 srv4hai dovecot: imap(rozumm)<28730>: Logged out in=93 out=1065 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 17 17:39:01 srv4hai CRON[28740]: (root) CMD (/etc/linetest/linetest.sh)
Oct 17 17:39:01 srv4hai CRON[28741]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Oct 17 17:39:01 srv4hai systemd[1]: Starting Clean php session files...
Oct 17 17:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Oct 17 17:39:01 srv4hai systemd[1]: Started Clean php session files.
Oct 17 17:39:29 srv4hai ping_SP[13572]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1729179569 - 'ping_SP_0'
Oct 17 17:39:29 srv4hai ping_SP[13572]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct 17 17:39:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28881, secured, session=
Oct 17 17:39:46 srv4hai dovecot: imap(rozumm)<28881>: Logged out in=93 out=1065 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 17 17:39:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28886, secured, session=
Oct 17 17:39:48 srv4hai dovecot: imap(miglincit)<28886>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 17 17:40:01 srv4hai CRON[28894]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Oct 17 17:40:01 srv4hai CRON[28895]: (root) CMD (/etc/linetest/linetest.sh)
Oct 17 17:40:01 srv4hai common[28896]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Oct 17 17:40:01 srv4hai meter.sh: SHELLY meter.sh started
Oct 17 17:40:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Oct 17 17:40:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Oct 17 17:40:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Oct 17 17:40:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Oct 17 17:40:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Oct 17 17:40:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Oct 17 17:40:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Oct 17 17:40:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Oct 17 17:40:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Oct 17 17:40:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Oct 17 17:40:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Oct 17 17:40:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Oct 17 17:40:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Oct 17 17:40:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Oct 17 17:40:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Oct 17 17:40:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Oct 17 17:40:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Oct 17 17:40:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Oct 17 17:40:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Oct 17 17:40:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Oct 17 17:40:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Oct 17 17:40:11 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Oct 17 17:40:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Oct 17 17:40:11 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Oct 17 17:40:11 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Oct 17 17:40:17 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Oct 17 17:40:17 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Oct 17 17:40:17 srv4hai common[29812]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Oct 17 17:40:17 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
Oct 17 17:40:17 srv4hai check_shelly.sh: SHELLY found '13' active shelly outputs
Oct 17 17:40:17 srv4hai meter.sh: SHELLY meter.sh ended
Oct 17 17:40:25 srv4hai dhcpd[30731]: DHCPDISCOVER from 08:3a:8d:d0:46:5a via enp2s0
Oct 17 17:40:25 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Oct 17 17:40:25 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/dhcpcommit.sh
Oct 17 17:40:25 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.5
Oct 17 17:40:25 srv4hai dhcpd[30731]: execute_statement argv[2] = btscan1
Oct 17 17:40:25 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.5 (192.168.12.252) from 08:3a:8d:d0:46:5a via enp2s0
Oct 17 17:40:25 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.5 to 08:3a:8d:d0:46:5a via enp2s0
Oct 17 17:40:25 srv4hai named[30406]: client @0x7f93300b2620 192.168.12.252#50957/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: btscan1.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Oct 17 17:40:25 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#58485/key rndc-key: signer "rndc-key" approved
Oct 17 17:40:25 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#58485/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' TXT
Oct 17 17:40:25 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#58485/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' TXT "000118916176265854cff71f762ffe0635"
Oct 17 17:40:25 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#58485/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'btscan1.viehai.at' A
Oct 17 17:40:25 srv4hai named[30406]: client @0x7f931c076a00 192.168.12.252#58485/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'btscan1.viehai.at' A 192.168.12.5
Oct 17 17:40:25 srv4hai dhcpd[30731]: Added new forward map from btscan1.viehai.at to 192.168.12.5
Oct 17 17:40:25 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#58677/key rndc-key: signer "rndc-key" approved
Oct 17 17:40:25 srv4hai dhcpcommit.sh: SHELLY ip:'192.168.12.5'(5) device 'btscan1'
Oct 17 17:40:25 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#58677/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '5.12.168.192.in-addr.arpa' PTR
Oct 17 17:40:25 srv4hai named[30406]: client @0x7f932c097490 192.168.12.252#58677/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.
Oct 17 17:40:25 srv4hai dhcpd[30731]: Added reverse map from 5.12.168.192.in-addr.arpa. to btscan1.viehai.at
Oct 17 17:40:25 srv4hai dhcpcommit.sh: SHELLY device 'btscan1' known and accepted
Oct 17 17:40:37 srv4hai common[29853]: SHELLY common.sh inkludiert von ./bt_scan.sh
Oct 17 17:40:43 srv4hai ping_SP[13572]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1729179643 - 'ping_SP_0'
Oct 17 17:40:43 srv4hai ping_SP[13572]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Oct 17 17:40:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29883, secured, session=
Oct 17 17:40:43 srv4hai dovecot: imap(miglincit)<29883>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 17 17:40:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29887, secured, session=
Oct 17 17:40:46 srv4hai dovecot: imap(rozumm)<29887>: Logged out in=93 out=1065 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 17 17:40:47 srv4hai bt_scan[29853]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Oct 17 17:40:47 srv4hai bt_scan[29853]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Oct 17 17:40:48 srv4hai common[29906]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Oct 17 17:40:48 srv4hai ping_SP[29906]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Oct 17 17:40:48 srv4hai common[29928]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Oct 17 17:40:48 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1729179648-1729179638
Oct 17 17:40:48 srv4hai check_presence[29928]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Oct 17 17:40:48 srv4hai check_presence[29928]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Oct 17 17:40:48 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1729179648-1729179638
Oct 17 17:40:48 srv4hai check_presence[29928]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Oct 17 17:40:48 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'10'=1729179648-1729179638
Oct 17 17:40:48 srv4hai check_presence[29928]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Oct 17 17:40:48 srv4hai check_presence[29928]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Oct 17 17:40:48 srv4hai check_presence[29928]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_pcON) - sceneONsmall(vorraumOn)
Oct 17 17:40:48 srv4hai check_presence[29928]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Oct 17 17:40:48 srv4hai activate_scenario[30075]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Oct 17 17:40:48 srv4hai activate_scenario[30075]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished