activate_scenario.sh
Mon Oct 14 20:01:39 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/10/14/_0.log)

vorher: 20:01:39.430

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:01:39.526
Dauer: 97 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 20:01:39.411
nachher: 20:01:39.534
Dauer : 123 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/10/14//scene_vorraumOn_20241014_200139.txt'


syslog

Oct 14 19:58:01 srv4hai CRON[23532]: (root) CMD (/etc/linetest/linetest.sh)
Oct 14 19:58:17 srv4hai postfix/smtpd[23545]: warning: hostname 188-190-10-145.clevhosting.com does not resolve to address 188.190.10.145: Name or service not known
Oct 14 19:58:17 srv4hai postfix/smtpd[23545]: connect from unknown[188.190.10.145]
Oct 14 19:58:17 srv4hai postfix/smtpd[23545]: warning: unknown[188.190.10.145]: SASL LOGIN authentication failed: Invalid authentication mechanism
Oct 14 19:58:17 srv4hai postfix/smtpd[23545]: disconnect from unknown[188.190.10.145] ehlo=1 auth=0/1 quit=1 commands=2/3
Oct 14 19:59:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23564, secured, session=
Oct 14 19:59:00 srv4hai dovecot: imap(rozums)<23564>: Logged out in=93 out=1021 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 14 19:59:01 srv4hai CRON[23567]: (root) CMD (/etc/linetest/linetest.sh)
Oct 14 19:59:24 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23584, secured, session=
Oct 14 19:59:24 srv4hai dovecot: imap(miglincit)<23584>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 14 20:00:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23603, secured, session=
Oct 14 20:00:00 srv4hai dovecot: imap(rozums)<23603>: Logged out in=93 out=1021 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 14 20:00:01 srv4hai CRON[23607]: (root) CMD (/etc/linetest/linetest.sh)
Oct 14 20:00:01 srv4hai CRON[23608]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Oct 14 20:00:01 srv4hai common[23610]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Oct 14 20:00:01 srv4hai meter.sh: SHELLY meter.sh started
Oct 14 20:00:01 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Oct 14 20:00:01 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Oct 14 20:00:04 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Oct 14 20:00:04 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Oct 14 20:00:04 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Oct 14 20:00:04 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Oct 14 20:00:04 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Oct 14 20:00:07 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Oct 14 20:00:10 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Oct 14 20:00:10 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Oct 14 20:00:10 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Oct 14 20:00:10 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Oct 14 20:00:10 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Oct 14 20:00:10 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Oct 14 20:00:10 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Oct 14 20:00:10 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Oct 14 20:00:10 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Oct 14 20:00:10 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Oct 14 20:00:10 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Oct 14 20:00:10 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Oct 14 20:00:10 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Oct 14 20:00:10 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Oct 14 20:00:10 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Oct 14 20:00:10 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Oct 14 20:00:10 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Oct 14 20:00:16 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Oct 14 20:00:16 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Oct 14 20:00:16 srv4hai common[24504]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Oct 14 20:00:16 srv4hai check_shelly.sh: SHELLY last scenery executed: 'offAll'
Oct 14 20:00:16 srv4hai check_shelly.sh: SHELLY found '0' active shelly outputs
Oct 14 20:00:16 srv4hai meter.sh: SHELLY meter.sh ended
Oct 14 20:00:34 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Oct 14 20:00:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24541, secured, session=
Oct 14 20:00:46 srv4hai dovecot: imap(miglincit)<24541>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 14 20:01:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=24552, secured, session=
Oct 14 20:01:00 srv4hai dovecot: imap(rozums)<24552>: Logged out in=93 out=1021 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Oct 14 20:01:01 srv4hai CRON[24557]: (root) CMD (/etc/linetest/linetest.sh)
Oct 14 20:01:01 srv4hai CRON[24558]: (root) CMD (   test -x /etc/cron.daily/popularity-contest && /etc/cron.daily/popularity-contest --crond)
Oct 14 20:01:06 srv4hai fetchmail[1651]: 54505 messages (54504 seen) for tmiglinci at mail.akis.at (173843225 octets).
Oct 14 20:01:06 srv4hai postfix/smtpd[24572]: connect from localhost[127.0.0.1]
Oct 14 20:01:06 srv4hai postfix/smtpd[24572]: A57B76345A: client=localhost[127.0.0.1]
Oct 14 20:01:06 srv4hai postfix/cleanup[24575]: A57B76345A: message-id=<2378biz_pay_after_purchase:0:0_576344111$66bda80d82e5478bb44786e8adb4b15e@aliexpress.com>
Oct 14 20:01:06 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:54505 of 54505 (152505 octets) not flushed
Oct 14 20:01:06 srv4hai postfix/qmgr[8566]: A57B76345A: from=, size=152787, nrcpt=1 (queue active)
Oct 14 20:01:06 srv4hai postfix/local[24576]: A57B76345A: to=, relay=local, delay=0.15, delays=0.13/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Oct 14 20:01:06 srv4hai postfix/qmgr[8566]: A57B76345A: removed
Oct 14 20:01:06 srv4hai postfix/smtpd[24572]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Oct 14 20:01:14 srv4hai common[24581]: SHELLY common.sh inkludiert von ./bt_scan.sh
Oct 14 20:01:14 srv4hai bt_scan[24581]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Oct 14 20:01:14 srv4hai bt_scan[24581]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Oct 14 20:01:14 srv4hai common[24612]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Oct 14 20:01:14 srv4hai ping_SP[24612]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Oct 14 20:01:14 srv4hai common[24633]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Oct 14 20:01:14 srv4hai fetchmail[1651]: 10828 messages (10828 seen) for srozum at mail.akis.at (1311695365 octets).
Oct 14 20:01:14 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1728928874-1728928874
Oct 14 20:01:14 srv4hai check_presence[24633]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Oct 14 20:01:14 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1728928874-1728928874
Oct 14 20:01:14 srv4hai check_presence[24633]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Oct 14 20:01:14 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1728928874-1728928874
Oct 14 20:01:14 srv4hai check_presence[24633]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Oct 14 20:01:14 srv4hai check_presence[24633]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Oct 14 20:01:14 srv4hai postfix/pickup[18989]: DB46E63463: uid=33 from=
Oct 14 20:01:14 srv4hai postfix/cleanup[24575]: DB46E63463: message-id=<20241014180114.DB46E63463@mail.viehai.at>
Oct 14 20:01:14 srv4hai postfix/qmgr[8566]: DB46E63463: from=, size=9760, nrcpt=1 (queue active)
Oct 14 20:01:14 srv4hai check_presence[24633]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Oct 14 20:01:14 srv4hai check_presence[24633]: SHELLY (ping_SP__bt_scan)-(1)-coming: NOT activate_scenario.shtml: vorraumOn
Oct 14 20:01:14 srv4hai ping_SP[24612]: SHELLY check_presence.sh coming 1 ping_SP__bt_scan
Oct 14 20:01:14 srv4hai ping_SP[24612]: SHELLY - new process for '192.168.12.62' - '/srv/www/viehai/shelly//meter/ping_SP_1' @~1728928874
Oct 14 20:01:15 srv4hai postfix/relay/smtp[24742]: DB46E63463: to=, relay=mx02.nic.name[209.131.158.56]:25, delay=1.1, delays=0.01/0.01/0.79/0.26, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as BD4B480065)
Oct 14 20:01:15 srv4hai postfix/qmgr[8566]: DB46E63463: removed
Oct 14 20:01:27 srv4hai fetchmail[1651]: 26558 messages (26558 seen) for mrozum at mail.akis.at (306666295 octets).
Oct 14 20:01:27 srv4hai fetchmail[1651]: 1147 messages (1147 seen) for admin@bastelstube.wien at pop3.world4you.com (51928753 octets).
Oct 14 20:01:27 srv4hai common[24785]: SHELLY common.sh inkludiert von ./bt_scan.sh
Oct 14 20:01:31 srv4hai ping_SP[24612]: SHELLY (1)- ping 192.168.12.62 0 not answered (1) @~1728928891 - 'ping_SP_1'
Oct 14 20:01:31 srv4hai dhcpd[30731]: DHCPDISCOVER from e8:78:29:c0:c2:4e via enp2s0
Oct 14 20:01:31 srv4hai dhcpd[30731]: DHCPOFFER on 192.168.12.61 to e8:78:29:c0:c2:4e via enp2s0
Oct 14 20:01:31 srv4hai dhcpd[30731]: execute_statement argv[0] = /srv/www/viehai/shelly/smartphone.sh
Oct 14 20:01:31 srv4hai dhcpd[30731]: execute_statement argv[1] = 192.168.12.61
Oct 14 20:01:31 srv4hai dhcpd[30731]: execute_statement argv[2] = fpThomas
Oct 14 20:01:31 srv4hai common[24814]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/smartphone.sh
Oct 14 20:01:37 srv4hai postfix/anvil[23547]: statistics: max connection rate 1/60s for (smtp:188.190.10.145) at Oct 14 19:58:17
Oct 14 20:01:37 srv4hai postfix/anvil[23547]: statistics: max connection count 1 for (smtp:188.190.10.145) at Oct 14 19:58:17
Oct 14 20:01:37 srv4hai postfix/anvil[23547]: statistics: max cache size 1 at Oct 14 19:58:17
Oct 14 20:01:37 srv4hai bt_scan[24785]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Oct 14 20:01:37 srv4hai bt_scan[24785]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Oct 14 20:01:37 srv4hai common[24846]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Oct 14 20:01:37 srv4hai ping_SP[24846]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Oct 14 20:01:37 srv4hai common[24867]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Oct 14 20:01:38 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'2'=1728928898-1728928896
Oct 14 20:01:38 srv4hai check_presence[24867]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Oct 14 20:01:38 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'2'=1728928898-1728928896
Oct 14 20:01:38 srv4hai check_presence[24867]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Oct 14 20:01:38 srv4hai check_presence[24867]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.TRY' for what: 'coming'
Oct 14 20:01:38 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'2'=1728928898-1728928896
Oct 14 20:01:38 srv4hai check_presence[24867]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Oct 14 20:01:38 srv4hai check_presence[24867]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (BT/TRY) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Oct 14 20:01:38 srv4hai check_presence[24867]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Oct 14 20:01:38 srv4hai check_presence[24867]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Oct 14 20:01:39 srv4hai activate_scenario[25018]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Oct 14 20:01:39 srv4hai activate_scenario[25018]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished