activate_scenario.sh
Sat Apr 27 20:23:40 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/04/27/_0.log)

vorher: 20:23:40.150

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: 20:23:40.263
Dauer: 112 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 20:23:40.123
nachher: 20:23:40.269
Dauer : 146 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/04/27//scene_vorraumOn_20240427_202340.txt'


syslog

Apr 27 20:20:01 srv4hai CRON[15657]: (root) CMD (/etc/linetest/linetest.sh)
Apr 27 20:20:01 srv4hai CRON[15658]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Apr 27 20:20:01 srv4hai common[15660]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Apr 27 20:20:01 srv4hai meter.sh: SHELLY meter.sh started
Apr 27 20:20:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Apr 27 20:20:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Apr 27 20:20:07 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 27 20:20:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Apr 27 20:20:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Apr 27 20:20:08 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Apr 27 20:20:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Apr 27 20:20:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Apr 27 20:20:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 27 20:20:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 27 20:20:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Apr 27 20:20:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Apr 27 20:20:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Apr 27 20:20:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Apr 27 20:20:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Apr 27 20:20:16 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 27 20:20:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Apr 27 20:20:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Apr 27 20:20:16 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Apr 27 20:20:16 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Apr 27 20:20:16 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Apr 27 20:20:16 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Apr 27 20:20:16 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Apr 27 20:20:16 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Apr 27 20:20:16 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Apr 27 20:20:16 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Apr 27 20:20:22 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Apr 27 20:20:22 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Apr 27 20:20:22 srv4hai common[15660]: SHELLY common.sh inkludiert von ./check_presence.sh
Apr 27 20:20:22 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'5'=1714242022-1714242017
Apr 27 20:20:22 srv4hai check_presence[15660]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Apr 27 20:20:22 srv4hai check_presence[15660]: SHELLY (meter.sh)-(99) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 27 20:20:22 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'5'=1714242022-1714242017
Apr 27 20:20:22 srv4hai check_presence[15660]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr 27 20:20:22 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'5'=1714242022-1714242017
Apr 27 20:20:22 srv4hai check_presence[15660]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 27 20:20:22 srv4hai check_presence[15660]: SHELLY (meter.sh)-(99) what: 'presence' - persPresent: '(BT/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 27 20:20:22 srv4hai check_presence[15660]: SHELLY (meter.sh)-(99)-presence: NOT activate_scenario.shtml: offAll
Apr 27 20:20:22 srv4hai common[15660]: SHELLY common.sh inkludiert von ./check_shelly.sh
Apr 27 20:20:22 srv4hai check_shelly.sh: SHELLY last scenery executed: 'sekr_UM'
Apr 27 20:20:22 srv4hai check_shelly.sh: SHELLY found '7' active shelly outputs
Apr 27 20:20:22 srv4hai meter.sh: SHELLY meter.sh ended
Apr 27 20:20:22 srv4hai postfix/pickup[13344]: DD454631A0: uid=33 from=
Apr 27 20:20:22 srv4hai postfix/cleanup[16738]: DD454631A0: message-id=<20240427182022.DD454631A0@mail.viehai.at>
Apr 27 20:20:22 srv4hai postfix/qmgr[15291]: DD454631A0: from=, size=645, nrcpt=1 (queue active)
Apr 27 20:20:22 srv4hai postfix/local[16740]: DD454631A0: to=, orig_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)
Apr 27 20:20:22 srv4hai postfix/qmgr[15291]: DD454631A0: removed
Apr 27 20:20:43 srv4hai ping_SP[11901]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714242043 - 'ping_SP_0'
Apr 27 20:20:43 srv4hai ping_SP[11901]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 27 20:21:01 srv4hai CRON[16788]: (root) CMD (/etc/linetest/linetest.sh)
Apr 27 20:21:17 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=16835, secured, session=
Apr 27 20:21:17 srv4hai dovecot: imap(miglincit)<16835>: Logged out in=394 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Apr 27 20:21:22 srv4hai systemd[1]: certbot.service: Succeeded.
Apr 27 20:21:22 srv4hai systemd[1]: Started Certbot.
Apr 27 20:21:56 srv4hai ping_SP[11901]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714242116 - 'ping_SP_0'
Apr 27 20:21:56 srv4hai ping_SP[11901]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 27 20:22:01 srv4hai CRON[16926]: (root) CMD (/etc/linetest/linetest.sh)
Apr 27 20:22:04 srv4hai nmbd[2172]: [2024/04/27 20:22:04.124541,  0] ../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
Apr 27 20:22:04 srv4hai nmbd[2172]:   find_domain_master_name_query_fail:
Apr 27 20:22:04 srv4hai nmbd[2172]:   Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Apr 27 20:22:04 srv4hai nmbd[2172]:   Unable to sync browse lists in this workgroup.
Apr 27 20:22:06 srv4hai common[16937]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 27 20:22:16 srv4hai bt_scan[16937]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Apr 27 20:22:16 srv4hai bt_scan[16937]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Apr 27 20:22:16 srv4hai common[16972]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 27 20:22:17 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1714242137-1714242126
Apr 27 20:22:17 srv4hai check_presence[16972]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 27 20:22:17 srv4hai check_presence[16972]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Apr 27 20:22:17 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1714242137-1714242126
Apr 27 20:22:17 srv4hai check_presence[16972]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Apr 27 20:22:17 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1714242137-1714242126
Apr 27 20:22:17 srv4hai check_presence[16972]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 27 20:22:17 srv4hai check_presence[16972]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Apr 27 20:22:17 srv4hai check_presence[16972]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Apr 27 20:22:29 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Apr 27 20:22:30 srv4hai fetchmail[1651]: 43022 messages (43022 seen) for tmiglinci at mail.akis.at (-709038451 octets).
Apr 27 20:22:30 srv4hai fetchmail[1651]: 10176 messages (10176 seen) for srozum at mail.akis.at (1227960587 octets).
Apr 27 20:22:31 srv4hai fetchmail[1651]: 23135 messages (23135 seen) for mrozum at mail.akis.at (-293536305 octets).
Apr 27 20:22:31 srv4hai fetchmail[1651]: 50 messages (50 seen) for admin@bastelstube.wien at pop3.world4you.com (12362835 octets).
Apr 27 20:23:01 srv4hai CRON[17128]: (root) CMD (/etc/linetest/linetest.sh)
Apr 27 20:23:09 srv4hai ping_SP[11901]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714242189 - 'ping_SP_0'
Apr 27 20:23:09 srv4hai ping_SP[11901]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Apr 27 20:23:29 srv4hai common[17162]: SHELLY common.sh inkludiert von ./bt_scan.sh
Apr 27 20:23:39 srv4hai bt_scan[17162]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Apr 27 20:23:39 srv4hai bt_scan[17162]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Apr 27 20:23:39 srv4hai common[17200]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Apr 27 20:23:39 srv4hai ping_SP[17200]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Apr 27 20:23:39 srv4hai common[17221]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Apr 27 20:23:39 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1714242219-1714242209
Apr 27 20:23:39 srv4hai check_presence[17221]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Apr 27 20:23:39 srv4hai check_presence[17221]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Apr 27 20:23:39 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1714242219-1714242209
Apr 27 20:23:39 srv4hai check_presence[17221]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Apr 27 20:23:40 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1714242219-1714242209
Apr 27 20:23:40 srv4hai check_presence[17221]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Apr 27 20:23:40 srv4hai check_presence[17221]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Apr 27 20:23:40 srv4hai check_presence[17221]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Apr 27 20:23:40 srv4hai activate_scenario[17343]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Apr 27 20:23:40 srv4hai activate_scenario[17343]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished