activate_scenario.sh
Wed Sep 11 17:41:41 CEST 2024
scenario: buero_UM
source: 192.168.12.140

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

scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

Thomas Büro Regallicht (/srv/www/viehai/shelly/log_scenarios/2024/09/11/_0.log)

vorher: 17:41:42.101

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

nachher: 17:41:42.146
Dauer: 45 msec phName: 'shelly-40:'Thomas Büro Licht''


Thomas Büro Licht (/srv/www/viehai/shelly/log_scenarios/2024/09/11/_1.log)

vorher: 17:41:42.121

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

nachher: 17:41:42.151
Dauer: 31 msec phName: 'shelly-40:'Thomas Büro Licht''


scenario: 'Büro UM-schalten' - 'buero_UM' - 'buero_um'

urls : 2
vorher : 17:41:42.072
nachher: 17:41:42.157
Dauer : 86 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/11//scene_buero_UM_20240911_174141.txt'


syslog

Sep 11 17:38:01 srv4hai CRON[3423]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 17:38:22 srv4hai postfix/anvil[3270]: statistics: max connection rate 1/60s for (smtp:80.94.92.153) at Sep 11 17:33:49
Sep 11 17:38:22 srv4hai postfix/anvil[3270]: statistics: max connection count 1 for (smtp:80.94.92.153) at Sep 11 17:33:49
Sep 11 17:38:22 srv4hai postfix/anvil[3270]: statistics: max cache size 1 at Sep 11 17:33:49
Sep 11 17:38:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3436, secured, session=
Sep 11 17:38:46 srv4hai dovecot: imap(rozumm)<3436>: Logged out in=92 out=1060 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 11 17:39:00 srv4hai systemd[1]: Starting Clean php session files...
Sep 11 17:39:00 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Sep 11 17:39:00 srv4hai systemd[1]: Started Clean php session files.
Sep 11 17:39:01 srv4hai CRON[3534]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Sep 11 17:39:01 srv4hai CRON[3535]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 17:39:06 srv4hai common[3543]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 11 17:39:06 srv4hai bt_scan[3543]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Sep 11 17:39:06 srv4hai bt_scan[3543]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Sep 11 17:39:06 srv4hai common[3574]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 11 17:39:07 srv4hai ping_SP[3574]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Sep 11 17:39:07 srv4hai common[3595]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 11 17:39:07 srv4hai common.sh: SHELLY: BTstatus[0]:'BTdweet_not_set' dweetAge:'0'=1726069147-1726069147
Sep 11 17:39:07 srv4hai check_presence[3595]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and BTdweet_not_set//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Sep 11 17:39:07 srv4hai common.sh: SHELLY: BTstatus[1]:'BTdweet_not_set' dweetAge:'0'=1726069147-1726069147
Sep 11 17:39:07 srv4hai check_presence[3595]: 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
Sep 11 17:39:07 srv4hai common.sh: SHELLY: BTstatus[2]:'BTdweet_not_set' dweetAge:'0'=1726069147-1726069147
Sep 11 17:39:07 srv4hai check_presence[3595]: 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
Sep 11 17:39:07 srv4hai check_presence[3595]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/__) (__/__) (__/__)' - anyPresent: 'false' - otherPresent:'false'
Sep 11 17:39:07 srv4hai postfix/pickup[18023]: AA7916345B: uid=33 from=
Sep 11 17:39:07 srv4hai postfix/cleanup[3700]: AA7916345B: message-id=<20240911153907.AA7916345B@mail.viehai.at>
Sep 11 17:39:07 srv4hai postfix/qmgr[8566]: AA7916345B: from=, size=4713, nrcpt=1 (queue active)
Sep 11 17:39:07 srv4hai check_presence[3595]: SHELLY - check 'coming': anyPresent(false) - lScene(scene_nasszeile_um) - sceneONsmall(vorraumOn)
Sep 11 17:39:07 srv4hai check_presence[3595]: SHELLY (ping_SP__bt_scan)-(1)-coming: NOT activate_scenario.shtml: vorraumOn
Sep 11 17:39:07 srv4hai ping_SP[3574]: SHELLY check_presence.sh coming 1 ping_SP__bt_scan
Sep 11 17:39:07 srv4hai ping_SP[3574]: SHELLY - new process for '192.168.12.62' - '/srv/www/viehai/shelly//meter/ping_SP_1' @~1726069147
Sep 11 17:39:08 srv4hai postfix/relay/smtp[3707]: AA7916345B: to=, relay=mx01.nic.name[209.131.159.47]:25, delay=1, delays=0.03/0.01/0.74/0.27, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 8448160041)
Sep 11 17:39:08 srv4hai postfix/qmgr[8566]: AA7916345B: removed
Sep 11 17:39:20 srv4hai ping_SP[3574]: SHELLY (1) - ping 192.168.12.62 0 sucessfully  @~1726069160 - 'ping_SP_1'
Sep 11 17:39:20 srv4hai ping_SP[3574]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 17:39:36 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3763, secured, session=<5fgezNkhFNQAAAAAAAAAAAAAAAAAAAAB>
Sep 11 17:39:36 srv4hai dovecot: imap(rozumm)<3763><5fgezNkhFNQAAAAAAAAAAAAAAAAAAAAB>: Logged out in=440 out=51110 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=536 body_count=1 body_bytes=48887
Sep 11 17:39:39 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3768, secured, session=
Sep 11 17:39:39 srv4hai dovecot: imap(rozumm)<3768>: Logged out in=684 out=29083 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=554 body_count=10 body_bytes=23843
Sep 11 17:39:39 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3770, secured, session=
Sep 11 17:39:39 srv4hai dovecot: imap(rozumm)<3770>: Logged out in=395 out=51059 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=536 body_count=1 body_bytes=48887
Sep 11 17:39:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=3776, secured, session=
Sep 11 17:39:46 srv4hai dovecot: imap(rozumm)<3776>: Logged out in=426 out=1198 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep 11 17:40:01 srv4hai CRON[3789]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 17:40:01 srv4hai CRON[3790]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Sep 11 17:40:01 srv4hai common[3792]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Sep 11 17:40:01 srv4hai meter.sh: SHELLY meter.sh started
Sep 11 17:40:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Sep 11 17:40:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Sep 11 17:40:02 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Sep 11 17:40:03 srv4hai fetchmail[1651]: 52100 messages (52099 seen) for tmiglinci at mail.akis.at (-6979085 octets).
Sep 11 17:40:03 srv4hai postfix/smtpd[4056]: connect from localhost[127.0.0.1]
Sep 11 17:40:03 srv4hai postfix/smtpd[4056]: C57A16000F: client=localhost[127.0.0.1]
Sep 11 17:40:03 srv4hai postfix/cleanup[3700]: C57A16000F: message-id=<20240911153907.AA7916345B@mail.viehai.at>
Sep 11 17:40:03 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:52100 of 52100 (5691 octets) not flushed
Sep 11 17:40:03 srv4hai postfix/qmgr[8566]: C57A16000F: from=, size=5987, nrcpt=1 (queue active)
Sep 11 17:40:03 srv4hai postfix/smtpd[4056]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 11 17:40:03 srv4hai postfix/local[4065]: C57A16000F: to=, relay=local, delay=0.08, delays=0.05/0.02/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 11 17:40:03 srv4hai postfix/qmgr[8566]: C57A16000F: removed
Sep 11 17:40:04 srv4hai fetchmail[1651]: 10707 messages (10707 seen) for srozum at mail.akis.at (1292086869 octets).
Sep 11 17:40:04 srv4hai fetchmail[1651]: 25837 messages (25836 seen) for mrozum at mail.akis.at (202022762 octets).
Sep 11 17:40:04 srv4hai postfix/smtpd[4056]: connect from localhost[127.0.0.1]
Sep 11 17:40:04 srv4hai postfix/smtpd[4056]: F3EF06000F: client=localhost[127.0.0.1]
Sep 11 17:40:05 srv4hai postfix/cleanup[3700]: F3EF06000F: message-id=
Sep 11 17:40:05 srv4hai postfix/qmgr[8566]: F3EF06000F: from=, size=167703, nrcpt=1 (queue active)
Sep 11 17:40:05 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:25837 of 25837 (167469 octets) not flushed
Sep 11 17:40:05 srv4hai postfix/local[4065]: F3EF06000F: to=, relay=local, delay=0.12, delays=0.11/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Sep 11 17:40:05 srv4hai postfix/qmgr[8566]: F3EF06000F: removed
Sep 11 17:40:05 srv4hai postfix/smtpd[4056]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Sep 11 17:40:05 srv4hai fetchmail[1651]: 1142 messages (1142 seen) for admin@bastelstube.wien at pop3.world4you.com (51614275 octets).
Sep 11 17:40:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Sep 11 17:40:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Sep 11 17:40:06 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Sep 11 17:40:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Sep 11 17:40:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Sep 11 17:40:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 11 17:40:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 11 17:40:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Sep 11 17:40:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Sep 11 17:40:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Sep 11 17:40:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Sep 11 17:40:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Sep 11 17:40:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Sep 11 17:40:12 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Sep 11 17:40:12 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Sep 11 17:40:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Sep 11 17:40:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Sep 11 17:40:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Sep 11 17:40:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Sep 11 17:40:12 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Sep 11 17:40:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Sep 11 17:40:12 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Sep 11 17:40:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Sep 11 17:40:15 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Sep 11 17:40:15 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Sep 11 17:40:15 srv4hai common[4722]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Sep 11 17:40:15 srv4hai check_shelly.sh: SHELLY last scenery executed: 'nasszeile_um'
Sep 11 17:40:15 srv4hai check_shelly.sh: SHELLY found '2' active shelly outputs
Sep 11 17:40:15 srv4hai meter.sh: SHELLY meter.sh ended
Sep 11 17:40:34 srv4hai ping_SP[3574]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726069234 - 'ping_SP_1'
Sep 11 17:40:34 srv4hai ping_SP[3574]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 17:40:46 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4774, secured, session=
Sep 11 17:40:46 srv4hai dovecot: imap(rozumm)<4774>: Logged out in=592 out=34139 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=16352 body_count=0 body_bytes=0
Sep 11 17:40:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=4778, secured, session=
Sep 11 17:40:57 srv4hai dovecot: imap(miglincit)<4778>: Logged out in=730 out=47579 deleted=0 expunged=0 trashed=0 hdr_count=61 hdr_bytes=18663 body_count=0 body_bytes=0
Sep 11 17:41:01 srv4hai CRON[4782]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 17:41:42 srv4hai activate_scenario[4802]: SHELLY scenario: 'buero_UM(buero_um)' started
Sep 11 17:41:42 srv4hai activate_scenario[4802]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished