activate_scenario.sh
Mon Jun 17 12:19:47 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/06/17/_0.log)

vorher: 12:19:47.907

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:19:48.019
Dauer: 112 msec phName: 'shelly-0:'''


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

urls : 1
vorher : 12:19:47.885
nachher: 12:19:48.025
Dauer : 141 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/17//scene_pcOFF_20240617_121947.txt'


syslog

Jun 17 12:16:01 srv4hai CRON[17228]: (root) CMD (/etc/linetest/linetest.sh)
Jun 17 12:16:27 srv4hai ping_SP[9083]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718619387 - 'ping_SP_0'
Jun 17 12:16:27 srv4hai ping_SP[9083]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 17 12:16:32 srv4hai common[17266]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 17 12:16:42 srv4hai bt_scan[17266]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jun 17 12:16:42 srv4hai bt_scan[17266]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jun 17 12:16:42 srv4hai common[17300]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 17 12:16:43 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1718619403-1718619392
Jun 17 12:16:43 srv4hai check_presence[17300]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jun 17 12:16:43 srv4hai check_presence[17300]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jun 17 12:16:43 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1718619403-1718619392
Jun 17 12:16:43 srv4hai check_presence[17300]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jun 17 12:16:43 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1718619403-1718619392
Jun 17 12:16:43 srv4hai check_presence[17300]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 17 12:16:43 srv4hai check_presence[17300]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Jun 17 12:16:43 srv4hai check_presence[17300]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offAll) - sceneOFF(offAll)
Jun 17 12:16:43 srv4hai check_presence[17300]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jun 17 12:17:01 srv4hai CRON[17451]: (root) CMD (/etc/linetest/linetest.sh)
Jun 17 12:17:01 srv4hai CRON[17452]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jun 17 12:17:40 srv4hai ping_SP[9083]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718619460 - 'ping_SP_0'
Jun 17 12:17:40 srv4hai ping_SP[9083]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 17 12:17:57 srv4hai common[17497]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 17 12:18:01 srv4hai CRON[17512]: (root) CMD (/etc/linetest/linetest.sh)
Jun 17 12:18:07 srv4hai bt_scan[17497]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jun 17 12:18:07 srv4hai bt_scan[17497]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jun 17 12:18:15 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jun 17 12:18:15 srv4hai fetchmail[1651]: 46587 messages (46587 seen) for tmiglinci at mail.akis.at (-450917215 octets).
Jun 17 12:18:16 srv4hai fetchmail[1651]: 10338 messages (10338 seen) for srozum at mail.akis.at (1245081547 octets).
Jun 17 12:18:16 srv4hai fetchmail[1651]: 24157 messages (24157 seen) for mrozum at mail.akis.at (-126334493 octets).
Jun 17 12:18:17 srv4hai fetchmail[1651]: 1135 messages (1135 seen) for admin@bastelstube.wien at pop3.world4you.com (51504712 octets).
Jun 17 12:18:19 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=17549, secured, session=
Jun 17 12:18:19 srv4hai dovecot: imap(miglincit)<17549>: Logged out in=394 out=1233 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun 17 12:18:53 srv4hai ping_SP[9083]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718619533 - 'ping_SP_0'
Jun 17 12:18:53 srv4hai ping_SP[9083]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 17 12:19:01 srv4hai CRON[17582]: (root) CMD (/etc/linetest/linetest.sh)
Jun 17 12:19:47 srv4hai common[17603]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 17 12:19:47 srv4hai activate_scenario[17617]: SHELLY scenario: 'pcOFF(pcoff)' started
Jun 17 12:19:47 srv4hai activate_scenario[17617]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-0:''

finished