activate_scenario.sh
Wed Sep 11 15:31:23 CEST 2024
scenario: vorraumOn
phoneName: 0

'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/09/11/_0.log)

vorher: 15:31:24.001

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: 15:31:24.073
Dauer: 72 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 15:31:23.982
nachher: 15:31:24.079
Dauer : 97 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/11//scene_vorraumOn_20240911_153123.txt'


syslog

Sep 11 15:28:01 srv4hai CRON[7626]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 15:28:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7632, secured, session=
Sep 11 15:28:04 srv4hai dovecot: imap(rozumm)<7632>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 11 15:28:31 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 11 15:28:32 srv4hai ping_SP[27965]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726061312 - 'ping_SP_1'
Sep 11 15:28:32 srv4hai ping_SP[27965]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 15:28:32 srv4hai fetchmail[1651]: 52088 messages (52087 seen) for tmiglinci at mail.akis.at (-7456225 octets).
Sep 11 15:28:32 srv4hai postfix/smtpd[7257]: connect from localhost[127.0.0.1]
Sep 11 15:28:32 srv4hai postfix/smtpd[7257]: EA4D16000F: client=localhost[127.0.0.1]
Sep 11 15:28:33 srv4hai postfix/cleanup[7663]: EA4D16000F: message-id=
Sep 11 15:28:33 srv4hai postfix/qmgr[8566]: EA4D16000F: from=, size=11021, nrcpt=1 (queue active)
Sep 11 15:28:33 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:52088 of 52088 (10797 octets) not flushed
Sep 11 15:28:33 srv4hai postfix/smtpd[7257]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 11 15:28:33 srv4hai postfix/local[7664]: EA4D16000F: to=, relay=local, delay=0.08, delays=0.05/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 11 15:28:33 srv4hai postfix/qmgr[8566]: EA4D16000F: removed
Sep 11 15:28:33 srv4hai fetchmail[1651]: 10705 messages (10705 seen) for srozum at mail.akis.at (1292062541 octets).
Sep 11 15:28:34 srv4hai fetchmail[1651]: 25832 messages (25832 seen) for mrozum at mail.akis.at (201218531 octets).
Sep 11 15:28:34 srv4hai fetchmail[1651]: 1142 messages (1142 seen) for admin@bastelstube.wien at pop3.world4you.com (51614275 octets).
Sep 11 15:28:38 srv4hai ping_SP[6617]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726061318 - 'ping_SP_0'
Sep 11 15:28:38 srv4hai ping_SP[6617]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 11 15:29:01 srv4hai CRON[7689]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 15:29:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=7697, secured, session=
Sep 11 15:29:04 srv4hai dovecot: imap(rozumm)<7697>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 11 15:29:30 srv4hai postfix/smtpd[7257]: connect from unknown[80.94.92.157]
Sep 11 15:29:34 srv4hai postfix/smtpd[7257]: warning: unknown[80.94.92.157]: SASL PLAIN authentication failed: 
Sep 11 15:29:34 srv4hai postfix/smtpd[7257]: disconnect from unknown[80.94.92.157] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 11 15:29:45 srv4hai ping_SP[27965]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726061385 - 'ping_SP_1'
Sep 11 15:29:45 srv4hai ping_SP[27965]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 15:29:51 srv4hai ping_SP[6617]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726061391 - 'ping_SP_0'
Sep 11 15:29:51 srv4hai ping_SP[6617]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 11 15:30:01 srv4hai CRON[7751]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Sep 11 15:30:01 srv4hai CRON[7752]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 15:30:01 srv4hai CRON[7753]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 11 15:30:01 srv4hai common[7755]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 11 15:30:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 11 15:30:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 11 15:30:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 11 15:30:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8213, secured, session=
Sep 11 15:30:04 srv4hai dovecot: imap(rozumm)<8213>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 11 15:30:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 11 15:30:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 11 15:30:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 11 15:30:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 11 15:30:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 11 15:30:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 11 15:30:10 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 11 15:30:10 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 11 15:30:10 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 11 15:30:10 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 11 15:30:10 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 11 15:30:10 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 11 15:30:10 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 11 15:30:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 11 15:30:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 11 15:30:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 11 15:30:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 11 15:30:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 11 15:30:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 11 15:30:11 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 11 15:30:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 11 15:30:11 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 11 15:30:11 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 11 15:30:14 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 11 15:30:14 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Sep 11 15:30:14 srv4hai common[8642]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Sep 11 15:30:14 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Sep 11 15:30:14 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Sep 11 15:30:14 srv4hai meter.sh: SHELLY meter.sh ended
Sep 11 15:30:25 srv4hai common[8670]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Sep 11 15:30:25 srv4hai check_shelly.sh: SHELLY last scenery executed: 'vorraumOn'
Sep 11 15:30:25 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Sep 11 15:30:25 srv4hai common[8693]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Sep 11 15:30:25 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'9'=1726061425-1726061416
Sep 11 15:30:25 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'9'=1726061425-1726061416
Sep 11 15:30:25 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'9'=1726061425-1726061416
Sep 11 15:30:58 srv4hai ping_SP[27965]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726061458 - 'ping_SP_1'
Sep 11 15:30:58 srv4hai ping_SP[27965]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 15:31:01 srv4hai CRON[8793]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 15:31:03 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Sep 11 15:31:03 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 11 15:31:03 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 11 15:31:03 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 11 15:31:03 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 11 15:31:03 srv4hai common[8799]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 11 15:31:04 srv4hai ping_SP[6617]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1726061464 - 'ping_SP_0'
Sep 11 15:31:04 srv4hai ping_SP[6617]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 11 15:31:10 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8828, secured, session=<7RnRANghzMQAAAAAAAAAAAAAAAAAAAAB>
Sep 11 15:31:10 srv4hai dovecot: imap(rozumm)<8828><7RnRANghzMQAAAAAAAAAAAAAAAAAAAAB>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 11 15:31:13 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Sep 11 15:31:13 srv4hai common[8831]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 11 15:31:13 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Sep 11 15:31:13 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 11 15:31:13 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 11 15:31:13 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 11 15:31:13 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 11 15:31:13 srv4hai common[8844]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 11 15:31:13 srv4hai ping_SP[8831]: SHELLY ping_SP.sh started from smartphone, user:'root'
Sep 11 15:31:16 srv4hai common[8865]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 11 15:31:23 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Sep 11 15:31:23 srv4hai common[8887]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 11 15:31:23 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Sep 11 15:31:23 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 11 15:31:23 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 11 15:31:23 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 11 15:31:23 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 11 15:31:23 srv4hai named[30406]: client @0x7f931c0a2850 192.168.12.252#34681/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Sep 11 15:31:23 srv4hai common[8904]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 11 15:31:23 srv4hai common[8907]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 11 15:31:23 srv4hai ping_SP[8887]: SHELLY ping_SP.sh started from smartphone, user:'root'
Sep 11 15:31:23 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'7'=1726061483-1726061476
Sep 11 15:31:23 srv4hai check_presence[8904]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 11 15:31:23 srv4hai check_presence[8904]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Sep 11 15:31:23 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'7'=1726061483-1726061476
Sep 11 15:31:23 srv4hai check_presence[8904]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 11 15:31:23 srv4hai check_presence[8904]: SHELLY (ping_SP__smartphone)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Sep 11 15:31:23 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'7'=1726061483-1726061476
Sep 11 15:31:23 srv4hai check_presence[8904]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 11 15:31:23 srv4hai check_presence[8904]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(BT/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 11 15:31:23 srv4hai check_presence[8904]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Sep 11 15:31:23 srv4hai check_presence[8904]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Sep 11 15:31:23 srv4hai activate_scenario[9073]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 11 15:31:23 srv4hai activate_scenario[9073]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished