activate_scenario.sh
Sat Sep 28 20:53:46 CEST 2024
scenario: vorraumOn
phoneName: 0

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

vorher: 20:53:47.014

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: 20:53:47.040
Dauer: 26 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 20:53:46.995
nachher: 20:53:47.046
Dauer : 51 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/28//scene_vorraumOn_20240928_205346.txt'


syslog

Sep 28 20:50:01 srv4hai CRON[1016]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 28 20:50:01 srv4hai CRON[1017]: (root) CMD (/etc/linetest/linetest.sh)
Sep 28 20:50:01 srv4hai common[1018]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 28 20:50:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 28 20:50:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 28 20:50:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 28 20:50:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 28 20:50:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 28 20:50:07 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 28 20:50:07 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 28 20:50:07 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 28 20:50:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 28 20:50:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 28 20:50:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 28 20:50:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 28 20:50:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 28 20:50:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 28 20:50:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 28 20:50:13 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 28 20:50:13 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 28 20:50:13 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 28 20:50:13 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 28 20:50:13 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 28 20:50:13 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 28 20:50:13 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 28 20:50:13 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 28 20:50:13 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 28 20:50:13 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 28 20:50:13 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 28 20:50:16 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 28 20:50:16 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Sep 28 20:50:16 srv4hai common[1917]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Sep 28 20:50:16 srv4hai check_shelly.sh: SHELLY last scenery executed: 'sekr_UM'
Sep 28 20:50:16 srv4hai check_shelly.sh: SHELLY found '5' active shelly outputs
Sep 28 20:50:16 srv4hai meter.sh: SHELLY meter.sh ended
Sep 28 20:50:24 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727549424 - 'ping_SP_1'
Sep 28 20:50:24 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 28 20:51:01 srv4hai CRON[1970]: (root) CMD (/etc/linetest/linetest.sh)
Sep 28 20:51:02 srv4hai postfix/anvil[27265]: statistics: max connection rate 1/60s for (smtp:94.141.120.236) at Sep 28 20:43:48
Sep 28 20:51:02 srv4hai postfix/anvil[27265]: statistics: max connection count 1 for (smtp:94.141.120.236) at Sep 28 20:43:48
Sep 28 20:51:02 srv4hai postfix/anvil[27265]: statistics: max cache size 2 at Sep 28 20:44:15
Sep 28 20:51:13 srv4hai linetest.sh: ping to '8.8.8.8' failed
Sep 28 20:51:14 srv4hai postfix/pickup[26754]: 89DB563463: uid=0 from=
Sep 28 20:51:14 srv4hai postfix/cleanup[1989]: 89DB563463: message-id=<20240928185114.89DB563463@mail.viehai.at>
Sep 28 20:51:14 srv4hai postfix/qmgr[8566]: 89DB563463: from=, size=304164, nrcpt=1 (queue active)
Sep 28 20:51:14 srv4hai postfix/local[1991]: 89DB563463: to=, orig_to=, relay=local, delay=0.13, delays=0.09/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 28 20:51:14 srv4hai postfix/qmgr[8566]: 89DB563463: removed
Sep 28 20:51:37 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727549497 - 'ping_SP_1'
Sep 28 20:51:37 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 28 20:51:47 srv4hai postfix/smtpd[2026]: warning: hostname 188-190-10-124.clevhosting.com does not resolve to address 188.190.10.124: Name or service not known
Sep 28 20:51:47 srv4hai postfix/smtpd[2026]: connect from unknown[188.190.10.124]
Sep 28 20:51:47 srv4hai postfix/smtpd[2026]: warning: unknown[188.190.10.124]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 28 20:51:47 srv4hai postfix/smtpd[2026]: disconnect from unknown[188.190.10.124] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 28 20:52:01 srv4hai CRON[2034]: (root) CMD (/etc/linetest/linetest.sh)
Sep 28 20:52:13 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2045, secured, session=<289BeDIjHo0AAAAAAAAAAAAAAAAAAAAB>
Sep 28 20:52:13 srv4hai dovecot: imap(miglincit)<2045><289BeDIjHo0AAAAAAAAAAAAAAAAAAAAB>: Logged out in=387 out=40762 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=14061 body_count=0 body_bytes=0
Sep 28 20:52:42 srv4hai postfix/smtpd[2026]: connect from unknown[94.141.120.236]
Sep 28 20:52:42 srv4hai postfix/smtpd[2026]: warning: unknown[94.141.120.236]: SASL LOGIN authentication failed: Invalid authentication mechanism
Sep 28 20:52:42 srv4hai postfix/smtpd[2026]: disconnect from unknown[94.141.120.236] ehlo=1 auth=0/1 quit=1 commands=2/3
Sep 28 20:52:50 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1727549570 - 'ping_SP_1'
Sep 28 20:52:50 srv4hai ping_SP[5606]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 28 20:53:01 srv4hai CRON[2089]: (root) CMD (/etc/linetest/linetest.sh)
Sep 28 20:53:34 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Sep 28 20:53:34 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 28 20:53:34 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 28 20:53:34 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 28 20:53:34 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 28 20:53:34 srv4hai common[2108]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 28 20:53:36 srv4hai common[2121]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 28 20:53:44 srv4hai smartphone.sh: SHELLY - ping_SP.sh started for phoneIP: '192.168.12.61' / 'fpThomas' / '0'
Sep 28 20:53:44 srv4hai common[2138]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 28 20:53:44 srv4hai dhcpd[30731]: DHCPREQUEST for 192.168.12.61 (192.168.12.252) from e8:78:29:c0:c2:4e via enp2s0
Sep 28 20:53:44 srv4hai dhcpd[30731]: DHCPACK on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Sep 28 20:53:44 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Sep 28 20:53:44 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Sep 28 20:53:44 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Sep 28 20:53:44 srv4hai common[2151]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Sep 28 20:53:44 srv4hai ping_SP[2138]: SHELLY ping_SP.sh started from smartphone, user:'root'
Sep 28 20:53:46 srv4hai bt_scan[2121]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 28 20:53:46 srv4hai bt_scan[2121]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Sep 28 20:53:46 srv4hai common[2191]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 28 20:53:46 srv4hai ping_SP[2191]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Sep 28 20:53:46 srv4hai common[2212]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 28 20:53:46 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'2'=1727549626-1727549624
Sep 28 20:53:46 srv4hai check_presence[2212]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Sep 28 20:53:46 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'2'=1727549626-1727549624
Sep 28 20:53:46 srv4hai check_presence[2212]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Sep 28 20:53:46 srv4hai check_presence[2212]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Sep 28 20:53:46 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'2'=1727549626-1727549624
Sep 28 20:53:46 srv4hai check_presence[2212]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 28 20:53:46 srv4hai check_presence[2212]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 28 20:53:46 srv4hai check_presence[2212]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_sekr_UM) - sceneONsmall(vorraumOn)
Sep 28 20:53:46 srv4hai check_presence[2212]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Sep 28 20:53:46 srv4hai activate_scenario[2370]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 28 20:53:46 srv4hai activate_scenario[2370]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished