activate_scenario.sh
Sat Sep 7 23:55:15 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/09/07/_0.log)

vorher: 23:55:16.142

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: 23:55:16.177
Dauer: 35 msec phName: 'shelly-12:'Schlafzimmer Licht''


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

urls : 1
vorher : 23:55:16.094
nachher: 23:55:16.184
Dauer : 92 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/07//scene_bedlight_tom_20240907_235515.txt'


syslog

Sep  7 23:52:01 srv4hai CRON[14384]: (root) CMD (/etc/linetest/linetest.sh)
Sep  7 23:52:38 srv4hai ping_SP[8743]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725745958 - 'ping_SP_0'
Sep  7 23:52:38 srv4hai ping_SP[8743]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep  7 23:53:01 srv4hai CRON[14414]: (root) CMD (/etc/linetest/linetest.sh)
Sep  7 23:53:51 srv4hai ping_SP[8743]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725746031 - 'ping_SP_0'
Sep  7 23:53:51 srv4hai ping_SP[8743]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep  7 23:54:01 srv4hai CRON[14466]: (root) CMD (/etc/linetest/linetest.sh)
Sep  7 23:54:50 srv4hai common[14501]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep  7 23:54:53 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=14520, secured, session=<1inZko4hmMgAAAAAAAAAAAAAAAAAAAAB>
Sep  7 23:54:53 srv4hai dovecot: imap(miglincit)<14520><1inZko4hmMgAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Sep  7 23:55:00 srv4hai bt_scan[14501]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Sep  7 23:55:00 srv4hai bt_scan[14501]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Sep  7 23:55:00 srv4hai common[14550]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep  7 23:55:01 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1725746101-1725746090
Sep  7 23:55:01 srv4hai check_presence[14550]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep  7 23:55:01 srv4hai check_presence[14550]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Sep  7 23:55:01 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1725746101-1725746090
Sep  7 23:55:01 srv4hai check_presence[14550]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep  7 23:55:01 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1725746101-1725746090
Sep  7 23:55:01 srv4hai check_presence[14550]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep  7 23:55:01 srv4hai check_presence[14550]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Sep  7 23:55:01 srv4hai check_presence[14550]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOff) - sceneOFF(offAll)
Sep  7 23:55:01 srv4hai check_presence[14550]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Sep  7 23:55:01 srv4hai CRON[14697]: (root) CMD (/etc/linetest/linetest.sh)
Sep  7 23:55:04 srv4hai ping_SP[8743]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1725746104 - 'ping_SP_0'
Sep  7 23:55:04 srv4hai ping_SP[8743]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Sep  7 23:55:16 srv4hai activate_scenario[14718]: SHELLY scenario: 'bedlight_tom(bedlight_tom)' started
Sep  7 23:55:16 srv4hai activate_scenario[14718]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - shelly-12:'Schlafzimmer Licht'

finished