activate_scenario.sh
Tue Jul 9 21:30:30 CEST 2024
scenario: vorraumOn
phoneName: 1

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

vorher: 21:30:30.181

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": "http"

nachher: 21:30:30.310
Dauer: 128 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 21:30:30.162
nachher: 21:30:30.316
Dauer : 154 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/09//scene_vorraumOn_20240709_213030.txt'


syslog

Jul  9 21:27:00 srv4hai postfix/smtpd[9486]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  9 21:27:01 srv4hai CRON[9492]: (root) CMD (/etc/linetest/linetest.sh)
Jul  9 21:27:02 srv4hai postfix/smtpd[9486]: warning: hostname fiber-189-104.online.com.kh does not resolve to address 124.248.189.104: Name or service not known
Jul  9 21:27:02 srv4hai postfix/smtpd[9486]: connect from unknown[124.248.189.104]
Jul  9 21:27:04 srv4hai postfix/smtpd[9486]: 3E6EE6004E: client=unknown[124.248.189.104], sasl_method=PLAIN, sasl_username=pilsc
Jul  9 21:27:05 srv4hai postfix/cleanup[9499]: 3E6EE6004E: message-id=
Jul  9 21:27:05 srv4hai postfix/qmgr[8566]: 3E6EE6004E: from=, size=1535, nrcpt=1 (queue active)
Jul  9 21:27:05 srv4hai postfix/smtp[9500]: 3E6EE6004E: to=, relay=mx00.gmx.net[212.227.15.10]:25, delay=1.9, delays=1.5/0.01/0.33/0.1, dsn=5.0.0, status=bounced (host mx00.gmx.net[212.227.15.10] said: 550-Requested action not taken: mailbox unavailable 550 For explanation visit https://postmaster.gmx.net/de/case?c=r1601&i=ip&v=95.129.204.98&r=1MfZ50-1ru8fJ2gSu-00k9mJ (in reply to RCPT TO command))
Jul  9 21:27:05 srv4hai postfix/cleanup[9499]: ACC72601BE: message-id=<20240709192705.ACC72601BE@mail.viehai.at>
Jul  9 21:27:05 srv4hai postfix/bounce[9501]: 3E6EE6004E: sender non-delivery notification: ACC72601BE
Jul  9 21:27:05 srv4hai postfix/qmgr[8566]: ACC72601BE: from=<>, size=3786, nrcpt=1 (queue active)
Jul  9 21:27:05 srv4hai postfix/qmgr[8566]: 3E6EE6004E: removed
Jul  9 21:27:05 srv4hai postfix/smtpd[9486]: disconnect from unknown[124.248.189.104] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6
Jul  9 21:27:05 srv4hai postfix/local[9502]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  9 21:27:05 srv4hai postfix/local[9502]: ACC72601BE: to=, relay=local, delay=0.03, delays=0/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul  9 21:27:05 srv4hai postfix/qmgr[8566]: ACC72601BE: removed
Jul  9 21:27:11 srv4hai postfix/smtpd[9486]: connect from unknown[94.156.79.46]
Jul  9 21:27:11 srv4hai postfix/smtpd[9486]: warning: unknown[94.156.79.46]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul  9 21:27:11 srv4hai postfix/smtpd[9486]: disconnect from unknown[94.156.79.46] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Jul  9 21:27:39 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720553259 - 'ping_SP_0'
Jul  9 21:27:39 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  9 21:28:01 srv4hai CRON[9527]: (root) CMD (/etc/linetest/linetest.sh)
Jul  9 21:28:52 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720553332 - 'ping_SP_0'
Jul  9 21:28:52 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  9 21:29:01 srv4hai CRON[9561]: (root) CMD (/etc/linetest/linetest.sh)
Jul  9 21:29:52 srv4hai postfix/anvil[8352]: statistics: max connection rate 1/60s for (smtp:177.38.184.58) at Jul  9 21:19:51
Jul  9 21:29:52 srv4hai postfix/anvil[8352]: statistics: max connection count 1 for (smtp:177.38.184.58) at Jul  9 21:19:51
Jul  9 21:29:52 srv4hai postfix/anvil[8352]: statistics: max cache size 2 at Jul  9 21:20:22
Jul  9 21:30:01 srv4hai CRON[9579]: (root) CMD (/etc/linetest/linetest.sh)
Jul  9 21:30:01 srv4hai CRON[9580]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Jul  9 21:30:01 srv4hai CRON[9581]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jul  9 21:30:01 srv4hai common[9582]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jul  9 21:30:01 srv4hai meter.sh: SHELLY meter.sh started
Jul  9 21:30:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jul  9 21:30:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jul  9 21:30:05 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720553405 - 'ping_SP_0'
Jul  9 21:30:05 srv4hai ping_SP[8691]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  9 21:30:05 srv4hai meter.sh: SHELLY 'shelly-19/Fernsehlampe groß':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  9 21:30:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jul  9 21:30:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jul  9 21:30:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jul  9 21:30:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jul  9 21:30:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jul  9 21:30:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  9 21:30:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  9 21:30:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jul  9 21:30:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jul  9 21:30:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jul  9 21:30:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jul  9 21:30:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jul  9 21:30:15 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul  9 21:30:15 srv4hai fetchmail[1651]: 48324 messages (48324 seen) for tmiglinci at mail.akis.at (-306463582 octets).
Jul  9 21:30:16 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  9 21:30:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jul  9 21:30:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jul  9 21:30:16 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jul  9 21:30:16 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jul  9 21:30:16 srv4hai fetchmail[1651]: 10426 messages (10426 seen) for srozum at mail.akis.at (1251465709 octets).
Jul  9 21:30:16 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jul  9 21:30:16 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jul  9 21:30:16 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jul  9 21:30:16 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jul  9 21:30:16 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jul  9 21:30:16 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jul  9 21:30:16 srv4hai fetchmail[1651]: 24653 messages (24653 seen) for mrozum at mail.akis.at (22815666 octets).
Jul  9 21:30:17 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul  9 21:30:19 srv4hai common[10463]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul  9 21:30:19 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul  9 21:30:19 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jul  9 21:30:19 srv4hai common[10488]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jul  9 21:30:19 srv4hai check_shelly.sh: SHELLY last scenery executed: 'buero_UM'
Jul  9 21:30:19 srv4hai check_shelly.sh: SHELLY found '2' active shelly outputs
Jul  9 21:30:19 srv4hai meter.sh: SHELLY meter.sh ended
Jul  9 21:30:26 srv4hai postfix/smtpd[10511]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul  9 21:30:27 srv4hai postfix/smtpd[10511]: connect from 94-154-35-207.virtualine.org[94.154.35.207]
Jul  9 21:30:27 srv4hai postfix/smtpd[10511]: warning: 94-154-35-207.virtualine.org[94.154.35.207]: SASL LOGIN authentication failed: Invalid authentication mechanism
Jul  9 21:30:27 srv4hai postfix/smtpd[10511]: disconnect from 94-154-35-207.virtualine.org[94.154.35.207] ehlo=1 auth=0/1 quit=1 commands=2/3
Jul  9 21:30:29 srv4hai bt_scan[10463]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Jul  9 21:30:29 srv4hai bt_scan[10463]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Jul  9 21:30:29 srv4hai common[10531]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul  9 21:30:29 srv4hai ping_SP[10531]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jul  9 21:30:29 srv4hai common[10552]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul  9 21:30:29 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'2'=1720553429-1720553427
Jul  9 21:30:29 srv4hai check_presence[10552]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Jul  9 21:30:29 srv4hai check_presence[10552]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jul  9 21:30:29 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'2'=1720553429-1720553427
Jul  9 21:30:29 srv4hai check_presence[10552]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul  9 21:30:29 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'2'=1720553429-1720553427
Jul  9 21:30:30 srv4hai check_presence[10552]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Jul  9 21:30:30 srv4hai check_presence[10552]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(BT/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul  9 21:30:30 srv4hai check_presence[10552]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_buero_UM) - sceneONsmall(vorraumOn)
Jul  9 21:30:30 srv4hai check_presence[10552]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Jul  9 21:30:30 srv4hai activate_scenario[10701]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul  9 21:30:30 srv4hai activate_scenario[10701]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished