activate_scenario.sh
Sun Jul 21 08:09:02 CEST 2024
scenario: vorraumOn
phoneName: 0

'day' <--> 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/07/21/_0.log)

vorher: 08:09:02.799

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: 08:09:02.858
Dauer: 59 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 08:09:02.762
nachher: 08:09:02.865
Dauer : 104 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/07/21//scene_vorraumOn_20240721_080902.txt'


syslog

Jul 21 08:06:01 srv4hai CRON[30623]: (root) CMD (/etc/linetest/linetest.sh)
Jul 21 08:06:43 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721542003 - 'ping_SP_1'
Jul 21 08:06:43 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 21 08:07:01 srv4hai CRON[30653]: (root) CMD (/etc/linetest/linetest.sh)
Jul 21 08:07:50 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=30673, secured, session=
Jul 21 08:07:50 srv4hai dovecot: imap(miglincit)<30673>: 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 21 08:07:56 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1721542076 - 'ping_SP_1'
Jul 21 08:07:56 srv4hai ping_SP[2979]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Jul 21 08:08:01 srv4hai CRON[30690]: (root) CMD (/etc/linetest/linetest.sh)
Jul 21 08:08:51 srv4hai common[30700]: SHELLY common.sh inkludiert von ./bt_scan.sh
Jul 21 08:09:01 srv4hai CRON[30720]: (root) CMD (/etc/linetest/linetest.sh)
Jul 21 08:09:01 srv4hai CRON[30721]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jul 21 08:09:01 srv4hai systemd[1]: Starting Clean php session files...
Jul 21 08:09:01 srv4hai systemd[1]: phpsessionclean.service: Succeeded.
Jul 21 08:09:01 srv4hai systemd[1]: Started Clean php session files.
Jul 21 08:09:01 srv4hai bt_scan[30700]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Jul 21 08:09:01 srv4hai bt_scan[30700]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Jul 21 08:09:01 srv4hai common[30842]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Jul 21 08:09:02 srv4hai ping_SP[30842]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Jul 21 08:09:02 srv4hai common[30863]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Jul 21 08:09:02 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'3'=1721542142-1721542139
Jul 21 08:09:02 srv4hai check_presence[30863]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Jul 21 08:09:02 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'3'=1721542142-1721542139
Jul 21 08:09:02 srv4hai check_presence[30863]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Jul 21 08:09:02 srv4hai check_presence[30863]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Jul 21 08:09:02 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'3'=1721542142-1721542139
Jul 21 08:09:02 srv4hai check_presence[30863]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Jul 21 08:09:02 srv4hai check_presence[30863]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(BT/__) (BT/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Jul 21 08:09:02 srv4hai check_presence[30863]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_offAll) - sceneONsmall(vorraumOn)
Jul 21 08:09:02 srv4hai check_presence[30863]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Jul 21 08:09:02 srv4hai activate_scenario[31012]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Jul 21 08:09:02 srv4hai activate_scenario[31012]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished