activate_scenario.sh
Sat Jul 13 19:38:10 CEST 2024
scenario: herdzeile_UM
source: 192.168.12.129

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

scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/13/_0.log)

vorher: 19:38:10.294

http://192.168.12.117/white/0?turn=toggle&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 19:38:10.339
Dauer: 45 msec phName: 'shelly-29:'Schalter Herdzeile''


Küche Licht Herdzeile (/srv/www/viehai/shelly/log_scenarios/2024/07/13/_1.log)

vorher: 19:38:10.306

http://192.168.12.117/white/1?turn=toggle&brightness=50
  "ison": true,
  "source": "http",
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "mode": "white",
  "brightness": 50,
  "transition": 0,
  "power": 0,
  "overpower": false

nachher: 19:38:10.355
Dauer: 49 msec phName: 'shelly-29:'Schalter Herdzeile''


scenario: 'Herdzeile UMschalten' - 'herdzeile_UM' - 'herdzeile_um'

urls : 2
vorher : 19:38:10.272
nachher: 19:38:10.361
Dauer : 89 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/13//scene_herdzeile_UM_20240713_193810.txt'


syslog

Jul 13 19:35:01 srv4hai CRON[29052]: (root) CMD (/etc/linetest/linetest.sh)
Jul 13 19:35:14 srv4hai ping_SP[22702]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720892114 - 'ping_SP_0'
Jul 13 19:35:14 srv4hai ping_SP[22702]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 13 19:35:27 srv4hai ping_SP[14505]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720892127 - 'ping_SP_1'
Jul 13 19:35:27 srv4hai ping_SP[14505]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 13 19:35:28 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Jul 13 19:35:29 srv4hai fetchmail[1651]: 48626 messages (48626 seen) for tmiglinci at mail.akis.at (-276262850 octets).
Jul 13 19:35:29 srv4hai fetchmail[1651]: 10446 messages (10446 seen) for srozum at mail.akis.at (1253348764 octets).
Jul 13 19:35:30 srv4hai fetchmail[1651]: 24716 messages (24716 seen) for mrozum at mail.akis.at (29368989 octets).
Jul 13 19:35:31 srv4hai fetchmail[1651]: 1139 messages (1139 seen) for admin@bastelstube.wien at pop3.world4you.com (51570784 octets).
Jul 13 19:35:40 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29103, secured, session=<5Bu3bCQdArQAAAAAAAAAAAAAAAAAAAAB>
Jul 13 19:35:40 srv4hai dovecot: imap(miglincit)<29103><5Bu3bCQdArQAAAAAAAAAAAAAAAAAAAAB>: Logged out in=583 out=1232 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jul 13 19:36:01 srv4hai CRON[29106]: (root) CMD (/etc/linetest/linetest.sh)
Jul 13 19:36:28 srv4hai ping_SP[22702]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720892188 - 'ping_SP_0'
Jul 13 19:36:28 srv4hai ping_SP[22702]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 13 19:36:40 srv4hai ping_SP[14505]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720892200 - 'ping_SP_1'
Jul 13 19:36:40 srv4hai ping_SP[14505]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 13 19:37:01 srv4hai CRON[29155]: (root) CMD (/etc/linetest/linetest.sh)
Jul 13 19:37:27 srv4hai common[29166]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 13 19:37:37 srv4hai bt_scan[29166]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Jul 13 19:37:37 srv4hai bt_scan[29166]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Jul 13 19:37:37 srv4hai common[29203]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 13 19:37:38 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1720892258-1720892248
Jul 13 19:37:38 srv4hai check_presence[29203]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Jul 13 19:37:38 srv4hai check_presence[29203]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Jul 13 19:37:38 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1720892258-1720892248
Jul 13 19:37:38 srv4hai check_presence[29203]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Jul 13 19:37:38 srv4hai check_presence[29203]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Jul 13 19:37:38 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1720892258-1720892248
Jul 13 19:37:38 srv4hai check_presence[29203]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 13 19:37:38 srv4hai check_presence[29203]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 13 19:37:38 srv4hai check_presence[29203]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Jul 13 19:37:38 srv4hai check_presence[29203]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Jul 13 19:37:41 srv4hai ping_SP[22702]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1720892261 - 'ping_SP_0'
Jul 13 19:37:41 srv4hai ping_SP[22702]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jul 13 19:37:53 srv4hai ping_SP[14505]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1720892273 - 'ping_SP_1'
Jul 13 19:37:53 srv4hai ping_SP[14505]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 13 19:38:01 srv4hai CRON[29384]: (root) CMD (/etc/linetest/linetest.sh)
Jul 13 19:38:10 srv4hai activate_scenario[29390]: SHELLY scenario: 'herdzeile_UM(herdzeile_um)' started
Jul 13 19:38:10 srv4hai activate_scenario[29390]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - shelly-29:'Schalter Herdzeile'

finished