activate_scenario.sh
Sun Dec 8 12:33:44 CET 2024
scenario: pcOFF
source: 192.168.12.10

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

scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

TB Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/12/08/_0.log)

vorher: 12:33:45.015

http://192.168.12.120/relay/0?turn=off
  "ison": false,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "source": "http"

nachher: 12:33:45.079
Dauer: 65 msec phName: 'shelly-0:'''


scenario: 'Schreibtisch Thomas AUS-schalten' - 'pcOFF' - 'pcoff'

urls : 1
vorher : 12:33:44.994
nachher: 12:33:45.085
Dauer : 91 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/08//scene_pcOFF_20241208_123344.txt'


syslog

Dec  8 12:30:01 srv4hai CRON[16523]: (root) CMD (/etc/linetest/linetest.sh)
Dec  8 12:30:01 srv4hai CRON[16522]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Dec  8 12:30:01 srv4hai CRON[16524]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Dec  8 12:30:01 srv4hai common[16525]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Dec  8 12:30:01 srv4hai meter.sh: SHELLY meter.sh started
Dec  8 12:30:02 srv4hai meter.sh: SHELLY 'shelly-29/KÜ Schalter Herdzeile' - type: 'shelly-i3' ignoring
Dec  8 12:30:02 srv4hai meter.sh: SHELLY 'shelly-28/KÜ Schalter Nasszeile' - type: 'shelly-i3' ignoring
Dec  8 12:30:05 srv4hai meter.sh: SHELLY 'shelly-01/WZ Licht Esstisch':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec  8 12:30:06 srv4hai ping_SP[2792]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733657406 - 'ping_SP_0'
Dec  8 12:30:06 srv4hai ping_SP[2792]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  8 12:30:07 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Dec  8 12:30:07 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Dec  8 12:30:07 srv4hai meter.sh: SHELLY 'shelly-37/TB Klima' - type: 'shelly-ht' ignoring
Dec  8 12:30:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Dec  8 12:30:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Dec  8 12:30:10 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec  8 12:30:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec  8 12:30:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Dec  8 12:30:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Dec  8 12:30:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Dec  8 12:30:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Dec  8 12:30:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Dec  8 12:30:13 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Dec  8 12:30:13 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Dec  8 12:30:13 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Dec  8 12:30:13 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Dec  8 12:30:13 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Dec  8 12:30:13 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Dec  8 12:30:14 srv4hai meter.sh: SHELLY 'shelly-01a/WZ Licht Esstisch - 20241208 kein WLAN' - status: 'DFC' ignoring
Dec  8 12:30:14 srv4hai meter.sh: SHELLY 'shelly-43/43-tbd' - status: 'OOS' ignoring
Dec  8 12:30:14 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Dec  8 12:30:14 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Dec  8 12:30:14 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Dec  8 12:30:14 srv4hai meter.sh: SHELLY 'shelly-48/BT GW 1' - status: 'OOS' ignoring
Dec  8 12:30:16 srv4hai meter.sh: SHELLY 'shelly-50/50-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Dec  8 12:30:16 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Dec  8 12:30:16 srv4hai meter.sh: SHELLY 'shelly-55/55-TBD' - status: 'OOS' ignoring
Dec  8 12:30:16 srv4hai common[17521]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Dec  8 12:30:17 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
Dec  8 12:30:17 srv4hai check_shelly.sh: SHELLY found '7' active shelly outputs
Dec  8 12:30:17 srv4hai meter.sh: SHELLY meter.sh ended
Dec  8 12:30:17 srv4hai systemd[1]: Started Run anacron jobs.
Dec  8 12:30:17 srv4hai anacron[17544]: Anacron 2.3 started on 2024-12-08
Dec  8 12:30:17 srv4hai anacron[17544]: Normal exit (0 jobs run)
Dec  8 12:30:17 srv4hai systemd[1]: anacron.service: Succeeded.
Dec  8 12:30:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17553, secured, session=
Dec  8 12:30:32 srv4hai dovecot: imap(miglincit)<17553>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec  8 12:30:49 srv4hai postfix/smtpd[17564]: connect from unknown[80.94.95.239]
Dec  8 12:30:51 srv4hai postfix/smtpd[17564]: warning: unknown[80.94.95.239]: SASL LOGIN authentication failed: Invalid authentication mechanism
Dec  8 12:30:52 srv4hai postfix/smtpd[17564]: disconnect from unknown[80.94.95.239] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Dec  8 12:31:01 srv4hai CRON[17569]: (root) CMD (/etc/linetest/linetest.sh)
Dec  8 12:31:04 srv4hai common[17576]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec  8 12:31:14 srv4hai bt_scan[17576]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Dec  8 12:31:14 srv4hai bt_scan[17576]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Dec  8 12:31:19 srv4hai ping_SP[2792]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733657479 - 'ping_SP_0'
Dec  8 12:31:19 srv4hai ping_SP[2792]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  8 12:31:48 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17646, secured, session=<8WDul8Ao8OgAAAAAAAAAAAAAAAAAAAAB>
Dec  8 12:31:48 srv4hai dovecot: imap(miglincit)<17646><8WDul8Ao8OgAAAAAAAAAAAAAAAAAAAAB>: Logged out in=443 out=155635 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=444 body_count=1 body_bytes=153450
Dec  8 12:31:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17648, secured, session=
Dec  8 12:31:52 srv4hai dovecot: imap(miglincit)<17648>: Logged out in=445 out=11356 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=445 body_count=1 body_bytes=8632
Dec  8 12:31:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17651, secured, session=<2p01mMAo9ugAAAAAAAAAAAAAAAAAAAAB>
Dec  8 12:31:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17654, secured, session=
Dec  8 12:31:52 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17655, secured, session=
Dec  8 12:31:52 srv4hai dovecot: imap(miglincit)<17651><2p01mMAo9ugAAAAAAAAAAAAAAAAAAAAB>: Logged out in=399 out=20510 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=445 body_count=1 body_bytes=17827
Dec  8 12:31:52 srv4hai dovecot: imap(miglincit)<17654>: Logged out in=399 out=5037 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=445 body_count=1 body_bytes=2355
Dec  8 12:31:52 srv4hai dovecot: imap(miglincit)<17655>: Logged out in=399 out=7748 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=445 body_count=1 body_bytes=5066
Dec  8 12:31:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17658, secured, session=
Dec  8 12:31:54 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17660, secured, session=
Dec  8 12:31:54 srv4hai dovecot: imap(miglincit)<17658>: Logged out in=606 out=32027 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=372 body_count=0 body_bytes=0
Dec  8 12:31:54 srv4hai dovecot: imap(miglincit)<17660>: Logged out in=443 out=14026 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=511 body_count=1 body_bytes=11798
Dec  8 12:31:56 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17666, secured, session=
Dec  8 12:31:56 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17668, secured, session=<+mtomMAoAukAAAAAAAAAAAAAAAAAAAAB>
Dec  8 12:31:56 srv4hai dovecot: imap(miglincit)<17666>: Logged out in=606 out=31958 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=320 body_count=0 body_bytes=0
Dec  8 12:31:56 srv4hai dovecot: imap(miglincit)<17668><+mtomMAoAukAAAAAAAAAAAAAAAAAAAAB>: Logged out in=443 out=81571 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=517 body_count=1 body_bytes=79282
Dec  8 12:31:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17670, secured, session=
Dec  8 12:31:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17672, secured, session=
Dec  8 12:31:57 srv4hai dovecot: imap(miglincit)<17672>: Logged out in=399 out=26022 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=473 body_count=1 body_bytes=22614
Dec  8 12:31:57 srv4hai dovecot: imap(miglincit)<17670>: Logged out in=606 out=31955 deleted=0 expunged=0 trashed=1 hdr_count=1 hdr_bytes=408 body_count=0 body_bytes=0
Dec  8 12:31:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17679, secured, session=
Dec  8 12:31:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17680, secured, session=
Dec  8 12:31:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17681, secured, session=
Dec  8 12:31:57 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17682, secured, session=
Dec  8 12:31:57 srv4hai dovecot: imap(miglincit)<17679>: Logged out in=399 out=46270 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=473 body_count=1 body_bytes=42878
Dec  8 12:31:57 srv4hai dovecot: imap(miglincit)<17680>: Logged out in=399 out=42826 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=473 body_count=1 body_bytes=39434
Dec  8 12:31:57 srv4hai dovecot: imap(miglincit)<17681>: Logged out in=399 out=24989 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=473 body_count=1 body_bytes=21597
Dec  8 12:31:57 srv4hai dovecot: imap(miglincit)<17682>: Logged out in=399 out=51903 deleted=0 expunged=0 trashed=0 hdr_count=1 hdr_bytes=473 body_count=1 body_bytes=48511
Dec  8 12:32:01 srv4hai CRON[17685]: (root) CMD (/etc/linetest/linetest.sh)
Dec  8 12:32:24 srv4hai common[17704]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec  8 12:32:25 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec  8 12:32:26 srv4hai fetchmail[1651]: 58766 messages (58766 seen) for tmiglinci at mail.akis.at (538423644 octets).
Dec  8 12:32:26 srv4hai fetchmail[1651]: 11195 messages (11195 seen) for srozum at mail.akis.at (1344406089 octets).
Dec  8 12:32:27 srv4hai fetchmail[1651]: 27728 messages (27728 seen) for mrozum at mail.akis.at (471275669 octets).
Dec  8 12:32:28 srv4hai fetchmail[1651]: 1159 messages (1159 seen) for admin@bastelstube.wien at pop3.world4you.com (52182817 octets).
Dec  8 12:32:31 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17720, secured, session=
Dec  8 12:32:31 srv4hai dovecot: imap(miglincit)<17720>: Logged out in=1948 out=1203 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec  8 12:32:32 srv4hai ping_SP[2792]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1733657552 - 'ping_SP_0'
Dec  8 12:32:32 srv4hai ping_SP[2792]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec  8 12:32:34 srv4hai bt_scan[17704]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Dec  8 12:32:34 srv4hai bt_scan[17704]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Dec  8 12:32:34 srv4hai common[17754]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Dec  8 12:32:35 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1733657555-1733657544
Dec  8 12:32:35 srv4hai check_presence[17754]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Dec  8 12:32:35 srv4hai check_presence[17754]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Dec  8 12:32:35 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1733657555-1733657544
Dec  8 12:32:35 srv4hai check_presence[17754]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Dec  8 12:32:35 srv4hai common.sh: SHELLY: BTstatus[2]:'null' dweetAge:'11'=1733657555-1733657544
Dec  8 12:32:35 srv4hai check_presence[17754]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and null//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Dec  8 12:32:35 srv4hai check_presence[17754]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Dec  8 12:32:35 srv4hai check_presence[17754]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_pcON) - sceneOFF(offAll)
Dec  8 12:32:35 srv4hai check_presence[17754]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Dec  8 12:33:01 srv4hai CRON[17910]: (root) CMD (/etc/linetest/linetest.sh)
Dec  8 12:33:32 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17928, secured, session=
Dec  8 12:33:32 srv4hai dovecot: imap(miglincit)<17928>: Logged out in=2123 out=166145 deleted=0 expunged=0 trashed=0 hdr_count=262 hdr_bytes=90677 body_count=0 body_bytes=0
Dec  8 12:33:44 srv4hai dovecot: imap(miglincit)<1177>: Logged out in=2212998 out=23447959 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=3 body_bytes=63890
Dec  8 12:33:44 srv4hai dovecot: imap(miglincit)<1179>: Logged out in=2215796 out=22977345 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec  8 12:33:44 srv4hai dovecot: imap(miglincit)<1175><9tOg6L0oPpXAqAwK>: Connection closed (IDLE running for 0.001 + waiting input for 48.729 secs, 2 B in + 10 B out, state=wait-input) in=2235408 out=23660509 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec  8 12:33:44 srv4hai dovecot: imap(miglincit)<1173>: Connection closed (IDLE running for 0.001 + waiting input for 48.729 secs, 2 B in + 10 B out, state=wait-input) in=2211197 out=22720419 deleted=0 expunged=0 trashed=0 hdr_count=3 hdr_bytes=1011 body_count=0 body_bytes=0
Dec  8 12:33:44 srv4hai dovecot: imap(miglincit)<1178>: Logged out in=16145 out=5190323 deleted=0 expunged=0 trashed=0 hdr_count=63 hdr_bytes=23374 body_count=63 body_bytes=5012472
Dec  8 12:33:44 srv4hai activate_scenario[17936]: SHELLY scenario: 'pcOFF(pcoff)' started
Dec  8 12:33:44 srv4hai activate_scenario[17936]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished