activate_scenario.sh
Sat Feb 10 22:41:11 CET 2024
scenario: buero_UM
source: 192.168.12.140

'night' <--> 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/02/10/_0.log)

vorher: 22:41:11.224

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

nachher: 22:41:11.275
Dauer: 51 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 22:41:11.239

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

nachher: 22:41:11.271
Dauer: 33 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 22:41:11.204
nachher: 22:41:11.284
Dauer : 81 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/02/10//scene_buero_UM_20240210_224111.txt'


syslog

Feb 10 22:38:01 srv4hai CRON[27228]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 22:38:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27235, secured, session=
Feb 10 22:38:04 srv4hai dovecot: imap(miglincit)<27235>: Logged out in=499 out=1231 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 10 22:38:47 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Feb 10 22:38:48 srv4hai fetchmail[1651]: 37839 messages (37839 seen) for tmiglinci at mail.akis.at (-1171258772 octets).
Feb 10 22:38:48 srv4hai fetchmail[1651]: 9884 messages (9884 seen) for srozum at mail.akis.at (1192891364 octets).
Feb 10 22:38:49 srv4hai fetchmail[1651]: 21580 messages (21580 seen) for mrozum at mail.akis.at (-591017502 octets).
Feb 10 22:38:49 srv4hai fetchmail[1651]: 45 messages (45 seen) for admin@bastelstube.wien at pop3.world4you.com (12035480 octets).
Feb 10 22:38:58 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707601138 - 'ping_SP_0'
Feb 10 22:38:58 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 22:39:00 srv4hai systemd[1]: Starting Clean php session files...
Feb 10 22:39:00 srv4hai common[27264]: SHELLY common.sh inkludiert
Feb 10 22:39:00 srv4hai bt_scan[27264]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'No'
Feb 10 22:39:00 srv4hai bt_scan[27264]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Feb 10 22:39:00 srv4hai common[27298]: SHELLY common.sh inkludiert
Feb 10 22:39:00 srv4hai check_presence[27298]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/IP) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Feb 10 22:39:00 srv4hai check_presence[27298]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Feb 10 22:39:00 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Feb 10 22:39:00 srv4hai systemd[1]: Started Clean php session files.
Feb 10 22:39:01 srv4hai CRON[27423]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb 10 22:39:01 srv4hai CRON[27424]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 22:39:02 srv4hai postfix/anvil[26903]: statistics: max connection rate 1/60s for (smtp:193.222.96.116) at Feb 10 22:32:29
Feb 10 22:39:02 srv4hai postfix/anvil[26903]: statistics: max connection count 1 for (smtp:193.222.96.116) at Feb 10 22:32:29
Feb 10 22:39:02 srv4hai postfix/anvil[26903]: statistics: max cache size 1 at Feb 10 22:32:29
Feb 10 22:39:38 srv4hai common[27437]: SHELLY common.sh inkludiert
Feb 10 22:39:38 srv4hai bt_scan[27437]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / fixAddr: '192.168.12.61;' - found: 'Yes'
Feb 10 22:39:38 srv4hai bt_scan[27437]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Feb 10 22:40:01 srv4hai CRON[27481]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 22:40:01 srv4hai CRON[27482]: (www-data) CMD (/srv/www/viehai/shelly/meter.sh)
Feb 10 22:40:01 srv4hai meter.sh: SHELLY meter.sh started
Feb 10 22:40:01 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707601201 - 'ping_SP_0'
Feb 10 22:40:01 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 22:40:09 srv4hai meter.sh: SHELLY 'shelly-13/Thomas Taster':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:11 srv4hai meter.sh: SHELLY 'shelly-14/AUS-Schalter':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:14 srv4hai meter.sh: SHELLY 'shelly-37/Wetter 1':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:16 srv4hai meter.sh: SHELLY 'shelly-38/Wetterwerte Innen':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:19 srv4hai meter.sh: SHELLY 'shelly-39/Wetterwerte Balkon':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:22 srv4hai meter.sh: SHELLY 'shelly-58/Werkstatt Licht':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:24 srv4hai meter.sh: SHELLY 'shelly-18/18-Test Farbige LED':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:27 srv4hai meter.sh: SHELLY 'shelly-15/15-Test Weiss':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:29 srv4hai meter.sh: SHELLY 'shelly-30/30-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:32 srv4hai meter.sh: SHELLY 'shelly-31/31-Test i3':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:34 srv4hai meter.sh: SHELLY 'shelly-32/32-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:37 srv4hai meter.sh: SHELLY 'shelly-33/33-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:39 srv4hai meter.sh: SHELLY 'shelly-36/36-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:42 srv4hai meter.sh: SHELLY 'shelly-47/47-plus1-Test':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:45 srv4hai meter.sh: SHELLY 'shelly-26/20230404 - kein WLAN':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=27993, secured, session=<+B/E5Q0RetUAAAAAAAAAAAAAAAAAAAAB>
Feb 10 22:40:47 srv4hai dovecot: imap(miglincit)<27993><+B/E5Q0RetUAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 10 22:40:47 srv4hai meter.sh: SHELLY 'shelly-27/Schalter Herdzeile - Defekt WLAN 20230417':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:48 srv4hai dovecot: imap(miglincit)<5700>: Connection closed (close finished 0.014 secs ago) in=11877 out=1426406 deleted=0 expunged=0 trashed=0 hdr_count=41 hdr_bytes=14056 body_count=41 body_bytes=1295353
Feb 10 22:40:48 srv4hai activate_scenario[28007]: SHELLY scenario: 'pcOFF(pcoff)' started
Feb 10 22:40:48 srv4hai activate_scenario[28007]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-0:''
Feb 10 22:40:48 srv4hai activate_scenario[28007]: SHELLY scenario: 'pcOFF(pcoff)' TO BE EXECUTED, shelly-0:''
Feb 10 22:40:48 srv4hai postfix/pickup[15728]: ACF3560244: uid=33 from=
Feb 10 22:40:48 srv4hai postfix/cleanup[28061]: ACF3560244: message-id=<20240210214048.ACF3560244@mail.viehai.at>
Feb 10 22:40:48 srv4hai postfix/qmgr[28610]: ACF3560244: from=, size=7756, nrcpt=1 (queue active)
Feb 10 22:40:48 srv4hai activate_scenario[28007]: SHELLY: scenario: 'pcOFF(pcoff)'-'shelly-20'-'Thomas Schreibtischlampe' --> '0?turn=off'
Feb 10 22:40:48 srv4hai proc_url[28088]: SHELLY: OF:'/srv/www/viehai/shelly/log_scenarios/2024/02/10/_0.log' - shellyUsage:'Thomas Schreibtischlampe' - scUrl:'http://192.168.12.120/relay/0?turn=off' - phName:'shelly-0:'''
Feb 10 22:40:48 srv4hai postfix/local[28079]: ACF3560244: to=, orig_to=, relay=local, delay=0.07, delays=0.05/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "null")
Feb 10 22:40:48 srv4hai postfix/cleanup[28061]: B917360245: message-id=<20240210214048.B917360245@mail.viehai.at>
Feb 10 22:40:48 srv4hai postfix/bounce[28084]: ACF3560244: sender non-delivery notification: B917360245
Feb 10 22:40:48 srv4hai postfix/qmgr[28610]: B917360245: from=<>, size=9635, nrcpt=1 (queue active)
Feb 10 22:40:48 srv4hai postfix/qmgr[28610]: ACF3560244: removed
Feb 10 22:40:48 srv4hai postfix/local[28079]: B917360245: to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 10 22:40:48 srv4hai postfix/qmgr[28610]: B917360245: removed
Feb 10 22:40:48 srv4hai activate_scenario[28007]: SHELLY scenario: 'pcOFF(pcoff)' took 84 msec, shelly-0:''
Feb 10 22:40:50 srv4hai meter.sh: SHELLY 'shelly-21/Badezimmer - 20230720 - WLAN Problem':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:52 srv4hai meter.sh: SHELLY 'shelly-11/Ausgangstransistor defekt 20230722':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:55 srv4hai meter.sh: SHELLY 'shelly-43/43-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:40:57 srv4hai meter.sh: SHELLY 'shelly-44/44-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:41:00 srv4hai meter.sh: SHELLY 'shelly-45/45-TBD':  OFFLINE, resp. not answering within connect-timeout 2.500000s
Feb 10 22:41:00 srv4hai meter.sh: SHELLY meter.sh ended
Feb 10 22:41:00 srv4hai postfix/pickup[15728]: 7B72F60244: uid=33 from=
Feb 10 22:41:00 srv4hai postfix/cleanup[28061]: 7B72F60244: message-id=<20240210214100.7B72F60244@mail.viehai.at>
Feb 10 22:41:00 srv4hai CRON[28204]: (root) CMD (/etc/linetest/linetest.sh)
Feb 10 22:41:00 srv4hai postfix/qmgr[28610]: 7B72F60244: from=, size=654, nrcpt=1 (queue active)
Feb 10 22:41:00 srv4hai postfix/local[28079]: 7B72F60244: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Feb 10 22:41:00 srv4hai postfix/qmgr[28610]: 7B72F60244: removed
Feb 10 22:41:04 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=28222, secured, session=
Feb 10 22:41:04 srv4hai dovecot: imap(miglincit)<28222>: Logged out in=137 out=1087 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 10 22:41:05 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1707601265 - 'ping_SP_0'
Feb 10 22:41:05 srv4hai ping_SP[18620]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Feb 10 22:41:11 srv4hai activate_scenario[28247]: SHELLY scenario: 'buero_UM(buero_um)' started
Feb 10 22:41:11 srv4hai activate_scenario[28247]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished