activate_scenario.sh
Thu Mar 28 17:41:06 CET 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/03/28/_0.log)

vorher: 17:41:06.153

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:41:06.190
Dauer: 38 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 17:41:06.135
nachher: 17:41:06.197
Dauer : 62 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/03/28//scene_vorraumOn_20240328_174106.txt'


syslog

Mar 28 17:38:01 srv4hai CRON[21884]: (root) CMD (/etc/linetest/linetest.sh)
Mar 28 17:38:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=21915, secured, session=
Mar 28 17:38:47 srv4hai dovecot: imap(miglincit)<21915>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Mar 28 17:39:01 srv4hai systemd[1]: Starting Clean php session files...
Mar 28 17:39:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Mar 28 17:39:01 srv4hai systemd[1]: Started Clean php session files.
Mar 28 17:39:01 srv4hai CRON[22015]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Mar 28 17:39:01 srv4hai CRON[22016]: (root) CMD (/etc/linetest/linetest.sh)
Mar 28 17:39:22 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Mar 28 17:39:23 srv4hai fetchmail[1651]: 40780 messages (40778 seen) for tmiglinci at mail.akis.at (-903889639 octets).
Mar 28 17:39:23 srv4hai postfix/smtpd[22036]: connect from localhost[127.0.0.1]
Mar 28 17:39:23 srv4hai postfix/smtpd[22036]: 9973E6011D: client=localhost[127.0.0.1]
Mar 28 17:39:23 srv4hai postfix/cleanup[22039]: 9973E6011D: message-id=
Mar 28 17:39:23 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:40779 of 40780 (92321 octets) not flushed
Mar 28 17:39:23 srv4hai postfix/qmgr[15291]: 9973E6011D: from=, size=92564, nrcpt=1 (queue active)
Mar 28 17:39:23 srv4hai postfix/local[22040]: 9973E6011D: to=, relay=local, delay=0.11, delays=0.09/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 28 17:39:23 srv4hai postfix/qmgr[15291]: 9973E6011D: removed
Mar 28 17:39:23 srv4hai postfix/smtpd[22036]: B674A6011D: client=localhost[127.0.0.1]
Mar 28 17:39:23 srv4hai postfix/cleanup[22039]: B674A6011D: message-id=<0102018e85ebe1b0-ba307d16-4a07-433d-814b-0f5904b305e0-000000@eu-west-1.amazonses.com>
Mar 28 17:39:23 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:40780 of 40780 (49498 octets) not flushed
Mar 28 17:39:23 srv4hai postfix/qmgr[15291]: B674A6011D: from=, size=49719, nrcpt=1 (queue active)
Mar 28 17:39:23 srv4hai postfix/smtpd[22036]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Mar 28 17:39:23 srv4hai postfix/local[22040]: B674A6011D: to=, relay=local, delay=0.1, delays=0.08/0/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 28 17:39:23 srv4hai postfix/qmgr[15291]: B674A6011D: removed
Mar 28 17:39:24 srv4hai fetchmail[1651]: 10061 messages (10061 seen) for srozum at mail.akis.at (1215572787 octets).
Mar 28 17:39:24 srv4hai fetchmail[1651]: 22525 messages (22525 seen) for mrozum at mail.akis.at (-391450499 octets).
Mar 28 17:39:25 srv4hai fetchmail[1651]: 46 messages (46 seen) for admin@bastelstube.wien at pop3.world4you.com (12059834 octets).
Mar 28 17:39:40 srv4hai postfix/smtpd[22036]: warning: hostname streethight.org does not resolve to address 185.173.176.67: Name or service not known
Mar 28 17:39:40 srv4hai postfix/smtpd[22036]: connect from unknown[185.173.176.67]
Mar 28 17:39:40 srv4hai postfix/smtpd[22036]: 55F2D60119: client=unknown[185.173.176.67]
Mar 28 17:39:40 srv4hai postfix/cleanup[22039]: 55F2D60119: message-id=
Mar 28 17:39:40 srv4hai postfix/qmgr[15291]: 55F2D60119: from=<>, size=2235, nrcpt=1 (queue active)
Mar 28 17:39:40 srv4hai postfix/local[22040]: 55F2D60119: to=, orig_to=, relay=local, delay=0.11, delays=0.1/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 28 17:39:40 srv4hai postfix/qmgr[15291]: 55F2D60119: removed
Mar 28 17:39:40 srv4hai postfix/smtpd[22036]: disconnect from unknown[185.173.176.67] ehlo=1 mail=1 rcpt=1 bdat=1 quit=1 commands=5
Mar 28 17:40:01 srv4hai CRON[22067]: (root) CMD (/etc/linetest/linetest.sh)
Mar 28 17:40:01 srv4hai CRON[22068]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Mar 28 17:40:01 srv4hai meter.sh: SHELLY meter.sh started
Mar 28 17:40:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:10 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:12 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:15 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:17 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:20 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:23 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:25 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:28 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:30 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:33 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:35 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:38 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:40 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:44 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:46 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:49 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:51 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:54 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:55 srv4hai dhcpd[5037]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Mar 28 17:40:55 srv4hai dhcpd[5037]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Mar 28 17:40:55 srv4hai dhcpd[5037]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Mar 28 17:40:55 srv4hai dhcpd[5037]: execute_statement argv[1] = 192.168.12.61
Mar 28 17:40:55 srv4hai dhcpd[5037]: execute_statement argv[2] = fpThomas
Mar 28 17:40:55 srv4hai common[22592]: SHELLY common.sh inkludiert
Mar 28 17:40:55 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Mar 28 17:40:55 srv4hai common[22604]: SHELLY common.sh inkludiert
Mar 28 17:40:55 srv4hai dhcpd[5037]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Mar 28 17:40:55 srv4hai dhcpd[5037]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Mar 28 17:40:55 srv4hai named[15509]: client @0x7f93180334d0 192.168.12.252#57767/key rndc-key: updating zone 'viehai.at/IN': update unsuccessful: fpThomas.viehai.at: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Mar 28 17:40:55 srv4hai named[15509]: client @0x7f931c697a10 192.168.12.252#43483/key rndc-key: signer "rndc-key" approved
Mar 28 17:40:55 srv4hai named[15509]: client @0x7f931c697a10 192.168.12.252#43483/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' TXT
Mar 28 17:40:55 srv4hai named[15509]: client @0x7f931c697a10 192.168.12.252#43483/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' TXT "310ebd0eafccd9c2e311facf8a4b0e4ad2"
Mar 28 17:40:55 srv4hai named[15509]: client @0x7f931c697a10 192.168.12.252#43483/key rndc-key: updating zone 'viehai.at/IN': deleting rrset at 'fpThomas.viehai.at' A
Mar 28 17:40:55 srv4hai named[15509]: client @0x7f931c697a10 192.168.12.252#43483/key rndc-key: updating zone 'viehai.at/IN': adding an RR at 'fpThomas.viehai.at' A 192.168.12.61
Mar 28 17:40:55 srv4hai dhcpd[5037]: Added new forward map from fpThomas.viehai.at to 192.168.12.61
Mar 28 17:40:55 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#55917/key rndc-key: signer "rndc-key" approved
Mar 28 17:40:55 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#55917/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': deleting rrset at '61.12.168.192.in-addr.arpa' PTR
Mar 28 17:40:55 srv4hai named[15509]: client @0x7f9314033170 192.168.12.252#55917/key rndc-key: updating zone '12.168.192.in-addr.arpa/IN': adding an RR at '61.12.168.192.in-addr.arpa' PTR fpThomas.viehai.at.
Mar 28 17:40:55 srv4hai dhcpd[5037]: Added reverse map from 61.12.168.192.in-addr.arpa. to fpThomas.viehai.at
Mar 28 17:40:55 srv4hai ping_SP[22604]: SHELLY ping_SP.sh started from smartphone
Mar 28 17:40:56 srv4hai activate_scenario[22624]: SHELLY scenario: 'LOG_kommen(log_kommen)' started
Mar 28 17:40:56 srv4hai activate_scenario[22624]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-03:'Licht Vorzimmer'
Mar 28 17:40:56 srv4hai activate_scenario[22624]: SHELLY scenario: 'LOG_kommen(log_kommen)' TO BE EXECUTED, shelly-03:'Licht Vorzimmer'
Mar 28 17:40:56 srv4hai activate_scenario[22624]: SHELLY scenario: 'LOG_kommen(log_kommen)' took 5 msec, shelly-03:'Licht Vorzimmer'
Mar 28 17:40:56 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:59 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Mar 28 17:40:59 srv4hai meter.sh: SHELLY meter.sh ended
Mar 28 17:40:59 srv4hai postfix/pickup[13281]: 4528F6027D: uid=33 from=
Mar 28 17:40:59 srv4hai postfix/cleanup[22039]: 4528F6027D: message-id=<20240328164059.4528F6027D@mail.viehai.at>
Mar 28 17:40:59 srv4hai postfix/qmgr[15291]: 4528F6027D: from=, size=654, nrcpt=1 (queue active)
Mar 28 17:40:59 srv4hai postfix/local[22040]: 4528F6027D: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Mar 28 17:40:59 srv4hai postfix/qmgr[15291]: 4528F6027D: removed
Mar 28 17:41:01 srv4hai CRON[22711]: (root) CMD (/etc/linetest/linetest.sh)
Mar 28 17:41:02 srv4hai common[22717]: SHELLY common.sh inkludiert
Mar 28 17:41:05 srv4hai common[22737]: SHELLY common.sh inkludiert
Mar 28 17:41:06 srv4hai check_presence[22737]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Mar 28 17:41:06 srv4hai check_presence[22737]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Mar 28 17:41:06 srv4hai check_presence[22737]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Mar 28 17:41:06 srv4hai check_presence[22737]: SHELLY (ping_SP__smartphone)-(0) what: 'coming' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Mar 28 17:41:06 srv4hai check_presence[22737]: SHELLY (ping_SP__smartphone)-(0)-coming: activate_scenario.shtml: vorraumOn
Mar 28 17:41:06 srv4hai activate_scenario[22810]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Mar 28 17:41:06 srv4hai activate_scenario[22810]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished