activate_scenario.sh
Fri Sep 27 22:23:37 CEST 2024
scenario: bedlight_tom
source: 192.168.12.112

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/09/27/_0.log)

vorher: 22:23:37.677

http://192.168.12.107/relay/0?turn=toggle
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 22:23:38.002
Dauer: 326 msec phName: 'shelly-12:'Schlafzimmer Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 22:23:37.637
nachher: 22:23:38.009
Dauer : 373 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/27//scene_bedlight_tom_20240927_222337.txt'


syslog

Sep 27 22:20:01 srv4hai CRON[2811]: (root) CMD (/etc/linetest/linetest.sh)
Sep 27 22:20:01 srv4hai CRON[2812]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 27 22:20:01 srv4hai common[2814]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 27 22:20:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 27 22:20:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 27 22:20:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 27 22:20:05 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 27 22:20:05 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 27 22:20:05 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 27 22:20:05 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 27 22:20:05 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 27 22:20:06 srv4hai ping_SP[16942]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727468406 - 'ping_SP_0'
Sep 27 22:20:06 srv4hai ping_SP[16942]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 27 22:20:08 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 27 22:20:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 27 22:20:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 27 22:20:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 27 22:20:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 27 22:20:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 27 22:20:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 27 22:20:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 27 22:20:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 27 22:20:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 27 22:20:11 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 27 22:20:11 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 27 22:20:11 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 27 22:20:11 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 27 22:20:11 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 27 22:20:11 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 27 22:20:11 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 27 22:20:11 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 27 22:20:11 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 27 22:20:12 srv4hai fetchmail[1651]: 53279 messages (53279 seen) for tmiglinci at mail.akis.at (78107969 octets).
Sep 27 22:20:12 srv4hai fetchmail[1651]: 10778 messages (10778 seen) for srozum at mail.akis.at (1306435026 octets).
Sep 27 22:20:13 srv4hai fetchmail[1651]: 26202 messages (26201 seen) for mrozum at mail.akis.at (252102959 octets).
Sep 27 22:20:13 srv4hai postfix/smtpd[3705]: connect from localhost[127.0.0.1]
Sep 27 22:20:13 srv4hai postfix/smtpd[3705]: 7EC8F631BE: client=localhost[127.0.0.1]
Sep 27 22:20:13 srv4hai postfix/cleanup[3708]: 7EC8F631BE: message-id=
Sep 27 22:20:13 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:26202 of 26202 (84383 octets) not flushed
Sep 27 22:20:13 srv4hai postfix/qmgr[8566]: 7EC8F631BE: from=, size=84658, nrcpt=1 (queue active)
Sep 27 22:20:13 srv4hai postfix/smtpd[3705]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 27 22:20:13 srv4hai postfix/local[3709]: 7EC8F631BE: 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)
Sep 27 22:20:13 srv4hai postfix/qmgr[8566]: 7EC8F631BE: removed
Sep 27 22:20:14 srv4hai fetchmail[1651]: 1145 messages (1145 seen) for admin@bastelstube.wien at pop3.world4you.com (51919832 octets).
Sep 27 22:20:14 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 27 22:20:14 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Sep 27 22:20:14 srv4hai common[3723]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Sep 27 22:20:14 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Sep 27 22:20:14 srv4hai check_shelly.sh: SHELLY found '1' active shelly outputs
Sep 27 22:20:14 srv4hai meter.sh: SHELLY meter.sh ended
Sep 27 22:21:01 srv4hai CRON[3758]: (root) CMD (/etc/linetest/linetest.sh)
Sep 27 22:21:09 srv4hai ping_SP[10869]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727468469 - 'ping_SP_1'
Sep 27 22:21:09 srv4hai ping_SP[10869]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 27 22:21:19 srv4hai ping_SP[16942]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727468479 - 'ping_SP_0'
Sep 27 22:21:19 srv4hai ping_SP[16942]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 27 22:22:00 srv4hai common[3799]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 27 22:22:01 srv4hai CRON[3813]: (root) CMD (/etc/linetest/linetest.sh)
Sep 27 22:22:10 srv4hai bt_scan[3799]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Sep 27 22:22:10 srv4hai bt_scan[3799]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Sep 27 22:22:10 srv4hai common[3839]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 27 22:22:10 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'7'=1727468530-1727468523
Sep 27 22:22:10 srv4hai check_presence[3839]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 27 22:22:10 srv4hai check_presence[3839]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep 27 22:22:10 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'7'=1727468530-1727468523
Sep 27 22:22:10 srv4hai check_presence[3839]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep 27 22:22:10 srv4hai check_presence[3839]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Sep 27 22:22:10 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'7'=1727468530-1727468523
Sep 27 22:22:10 srv4hai check_presence[3839]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 27 22:22:10 srv4hai check_presence[3839]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 27 22:22:11 srv4hai check_presence[3839]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_nasszeile_um) - sceneOFF(offAll)
Sep 27 22:22:11 srv4hai check_presence[3839]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Sep 27 22:22:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3988, secured, session=
Sep 27 22:22:13 srv4hai dovecot: imap(miglincit)<3988>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 27 22:22:17 srv4hai postfix/smtpd[3992]: warning: hostname 188-190-10-124.clevhosting.com does not resolve to address 188.190.10.124: Name or service not known
Sep 27 22:22:17 srv4hai postfix/smtpd[3992]: connect from unknown[188.190.10.124]
Sep 27 22:22:18 srv4hai postfix/smtpd[3992]: warning: unknown[188.190.10.124]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 27 22:22:18 srv4hai postfix/smtpd[3992]: disconnect from unknown[188.190.10.124] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 27 22:22:23 srv4hai ping_SP[10869]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727468543 - 'ping_SP_1'
Sep 27 22:22:23 srv4hai ping_SP[10869]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 27 22:22:32 srv4hai ping_SP[16942]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1727468552 - 'ping_SP_0'
Sep 27 22:22:32 srv4hai ping_SP[16942]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep 27 22:22:34 srv4hai common[4030]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 27 22:22:45 srv4hai bt_scan[4030]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 27 22:22:45 srv4hai bt_scan[4030]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Sep 27 22:23:01 srv4hai CRON[4065]: (root) CMD (/etc/linetest/linetest.sh)
Sep 27 22:23:36 srv4hai ping_SP[10869]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727468616 - 'ping_SP_1'
Sep 27 22:23:36 srv4hai ping_SP[10869]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 27 22:23:37 srv4hai activate_scenario[4098]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Sep 27 22:23:37 srv4hai activate_scenario[4098]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished