activate_scenario.sh
Mon Jul 15 18:02:43 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/07/15/_0.log)

vorher: 18:02:43.997

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: 18:02:44.022
Dauer: 26 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 18:02:43.967
nachher: 18:02:44.029
Dauer : 62 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/15//scene_pcOFF_20240715_180243.txt'


syslog

Jul 15 17:59:01 srv4hai CRON[22577]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 17:59:20 srv4hai common[22592]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 15 17:59:30 srv4hai bt_scan[22592]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jul 15 17:59:30 srv4hai bt_scan[22592]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jul 15 17:59:30 srv4hai common[22635]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 15 17:59:31 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1721059171-1721059160
Jul 15 17:59:31 srv4hai check_presence[22635]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 15 17:59:31 srv4hai check_presence[22635]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul 15 17:59:31 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1721059171-1721059160
Jul 15 17:59:31 srv4hai check_presence[22635]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jul 15 17:59:31 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1721059171-1721059160
Jul 15 17:59:31 srv4hai check_presence[22635]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 15 17:59:31 srv4hai check_presence[22635]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jul 15 17:59:31 srv4hai check_presence[22635]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_pcON) - sceneOFF(offAll)
Jul 15 17:59:31 srv4hai check_presence[22635]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jul 15 17:59:34 srv4hai ping_SP[19397]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721059174 - 'ping_SP_0'
Jul 15 17:59:34 srv4hai ping_SP[19397]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 15 17:59:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=22805, secured, session=
Jul 15 17:59:43 srv4hai dovecot: imap(miglincit)<22805>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 15 18:00:01 srv4hai CRON[22818]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 18:00:01 srv4hai CRON[22819]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Jul 15 18:00:01 srv4hai common[22820]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly/meter.sh
Jul 15 18:00:01 srv4hai meter.sh: SHELLY meter.sh started
Jul 15 18:00:02 srv4hai meter.sh: SHELLY 'shelly-29/Schalter Herdzeile' - type: 'shelly-i3' ignoring
Jul 15 18:00:02 srv4hai meter.sh: SHELLY 'shelly-28/Schalter Nasszeile' - type: 'shelly-i3' ignoring
Jul 15 18:00:06 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster' - type: 'shelly-BTN' ignoring
Jul 15 18:00:06 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter' - type: 'shelly-BTN' ignoring
Jul 15 18:00:06 srv4hai meter.sh: SHELLY 'shelly-37/Klima Büro' - type: 'shelly-ht' ignoring
Jul 15 18:00:06 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen' - status: 'OOS' ignoring
Jul 15 18:00:06 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon' - type: 'shelly-ht-plus' ignoring
Jul 15 18:00:09 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 15 18:00:11 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 15 18:00:11 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD' - status: 'OOS' ignoring
Jul 15 18:00:11 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3' - status: 'OOS' ignoring
Jul 15 18:00:11 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD' - status: 'OOS' ignoring
Jul 15 18:00:11 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD' - status: 'OOS' ignoring
Jul 15 18:00:11 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD' - status: 'OOS' ignoring
Jul 15 18:00:11 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test' - status: 'OOS' ignoring
Jul 15 18:00:11 srv4hai meter.sh: SHELLY 'shelly-09a/Inbetriebnahme - 20210720 - Defekt' - status: 'defect' ignoring
Jul 15 18:00:11 srv4hai meter.sh: SHELLY 'shelly-09b/Sophie Licht - 20230404 - Defekt' - status: 'defect' ignoring
Jul 15 18:00:12 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN' - status: 'defect' ignoring
Jul 15 18:00:12 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417' - status: 'defect' ignoring
Jul 15 18:00:12 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem' - status: 'defect' ignoring
Jul 15 18:00:12 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722' - status: 'defect' ignoring
Jul 15 18:00:12 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD' - status: 'OOS' ignoring
Jul 15 18:00:12 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD' - status: 'OOS' ignoring
Jul 15 18:00:12 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD' - status: 'OOS' ignoring
Jul 15 18:00:12 srv4hai meter.sh: SHELLY 'shelly-46/46-TBD' - status: 'OOS' ignoring
Jul 15 18:00:17 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Jul 15 18:00:17 srv4hai meter.sh: SHELLY 'shelly-59/Werkstatt Schalter Kellertür' - type: 'shelly-i3' ignoring
Jul 15 18:00:17 srv4hai common[23710]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_shelly.sh
Jul 15 18:00:17 srv4hai check_shelly.sh: SHELLY last scenery executed: 'pcON'
Jul 15 18:00:17 srv4hai check_shelly.sh: SHELLY found '6' active shelly outputs
Jul 15 18:00:17 srv4hai meter.sh: SHELLY meter.sh ended
Jul 15 18:00:36 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23756, secured, session=
Jul 15 18:00:36 srv4hai dovecot: imap(miglincit)<23756>: Logged out in=137 out=1053 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 15 18:00:47 srv4hai ping_SP[19397]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721059247 - 'ping_SP_0'
Jul 15 18:00:47 srv4hai ping_SP[19397]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 15 18:01:01 srv4hai CRON[23797]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 18:01:57 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 15 18:01:58 srv4hai fetchmail[1651]: 48725 messages (48724 seen) for tmiglinci at mail.akis.at (-259980412 octets).
Jul 15 18:01:58 srv4hai postfix/smtpd[23839]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 15 18:01:58 srv4hai postfix/smtpd[23839]: connect from localhost[127.0.0.1]
Jul 15 18:01:58 srv4hai postfix/smtpd[23839]: 5D9D96004D: client=localhost[127.0.0.1]
Jul 15 18:01:58 srv4hai postfix/cleanup[23842]: 5D9D96004D: message-id=<7b2e018c-3906-4f85-bbbd-d63ed5746e6a@fra3s50mta36.xt.local>
Jul 15 18:01:58 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:48725 of 48725 (83093 octets) not flushed
Jul 15 18:01:58 srv4hai postfix/qmgr[8566]: 5D9D96004D: from=, size=83518, nrcpt=1 (queue active)
Jul 15 18:01:58 srv4hai postfix/local[23843]: warning: database /etc/aliases.db is older than source file /etc/aliases
Jul 15 18:01:58 srv4hai postfix/smtpd[23839]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jul 15 18:01:58 srv4hai postfix/local[23843]: 5D9D96004D: to=, relay=local, delay=0.13, delays=0.11/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Jul 15 18:01:58 srv4hai postfix/qmgr[8566]: 5D9D96004D: removed
Jul 15 18:01:58 srv4hai fetchmail[1651]: 10453 messages (10453 seen) for srozum at mail.akis.at (1259411101 octets).
Jul 15 18:01:59 srv4hai fetchmail[1651]: 24748 messages (24748 seen) for mrozum at mail.akis.at (38148499 octets).
Jul 15 18:01:59 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 15 18:02:00 srv4hai ping_SP[19397]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721059320 - 'ping_SP_0'
Jul 15 18:02:00 srv4hai ping_SP[19397]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 15 18:02:01 srv4hai CRON[23862]: (root) CMD (/etc/linetest/linetest.sh)
Jul 15 18:02:43 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=23890, secured, session=<00P7W0sduqkAAAAAAAAAAAAAAAAAAAAB>
Jul 15 18:02:43 srv4hai dovecot: imap(miglincit)<23890><00P7W0sduqkAAAAAAAAAAAAAAAAAAAAB>: Logged out in=793 out=57214 deleted=0 expunged=0 trashed=0 hdr_count=63 hdr_bytes=28028 body_count=0 body_bytes=0
Jul 15 18:02:43 srv4hai activate_scenario[23892]: SHELLY scenario: 'pcOFF(pcoff)' started
Jul 15 18:02:43 srv4hai activate_scenario[23892]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished