activate_scenario.sh
Thu May 2 08:03:07 CEST 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'

Thomas Schreibtischlampe (/srv/www/viehai/shelly/log_scenarios/2024/05/02/_0.log)

vorher: 08:03:07.774

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: 08:03:07.820
Dauer: 46 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 08:03:07.745
nachher: 08:03:07.826
Dauer : 81 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/05/02//scene_pcOFF_20240502_080307.txt'


syslog

May  2 08:00:01 srv4hai CRON[7177]: (root) CMD (/etc/linetest/linetest.sh)
May  2 08:00:01 srv4hai CRON[7178]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
May  2 08:00:01 srv4hai common[7179]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
May  2 08:00:01 srv4hai meter.sh: SHELLY meter.sh started
May  2 08:00:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
May  2 08:00:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
May  2 08:00:08 srv4hai meter.sh: SHELLY 'shelly-42/Stehlampe dimmbar':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  2 08:00:08 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
May  2 08:00:08 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
May  2 08:00:08 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
May  2 08:00:08 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
May  2 08:00:08 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
May  2 08:00:11 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  2 08:00:13 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  2 08:00:13 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
May  2 08:00:13 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
May  2 08:00:13 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
May  2 08:00:13 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
May  2 08:00:13 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
May  2 08:00:16 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  2 08:00:16 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
May  2 08:00:16 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
May  2 08:00:16 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
May  2 08:00:16 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
May  2 08:00:16 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
May  2 08:00:16 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
May  2 08:00:16 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
May  2 08:00:16 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
May  2 08:00:16 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
May  2 08:00:17 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
May  2 08:00:19 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
May  2 08:00:19 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
May  2 08:00:19 srv4hai meter[7179]: SHELLY - who: 'Thomas' / shellyIP: '192.168.12.61'
May  2 08:00:19 srv4hai common[8064]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
May  2 08:00:19 srv4hai meter[7179]: SHELLY - who: 'Grete' / shellyIP: '192.168.12.62'
May  2 08:00:19 srv4hai common[8078]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
May  2 08:00:19 srv4hai meter[7179]: SHELLY - who: 'Sophie' / shellyIP: '192.168.12.63'
May  2 08:00:19 srv4hai ping_SP[8064]: SHELLY ping_SP.sh started from meter, user:'www-data'
May  2 08:00:19 srv4hai common[8097]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
May  2 08:00:19 srv4hai common[8098]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
May  2 08:00:19 srv4hai ping_SP[8078]: SHELLY ping_SP.sh started from meter, user:'www-data'
May  2 08:00:19 srv4hai ping_SP[8097]: SHELLY ping_SP.sh started from meter, user:'www-data'
May  2 08:00:19 srv4hai ping_SP[8064]: SHELLY - running process-id(8064): '8064 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 meter#01218987 /bin/bash /srv/www/viehai/shelly//ping_SP.sh 192.168.12.61 bt_scan' - 'ping_SP_0' - exiting ==============
May  2 08:00:19 srv4hai ping_SP[8078]: SHELLY - new process for '192.168.12.62' - '/srv/www/viehai/shelly//meter/ping_SP_1' @~1714629619
May  2 08:00:19 srv4hai ping_SP[8097]: SHELLY - new process for '192.168.12.63' - '/srv/www/viehai/shelly//meter/ping_SP_2' @~1714629619
May  2 08:00:19 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
May  2 08:00:19 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
May  2 08:00:19 srv4hai meter.sh: SHELLY meter.sh ended
May  2 08:00:19 srv4hai postfix/pickup[24328]: E71E2631A0: uid=33 from=
May  2 08:00:19 srv4hai postfix/cleanup[8160]: E71E2631A0: message-id=<20240502060019.E71E2631A0@mail.viehai.at>
May  2 08:00:19 srv4hai postfix/qmgr[15291]: E71E2631A0: from=, size=855, nrcpt=1 (queue active)
May  2 08:00:19 srv4hai postfix/local[8162]: E71E2631A0: to=, orig_to=, relay=local, delay=0.04, delays=0.02/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
May  2 08:00:19 srv4hai postfix/qmgr[15291]: E71E2631A0: removed
May  2 08:00:33 srv4hai ping_SP[8078]: SHELLY (1)- ping 192.168.12.62 0 not answered (1) @~1714629633 - 'ping_SP_1'
May  2 08:00:33 srv4hai ping_SP[8097]: SHELLY (2)- ping 192.168.12.63 0 not answered (1) @~1714629633 - 'ping_SP_2'
May  2 08:00:51 srv4hai ping_SP[18987]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714629651 - 'ping_SP_0'
May  2 08:00:51 srv4hai ping_SP[18987]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May  2 08:00:59 srv4hai ping_SP[8097]: SHELLY (2)- ping 192.168.12.63 1 not answered (1) @~1714629659 - 'ping_SP_2'
May  2 08:00:59 srv4hai ping_SP[8078]: SHELLY (1)- ping 192.168.12.62 1 not answered (1) @~1714629659 - 'ping_SP_1'
May  2 08:01:01 srv4hai CRON[8259]: (root) CMD (/etc/linetest/linetest.sh)
May  2 08:01:22 srv4hai ping_SP[8097]: SHELLY (2)- ping 192.168.12.63 2 not answered (1) @~1714629682 - 'ping_SP_2'
May  2 08:01:22 srv4hai ping_SP[8078]: SHELLY (1)- ping 192.168.12.62 2 not answered (1) @~1714629682 - 'ping_SP_1'
May  2 08:01:33 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
May  2 08:01:33 srv4hai fetchmail[1651]: 43321 messages (43320 seen) for tmiglinci at mail.akis.at (-686414861 octets).
May  2 08:01:33 srv4hai postfix/smtpd[8305]: connect from localhost[127.0.0.1]
May  2 08:01:33 srv4hai postfix/smtpd[8305]: DE8106319A: client=localhost[127.0.0.1]
May  2 08:01:33 srv4hai postfix/cleanup[8160]: DE8106319A: message-id=
May  2 08:01:33 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:43321 of 43321 (64629 octets) not flushed
May  2 08:01:33 srv4hai postfix/qmgr[15291]: DE8106319A: from=, size=64877, nrcpt=1 (queue active)
May  2 08:01:33 srv4hai postfix/smtpd[8305]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
May  2 08:01:33 srv4hai postfix/local[8162]: DE8106319A: to=, relay=local, delay=0.07, delays=0.05/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
May  2 08:01:33 srv4hai postfix/qmgr[15291]: DE8106319A: removed
May  2 08:01:34 srv4hai fetchmail[1651]: 10193 messages (10193 seen) for srozum at mail.akis.at (1230680639 octets).
May  2 08:01:34 srv4hai fetchmail[1651]: 23232 messages (23232 seen) for mrozum at mail.akis.at (-283588576 octets).
May  2 08:01:35 srv4hai fetchmail[1651]: 52 messages (52 seen) for admin@bastelstube.wien at pop3.world4you.com (12587653 octets).
May  2 08:01:45 srv4hai ping_SP[8078]: SHELLY (1)- ping 192.168.12.62 3 not answered (1) @~1714629705 - 'ping_SP_1'
May  2 08:01:45 srv4hai ping_SP[8097]: SHELLY (2)- ping 192.168.12.63 3 not answered (1) @~1714629705 - 'ping_SP_2'
May  2 08:01:57 srv4hai postfix/anvil[7033]: statistics: max connection rate 1/60s for (smtp:87.121.105.221) at May  2 07:55:48
May  2 08:01:57 srv4hai postfix/anvil[7033]: statistics: max connection count 1 for (smtp:87.121.105.221) at May  2 07:55:48
May  2 08:01:57 srv4hai postfix/anvil[7033]: statistics: max cache size 2 at May  2 07:58:37
May  2 08:02:02 srv4hai CRON[8362]: (root) CMD (/etc/linetest/linetest.sh)
May  2 08:02:04 srv4hai ping_SP[18987]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1714629724 - 'ping_SP_0'
May  2 08:02:04 srv4hai ping_SP[18987]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
May  2 08:02:11 srv4hai ping_SP[8078]: SHELLY (1)- ping 192.168.12.62 4 not answered (1) @~1714629731 - 'ping_SP_1'
May  2 08:02:11 srv4hai ping_SP[8097]: SHELLY (2)- ping 192.168.12.63 4 not answered (1) @~1714629731 - 'ping_SP_2'
May  2 08:02:37 srv4hai ping_SP[8078]: SHELLY (1)- ping 192.168.12.62 5 not answered (1) @~1714629757 - 'ping_SP_1'
May  2 08:02:37 srv4hai ping_SP[8097]: SHELLY (2)- ping 192.168.12.63 5 not answered (1) @~1714629757 - 'ping_SP_2'
May  2 08:02:37 srv4hai ping_SP[8078]: SHELLY (1)- ping 192.168.12.62 5 not answered - abort (8078) @~1714629757 - rm 'ping_SP_1'
May  2 08:02:37 srv4hai ping_SP[8097]: SHELLY (2)- ping 192.168.12.63 5 not answered - abort (8097) @~1714629757 - rm 'ping_SP_2'
May  2 08:02:37 srv4hai common[8447]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May  2 08:02:37 srv4hai common[8448]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
May  2 08:02:38 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'6'=1714629758-1714629752
May  2 08:02:38 srv4hai check_presence[8448]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
May  2 08:02:38 srv4hai check_presence[8448]: SHELLY (ping_SP__NO_ping)-(2) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
May  2 08:02:38 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'6'=1714629758-1714629752
May  2 08:02:38 srv4hai check_presence[8448]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
May  2 08:02:38 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'6'=1714629758-1714629752
May  2 08:02:38 srv4hai check_presence[8448]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
May  2 08:02:38 srv4hai check_presence[8448]: SHELLY (ping_SP__NO_ping)-(2) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
May  2 08:02:38 srv4hai check_presence[8448]: SHELLY (ping_SP__NO_ping)-(2)-presence: NOT activate_scenario.shtml: offAll
May  2 08:02:38 srv4hai ping_SP[8097]: SHELLY (2)- TERMINATING now
May  2 08:02:39 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'7'=1714629759-1714629752
May  2 08:02:39 srv4hai check_presence[8447]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
May  2 08:02:39 srv4hai check_presence[8447]: SHELLY (ping_SP__NO_ping)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
May  2 08:02:39 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'7'=1714629759-1714629752
May  2 08:02:39 srv4hai check_presence[8447]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
May  2 08:02:39 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'7'=1714629759-1714629752
May  2 08:02:39 srv4hai check_presence[8447]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
May  2 08:02:39 srv4hai check_presence[8447]: SHELLY (ping_SP__NO_ping)-(1) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
May  2 08:02:39 srv4hai check_presence[8447]: SHELLY (ping_SP__NO_ping)-(1)-presence: NOT activate_scenario.shtml: offAll
May  2 08:02:39 srv4hai ping_SP[8078]: SHELLY (1)- TERMINATING now
May  2 08:02:56 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=8690, secured, session=
May  2 08:02:56 srv4hai dovecot: imap(miglincit)<8690>: Logged out in=728 out=47334 deleted=0 expunged=0 trashed=0 hdr_count=50 hdr_bytes=22987 body_count=0 body_bytes=0
May  2 08:03:01 srv4hai CRON[8699]: (root) CMD (/etc/linetest/linetest.sh)
May  2 08:03:07 srv4hai dovecot: imap(miglincit)<25191><8w5z73EX6NTAqAwK>: Logged out in=3316 out=934674 deleted=0 expunged=0 trashed=0 hdr_count=17 hdr_bytes=6886 body_count=17 body_bytes=838769
May  2 08:03:07 srv4hai activate_scenario[8708]: SHELLY scenario: 'pcOFF(pcoff)' started
May  2 08:03:07 srv4hai activate_scenario[8708]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished