activate_scenario.sh
Mon Jul 29 21:49:19 CEST 2024
scenario: bedlight_tom
source: 192.168.12.112

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'null'

scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

Nachtkästchen Lampe Thomas (/srv/www/viehai/shelly/log_scenarios/2024/07/29/_0.log)

vorher: 21:49:19.950

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

nachher: 21:49:19.989
Dauer: 40 msec phName: 'shelly-12:'Schlafzimmer Licht''


scenario: 'Nachttischlampe Thomas UM-schalten' - 'bedlight_tom' - 'bedlight_tom'

urls : 1
vorher : 21:49:19.929
nachher: 21:49:19.996
Dauer : 67 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/29//scene_bedlight_tom_20240729_214919.txt'


syslog

Jul 29 21:46:01 srv4hai CRON[11092]: (root) CMD (/etc/linetest/linetest.sh)
Jul 29 21:46:17 srv4hai common[11101]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 29 21:46:17 srv4hai named[30406]: resolver priming query complete
Jul 29 21:46:27 srv4hai bt_scan[11101]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jul 29 21:46:27 srv4hai bt_scan[11101]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jul 29 21:46:27 srv4hai common[11133]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 29 21:46:27 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1722282387-1722282377
Jul 29 21:46:27 srv4hai check_presence[11133]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 29 21:46:27 srv4hai check_presence[11133]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul 29 21:46:27 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1722282387-1722282377
Jul 29 21:46:27 srv4hai check_presence[11133]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 29 21:46:27 srv4hai check_presence[11133]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jul 29 21:46:27 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1722282387-1722282377
Jul 29 21:46:27 srv4hai check_presence[11133]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 29 21:46:27 srv4hai check_presence[11133]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 29 21:46:27 srv4hai check_presence[11133]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Jul 29 21:46:27 srv4hai check_presence[11133]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jul 29 21:46:47 srv4hai named[30406]: resolver priming query complete
Jul 29 21:47:01 srv4hai CRON[11301]: (root) CMD (/etc/linetest/linetest.sh)
Jul 29 21:47:02 srv4hai ping_SP[27992]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722282422 - 'ping_SP_1'
Jul 29 21:47:02 srv4hai ping_SP[27992]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 29 21:47:11 srv4hai ping_SP[27800]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722282431 - 'ping_SP_0'
Jul 29 21:47:11 srv4hai ping_SP[27800]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 29 21:47:19 srv4hai named[30406]: resolver priming query complete
Jul 29 21:47:45 srv4hai named[30406]: resolver priming query complete
Jul 29 21:47:47 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=11358, secured, session=
Jul 29 21:47:47 srv4hai dovecot: imap(miglincit)<11358>: 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 29 21:48:01 srv4hai CRON[11366]: (root) CMD (/etc/linetest/linetest.sh)
Jul 29 21:48:15 srv4hai ping_SP[27992]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1722282495 - 'ping_SP_1'
Jul 29 21:48:15 srv4hai ping_SP[27992]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 29 21:48:24 srv4hai ping_SP[27800]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1722282504 - 'ping_SP_0'
Jul 29 21:48:24 srv4hai ping_SP[27800]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 29 21:48:51 srv4hai named[30406]: resolver priming query complete
Jul 29 21:49:01 srv4hai CRON[11426]: (root) CMD (/etc/linetest/linetest.sh)
Jul 29 21:49:19 srv4hai activate_scenario[11442]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Jul 29 21:49:19 srv4hai activate_scenario[11442]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished