activate_scenario.sh
Tue Jul 23 06:47:27 CEST 2024
scenario: buero_UM
source: 192.168.12.140

'day' <--> 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/07/23/_0.log)

vorher: 06:47:28.011

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

nachher: 06:47:28.278
Dauer: 266 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 06:47:28.027

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

nachher: 06:47:28.061
Dauer: 34 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 06:47:27.986
nachher: 06:47:28.285
Dauer : 299 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/23//scene_buero_UM_20240723_064727.txt'


syslog

Jul 23 06:44:01 srv4hai CRON[29601]: (root) CMD (/etc/linetest/linetest.sh)
Jul 23 06:44:03 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721709843 - 'ping_SP_1'
Jul 23 06:44:03 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 23 06:44:33 srv4hai ping_SP[22811]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721709873 - 'ping_SP_0'
Jul 23 06:44:33 srv4hai ping_SP[22811]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 23 06:44:39 srv4hai postfix/anvil[28503]: statistics: max connection rate 1/60s for (smtp:157.52.230.223) at Jul 23 06:39:14
Jul 23 06:44:39 srv4hai postfix/anvil[28503]: statistics: max connection count 1 for (smtp:157.52.230.223) at Jul 23 06:39:14
Jul 23 06:44:39 srv4hai postfix/anvil[28503]: statistics: max cache size 1 at Jul 23 06:39:14
Jul 23 06:45:01 srv4hai CRON[29644]: (root) CMD (/etc/linetest/linetest.sh)
Jul 23 06:45:16 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721709916 - 'ping_SP_1'
Jul 23 06:45:16 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 23 06:45:47 srv4hai ping_SP[22811]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721709947 - 'ping_SP_0'
Jul 23 06:45:47 srv4hai ping_SP[22811]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 23 06:45:56 srv4hai common[29692]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 23 06:46:01 srv4hai CRON[29706]: (root) CMD (/etc/linetest/linetest.sh)
Jul 23 06:46:06 srv4hai bt_scan[29692]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jul 23 06:46:06 srv4hai bt_scan[29692]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jul 23 06:46:06 srv4hai common[29730]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 23 06:46:07 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'3'=1721709967-1721709964
Jul 23 06:46:07 srv4hai check_presence[29730]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 23 06:46:07 srv4hai check_presence[29730]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul 23 06:46:07 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'3'=1721709967-1721709964
Jul 23 06:46:07 srv4hai check_presence[29730]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 23 06:46:07 srv4hai check_presence[29730]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jul 23 06:46:07 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1721709967-1721709964
Jul 23 06:46:07 srv4hai check_presence[29730]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 23 06:46:07 srv4hai check_presence[29730]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(BT/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 23 06:46:07 srv4hai check_presence[29730]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offAll) - sceneOFF(offAll)
Jul 23 06:46:07 srv4hai check_presence[29730]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jul 23 06:46:09 srv4hai common[29889]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 23 06:46:17 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29907, secured, session=
Jul 23 06:46:17 srv4hai dovecot: imap(miglincit)<29907>: Logged out in=290 out=1641 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 23 06:46:19 srv4hai bt_scan[29889]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul 23 06:46:19 srv4hai bt_scan[29889]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jul 23 06:46:30 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721709990 - 'ping_SP_1'
Jul 23 06:46:30 srv4hai ping_SP[15063]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 23 06:46:52 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 23 06:46:53 srv4hai fetchmail[1651]: 49178 messages (49178 seen) for tmiglinci at mail.akis.at (-225477761 octets).
Jul 23 06:46:53 srv4hai fetchmail[1651]: 10494 messages (10494 seen) for srozum at mail.akis.at (1263129436 octets).
Jul 23 06:46:54 srv4hai fetchmail[1651]: 24891 messages (24891 seen) for mrozum at mail.akis.at (61849353 octets).
Jul 23 06:46:54 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 23 06:47:00 srv4hai ping_SP[22811]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1721710020 - 'ping_SP_0'
Jul 23 06:47:00 srv4hai ping_SP[22811]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 23 06:47:01 srv4hai CRON[29971]: (root) CMD (/etc/linetest/linetest.sh)
Jul 23 06:47:27 srv4hai activate_scenario[29980]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul 23 06:47:27 srv4hai activate_scenario[29980]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished