activate_scenario.sh
Fri Jul 5 07:34:44 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/05/_0.log)

vorher: 07:34:44.080

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: 07:34:44.317
Dauer: 238 msec phName: 'shelly-40:'Thomas Büro Licht''


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

vorher: 07:34:44.092

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: 07:34:44.125
Dauer: 33 msec phName: 'shelly-40:'Thomas Büro Licht''


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

urls : 2
vorher : 07:34:44.061
nachher: 07:34:44.325
Dauer : 264 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/05//scene_buero_UM_20240705_073443.txt'


syslog

Jul  5 07:31:01 srv4hai CRON[15134]: (root) CMD (/etc/linetest/linetest.sh)
Jul  5 07:31:07 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul  5 07:31:08 srv4hai fetchmail[1651]: 48016 messages (48016 seen) for tmiglinci at mail.akis.at (-327747904 octets).
Jul  5 07:31:08 srv4hai fetchmail[1651]: 10407 messages (10407 seen) for srozum at mail.akis.at (1250053912 octets).
Jul  5 07:31:08 srv4hai fetchmail[1651]: 24566 messages (24566 seen) for mrozum at mail.akis.at (10478573 octets).
Jul  5 07:31:09 srv4hai fetchmail[1651]: 1138 messages (1138 seen) for admin@bastelstube.wien at pop3.world4you.com (51557211 octets).
Jul  5 07:31:21 srv4hai common[15151]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul  5 07:31:23 srv4hai ping_SP[14326]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720157483 - 'ping_SP_0'
Jul  5 07:31:23 srv4hai ping_SP[14326]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  5 07:31:26 srv4hai ping_SP[1535]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720157486 - 'ping_SP_1'
Jul  5 07:31:26 srv4hai ping_SP[1535]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  5 07:31:31 srv4hai bt_scan[15151]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jul  5 07:31:31 srv4hai bt_scan[15151]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jul  5 07:31:31 srv4hai common[15212]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul  5 07:31:32 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1720157492-1720157481
Jul  5 07:31:32 srv4hai check_presence[15212]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul  5 07:31:32 srv4hai check_presence[15212]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul  5 07:31:32 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1720157492-1720157481
Jul  5 07:31:32 srv4hai check_presence[15212]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jul  5 07:31:32 srv4hai check_presence[15212]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jul  5 07:31:32 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1720157492-1720157481
Jul  5 07:31:32 srv4hai check_presence[15212]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.Yes
Jul  5 07:31:32 srv4hai check_presence[15212]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul  5 07:31:32 srv4hai check_presence[15212]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_offAll) - sceneOFF(offAll)
Jul  5 07:31:32 srv4hai check_presence[15212]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jul  5 07:32:01 srv4hai CRON[15363]: (root) CMD (/etc/linetest/linetest.sh)
Jul  5 07:32:37 srv4hai ping_SP[14326]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720157557 - 'ping_SP_0'
Jul  5 07:32:37 srv4hai ping_SP[14326]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  5 07:32:39 srv4hai ping_SP[1535]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720157559 - 'ping_SP_1'
Jul  5 07:32:39 srv4hai ping_SP[1535]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  5 07:32:47 srv4hai common[15413]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul  5 07:32:57 srv4hai bt_scan[15413]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul  5 07:32:57 srv4hai bt_scan[15413]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Jul  5 07:33:01 srv4hai CRON[15450]: (root) CMD (/etc/linetest/linetest.sh)
Jul  5 07:33:12 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=15457, secured, session=
Jul  5 07:33:12 srv4hai dovecot: imap(miglincit)<15457>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul  5 07:33:50 srv4hai ping_SP[14326]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720157630 - 'ping_SP_0'
Jul  5 07:33:50 srv4hai ping_SP[14326]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul  5 07:33:53 srv4hai ping_SP[1535]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720157633 - 'ping_SP_1'
Jul  5 07:33:53 srv4hai ping_SP[1535]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul  5 07:34:01 srv4hai CRON[15504]: (root) CMD (/etc/linetest/linetest.sh)
Jul  5 07:34:44 srv4hai activate_scenario[15516]: SHELLY scenario: 'buero_UM(buero_um)' started
Jul  5 07:34:44 srv4hai activate_scenario[15516]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-40:'Thomas Büro Licht'

finished