activate_scenario.sh
Wed Feb 12 21:32:44 CET 2025
scenario: vorraumOn
phoneName: 0

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

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

VZ Licht (/srv/www/viehai/shelly/log_scenarios/2025/02/12/_0.log)

vorher: 21:32:44.132

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:32:44.281
Dauer: 149 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 21:32:44.077
nachher: 21:32:44.287
Dauer : 212 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2025/02/12//scene_vorraumOn_20250212_213244.txt'


syslog

Feb 12 21:29:00 srv4hai common[32235]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:29:00 srv4hai common[32259]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:29:00 srv4hai common[32284]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:29:01 srv4hai CRON[32309]: (root) CMD (/etc/linetest/linetest.sh)
Feb 12 21:29:26 srv4hai common[32316]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:29:26 srv4hai common[32340]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:29:58 srv4hai postfix/smtpd[32375]: connect from unknown[195.211.191.55]
Feb 12 21:29:58 srv4hai postfix/smtpd[32375]: warning: unknown[195.211.191.55]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 12 21:29:58 srv4hai postfix/smtpd[32375]: disconnect from unknown[195.211.191.55] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 12 21:29:58 srv4hai ping_SP[31297]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1739392198 - 'ping_SP_1'
Feb 12 21:29:58 srv4hai ping_SP[31297]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 12 21:30:00 srv4hai common[32390]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:30:00 srv4hai common[32414]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:30:00 srv4hai common[32438]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:30:01 srv4hai CRON[32466]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 12 21:30:01 srv4hai CRON[32467]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Feb 12 21:30:01 srv4hai CRON[32465]: (root) CMD (/etc/linetest/linetest.sh)
Feb 12 21:30:01 srv4hai common[32468]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Feb 12 21:30:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 12 21:30:01 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Feb 12 21:30:01 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Feb 12 21:30:07 srv4hai meter.sh: SHELLY 'shelly-54/GB Kugellampe':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 21:30:09 srv4hai meter.sh: SHELLY 'shelly-47/GB Schreibtischlampe links':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 21:30:09 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Feb 12 21:30:09 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Feb 12 21:30:09 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Feb 12 21:30:09 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Feb 12 21:30:09 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Feb 12 21:30:12 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 21:30:15 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 21:30:15 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Feb 12 21:30:15 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Feb 12 21:30:15 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Feb 12 21:30:15 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Feb 12 21:30:15 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Feb 12 21:30:15 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Feb 12 21:30:15 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Feb 12 21:30:15 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Feb 12 21:30:15 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Feb 12 21:30:15 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Feb 12 21:30:15 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Feb 12 21:30:15 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Feb 12 21:30:15 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Feb 12 21:30:15 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Feb 12 21:30:16 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Feb 12 21:30:19 srv4hai mosquitto[29419]: Socket error on client shellyplus1-441793a58ae4, disconnecting.
Feb 12 21:30:19 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 21:30:19 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Feb 12 21:30:22 srv4hai meter.sh: SHELLY 'shelly-99/99-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 12 21:30:22 srv4hai common[1034]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Feb 12 21:30:22 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Feb 12 21:30:22 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Feb 12 21:30:22 srv4hai meter.sh: SHELLY meter.sh ended
Feb 12 21:30:26 srv4hai common[1058]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:30:26 srv4hai common[1082]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:31:00 srv4hai common[1120]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:31:00 srv4hai common[1144]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:31:00 srv4hai common[1168]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:31:01 srv4hai CRON[1193]: (root) CMD (/etc/linetest/linetest.sh)
Feb 12 21:31:11 srv4hai ping_SP[31297]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1739392271 - 'ping_SP_1'
Feb 12 21:31:11 srv4hai ping_SP[31297]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 12 21:31:26 srv4hai common[1219]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:31:26 srv4hai common[1244]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:31:45 srv4hai snapd[16680]: storehelpers.go:791: cannot refresh: snap has no updates available: "bare", "core", "core18", "core20", "gnome-3-28-1804", "gtk-common-themes", "mqtt-explorer"
Feb 12 21:32:00 srv4hai common[1276]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:32:00 srv4hai common[1300]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:32:00 srv4hai common[1324]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:32:01 srv4hai common[1349]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Feb 12 21:32:01 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Feb 12 21:32:01 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Feb 12 21:32:01 srv4hai common[1372]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Feb 12 21:32:01 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1739392321-1739392310
Feb 12 21:32:01 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'11'=1739392321-1739392310
Feb 12 21:32:01 srv4hai CRON[1431]: (root) CMD (/etc/linetest/linetest.sh)
Feb 12 21:32:05 srv4hai common[1437]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Feb 12 21:32:06 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Feb 12 21:32:06 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Feb 12 21:32:06 srv4hai common[1460]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Feb 12 21:32:06 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'4'=1739392326-1739392322
Feb 12 21:32:06 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'4'=1739392326-1739392322
Feb 12 21:32:08 srv4hai common[1519]: SHELLY common.sh inkludiert von ./shelly/check_shelly.sh
Feb 12 21:32:08 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Feb 12 21:32:08 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Feb 12 21:32:08 srv4hai common[1542]: SHELLY common.sh inkludiert von ./shelly/prep_viehai.sh
Feb 12 21:32:08 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'6'=1739392328-1739392322
Feb 12 21:32:09 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'6'=1739392328-1739392322
Feb 12 21:32:22 srv4hai postfix/smtpd[1606]: connect from unknown[195.211.191.55]
Feb 12 21:32:22 srv4hai postfix/smtpd[1606]: warning: unknown[195.211.191.55]: SASL LOGIN authentication failed: Invalid authentication mechanism
Feb 12 21:32:22 srv4hai postfix/smtpd[1606]: disconnect from unknown[195.211.191.55] ehlo=1 auth=0/1 quit=1 commands=2/3
Feb 12 21:32:25 srv4hai ping_SP[31297]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1739392345 - 'ping_SP_1'
Feb 12 21:32:25 srv4hai ping_SP[31297]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Feb 12 21:32:25 srv4hai postfix/smtpd[1606]: connect from rover.odeonhotel.it[85.93.27.247]
Feb 12 21:32:26 srv4hai postfix/smtpd[1606]: 30B386004E: client=rover.odeonhotel.it[85.93.27.247]
Feb 12 21:32:26 srv4hai postfix/cleanup[1623]: 30B386004E: message-id=<0.0.13.875.1DB7D8D38685F18.0@rover.odeonhotel.it>
Feb 12 21:32:26 srv4hai postfix/qmgr[8566]: 30B386004E: from=, size=9311, nrcpt=1 (queue active)
Feb 12 21:32:26 srv4hai postfix/local[1624]: 30B386004E: to=, orig_to=, relay=local, delay=0.11, delays=0.09/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 12 21:32:26 srv4hai postfix/smtpd[1606]: disconnect from rover.odeonhotel.it[85.93.27.247] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
Feb 12 21:32:26 srv4hai postfix/qmgr[8566]: 30B386004E: removed
Feb 12 21:32:26 srv4hai common[1626]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:32:26 srv4hai common[1652]: SHELLY common.sh inkludiert von ./mqtt_process.sh
Feb 12 21:32:33 srv4hai common[1681]: SHELLY common.sh inkludiert von ./bt_scan.sh
Feb 12 21:32:43 srv4hai bt_scan[1681]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Feb 12 21:32:43 srv4hai bt_scan[1681]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Feb 12 21:32:43 srv4hai common[1713]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Feb 12 21:32:43 srv4hai ping_SP[1713]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Feb 12 21:32:43 srv4hai common[1734]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Feb 12 21:32:43 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'3'=1739392363-1739392360
Feb 12 21:32:43 srv4hai check_presence[1734]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Feb 12 21:32:43 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'3'=1739392363-1739392360
Feb 12 21:32:43 srv4hai check_presence[1734]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Feb 12 21:32:43 srv4hai check_presence[1734]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Feb 12 21:32:43 srv4hai check_presence[1734]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (BT/LIVE)' - anyPresent: 'true' - otherPresent:'true'
Feb 12 21:32:43 srv4hai check_presence[1734]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Feb 12 21:32:43 srv4hai check_presence[1734]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Feb 12 21:32:44 srv4hai activate_scenario[1849]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Feb 12 21:32:44 srv4hai activate_scenario[1849]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished