activate_scenario.sh
Mon Jun 10 22:25:42 CEST 2024
scenario: vorraumOn
phoneName: 1

'night' <--> DayTime=checked , NightTime=checked
-> execution of scenario
-> sending email(s) to 'thomas@miglinci.name'

scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

Licht Vorzimmer (/srv/www/viehai/shelly/log_scenarios/2024/06/10/_0.log)

vorher: 22:25:43.075

http://192.168.12.103/relay/0?turn=on
  "ison": true,
  "has_timer": false,
  "timer_started": 0,
  "timer_duration": 0,
  "timer_remaining": 0,
  "overpower": false,
  "source": "input"

nachher: 22:25:43.106
Dauer: 30 msec phName: 'phoneName:'1''


scenario: 'Vorzimmer EIN' - 'vorraumOn' - 'vorraumon'

urls : 1
vorher : 22:25:43.031
nachher: 22:25:43.112
Dauer : 83 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/06/10//scene_vorraumOn_20240610_222542.txt'


syslog

Jun 10 22:22:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19035, secured, session=
Jun 10 22:22:01 srv4hai dovecot: imap(miglincit)<19035>: Logged out in=310 out=1337 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun 10 22:22:01 srv4hai CRON[19037]: (root) CMD (/etc/linetest/linetest.sh)
Jun 10 22:22:09 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718050929 - 'ping_SP_0'
Jun 10 22:22:09 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 10 22:23:01 srv4hai CRON[19062]: (root) CMD (/etc/linetest/linetest.sh)
Jun 10 22:23:22 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718051002 - 'ping_SP_0'
Jun 10 22:23:22 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 10 22:24:01 srv4hai CRON[19096]: (root) CMD (/etc/linetest/linetest.sh)
Jun 10 22:24:35 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1718051075 - 'ping_SP_0'
Jun 10 22:24:35 srv4hai ping_SP[1688]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Jun 10 22:25:01 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=19131, secured, session=<7KWV8Y4aDJcAAAAAAAAAAAAAAAAAAAAB>
Jun 10 22:25:01 srv4hai dovecot: imap(miglincit)<19131><7KWV8Y4aDJcAAAAAAAAAAAAAAAAAAAAB>: Logged out in=137 out=1088 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Jun 10 22:25:01 srv4hai CRON[19133]: (root) CMD (/etc/linetest/linetest.sh)
Jun 10 22:25:18 srv4hai postfix/anvil[19029]: statistics: max connection rate 1/60s for (smtp:193.32.162.74) at Jun 10 22:21:57
Jun 10 22:25:18 srv4hai postfix/anvil[19029]: statistics: max connection count 1 for (smtp:193.32.162.74) at Jun 10 22:21:57
Jun 10 22:25:18 srv4hai postfix/anvil[19029]: statistics: max cache size 1 at Jun 10 22:21:57
Jun 10 22:25:32 srv4hai common[19144]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jun 10 22:25:42 srv4hai bt_scan[19144]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Jun 10 22:25:42 srv4hai bt_scan[19144]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Jun 10 22:25:42 srv4hai common[19181]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jun 10 22:25:42 srv4hai ping_SP[19181]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jun 10 22:25:42 srv4hai common[19202]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jun 10 22:25:42 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'10'=1718051142-1718051132
Jun 10 22:25:42 srv4hai check_presence[19202]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Jun 10 22:25:42 srv4hai check_presence[19202]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Jun 10 22:25:42 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1718051142-1718051132
Jun 10 22:25:42 srv4hai check_presence[19202]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jun 10 22:25:42 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'10'=1718051142-1718051132
Jun 10 22:25:42 srv4hai check_presence[19202]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jun 10 22:25:42 srv4hai check_presence[19202]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(BT/LIVE) (BT/__) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jun 10 22:25:42 srv4hai check_presence[19202]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_nasszeile_um) - sceneONsmall(vorraumOn)
Jun 10 22:25:42 srv4hai check_presence[19202]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Jun 10 22:25:42 srv4hai activate_scenario[19350]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jun 10 22:25:42 srv4hai activate_scenario[19350]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished