activate_scenario.sh
Sun Dec 29 08:07:11 CET 2024
scenario: vorraumOn
phoneName: 1

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

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

VZ Licht (/srv/www/viehai/shelly/log_scenarios/2024/12/29/_0.log)

vorher: 08:07:11.206

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": "http"

nachher: 08:07:11.346
Dauer: 140 msec phName: 'phoneName:'1''


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

urls : 1
vorher : 08:07:11.187
nachher: 08:07:11.352
Dauer : 166 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/12/29//scene_vorraumOn_20241229_080711.txt'


syslog

Dec 29 08:04:01 srv4hai CRON[18856]: (root) CMD (/etc/linetest/linetest.sh)
Dec 29 08:05:01 srv4hai CRON[18909]: (root) CMD (/etc/linetest/linetest.sh)
Dec 29 08:05:03 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735455903 - 'ping_SP_0'
Dec 29 08:05:03 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 29 08:05:06 srv4hai common[18931]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 29 08:05:16 srv4hai bt_scan[18931]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'No'
Dec 29 08:05:16 srv4hai bt_scan[18931]: SHELLY - lost BT-connection to BTmac: '0' found: 'No' - check presence
Dec 29 08:05:17 srv4hai common[18971]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Dec 29 08:05:17 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1735455917-1735455907
Dec 29 08:05:17 srv4hai check_presence[18971]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Dec 29 08:05:17 srv4hai check_presence[18971]: SHELLY (bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'presence'
Dec 29 08:05:17 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'10'=1735455917-1735455907
Dec 29 08:05:17 srv4hai check_presence[18971]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Dec 29 08:05:17 srv4hai check_presence[18971]: SHELLY (bt_scan)-(0) what: 'presence' - persPresent: '(__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Dec 29 08:05:17 srv4hai check_presence[18971]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_nasszeile_um) - sceneOFF(offAll)
Dec 29 08:05:17 srv4hai check_presence[18971]: SHELLY (bt_scan)-(0)-presence: NOT activate_scenario.shtml: offAll
Dec 29 08:06:01 srv4hai CRON[19115]: (root) CMD (/etc/linetest/linetest.sh)
Dec 29 08:06:16 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 1 sucessfully  @~1735455976 - 'ping_SP_0'
Dec 29 08:06:16 srv4hai ping_SP[27294]: SHELLY (0) - ping 192.168.12.61 pCnt:'1'
Dec 29 08:06:16 srv4hai common[19151]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 29 08:06:17 srv4hai fetchmail[1651]: 7 messages (7 seen) for rozmig at mail.akis.at (1753652 octets).
Dec 29 08:06:18 srv4hai fetchmail[1651]: 60332 messages (60330 seen) for tmiglinci at mail.akis.at (661336366 octets).
Dec 29 08:06:18 srv4hai postfix/smtpd[19164]: connect from localhost[127.0.0.1]
Dec 29 08:06:18 srv4hai postfix/smtpd[19164]: 24DD0631BE: client=localhost[127.0.0.1]
Dec 29 08:06:18 srv4hai postfix/cleanup[19167]: 24DD0631BE: message-id=<3c2a1607-a1bc-4696-b1ac-c97ae4b98b50@dfw1s10mta405.xt.local>
Dec 29 08:06:18 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:60331 of 60332 (75612 octets) not flushed
Dec 29 08:06:18 srv4hai postfix/qmgr[8566]: 24DD0631BE: from=, size=75974, nrcpt=1 (queue active)
Dec 29 08:06:18 srv4hai postfix/local[19170]: 24DD0631BE: to=, relay=local, delay=0.11, delays=0.09/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec 29 08:06:18 srv4hai postfix/qmgr[8566]: 24DD0631BE: removed
Dec 29 08:06:18 srv4hai postfix/smtpd[19164]: 42816631BE: client=localhost[127.0.0.1]
Dec 29 08:06:18 srv4hai postfix/cleanup[19167]: 42816631BE: message-id=<202429120704.1h72l1ielziewbj@news.betterplace.org>
Dec 29 08:06:18 srv4hai postfix/qmgr[8566]: 42816631BE: from=, size=82095, nrcpt=1 (queue active)
Dec 29 08:06:18 srv4hai fetchmail[1651]: reading message tmiglinci@mail.akis.at:60332 of 60332 (81817 octets) not flushed
Dec 29 08:06:18 srv4hai postfix/smtpd[19164]: disconnect from localhost[127.0.0.1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
Dec 29 08:06:18 srv4hai postfix/local[19170]: 42816631BE: to=, relay=local, delay=0.08, delays=0.06/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec 29 08:06:18 srv4hai postfix/qmgr[8566]: 42816631BE: removed
Dec 29 08:06:18 srv4hai fetchmail[1651]: 11302 messages (11302 seen) for srozum at mail.akis.at (1353284079 octets).
Dec 29 08:06:19 srv4hai fetchmail[1651]: 28083 messages (28082 seen) for mrozum at mail.akis.at (525443119 octets).
Dec 29 08:06:19 srv4hai postfix/smtpd[19164]: connect from localhost[127.0.0.1]
Dec 29 08:06:19 srv4hai postfix/smtpd[19164]: 5369E631BE: client=localhost[127.0.0.1]
Dec 29 08:06:19 srv4hai postfix/cleanup[19167]: 5369E631BE: message-id=<66ff1d42-b17d-43b8-b13b-3adb0b8bfd52@dfw1s10mta411.xt.local>
Dec 29 08:06:19 srv4hai fetchmail[1651]: reading message mrozum@mail.akis.at:28083 of 28083 (75842 octets) not flushed
Dec 29 08:06:19 srv4hai postfix/qmgr[8566]: 5369E631BE: from=, size=76198, nrcpt=1 (queue active)
Dec 29 08:06:19 srv4hai postfix/smtpd[19164]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Dec 29 08:06:19 srv4hai postfix/local[19170]: 5369E631BE: to=, relay=local, delay=0.09, delays=0.07/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /bin/procmail)
Dec 29 08:06:19 srv4hai postfix/qmgr[8566]: 5369E631BE: removed
Dec 29 08:06:19 srv4hai fetchmail[1651]: 1162 messages (1162 seen) for admin@bastelstube.wien at pop3.world4you.com (52206525 octets).
Dec 29 08:06:26 srv4hai bt_scan[19151]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Dec 29 08:06:26 srv4hai bt_scan[19151]: SHELLY - ping_SP.sh already running for BTmac: '0' - IPv4: '192.168.12.61'
Dec 29 08:06:49 srv4hai postfix/anvil[18809]: statistics: max connection rate 1/60s for (smtp:80.94.95.239) at Dec 29 08:03:25
Dec 29 08:06:49 srv4hai postfix/anvil[18809]: statistics: max connection count 1 for (smtp:80.94.95.239) at Dec 29 08:03:25
Dec 29 08:06:49 srv4hai postfix/anvil[18809]: statistics: max cache size 1 at Dec 29 08:03:25
Dec 29 08:07:00 srv4hai common[19221]: SHELLY common.sh inkludiert von ./bt_scan.sh
Dec 29 08:07:01 srv4hai CRON[19235]: (root) CMD (/etc/linetest/linetest.sh)
Dec 29 08:07:10 srv4hai bt_scan[19221]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Dec 29 08:07:10 srv4hai bt_scan[19221]: SHELLY - ping_SP.sh started for BTmac: '1' - IPv4: '192.168.12.62'
Dec 29 08:07:10 srv4hai common[19263]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Dec 29 08:07:10 srv4hai ping_SP[19263]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Dec 29 08:07:10 srv4hai common[19284]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Dec 29 08:07:10 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'10'=1735456030-1735456020
Dec 29 08:07:10 srv4hai check_presence[19284]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Dec 29 08:07:10 srv4hai check_presence[19284]: SHELLY (ping_SP__bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_0.LIVE' for what: 'coming'
Dec 29 08:07:10 srv4hai common.sh: SHELLY: BTstatus[1]:'On' dweetAge:'10'=1735456030-1735456020
Dec 29 08:07:10 srv4hai check_presence[19284]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_1.Yes
Dec 29 08:07:11 srv4hai check_presence[19284]: SHELLY (ping_SP__bt_scan)-(1) what: 'coming' - persPresent: '(__/LIVE) (BT/__)' - anyPresent: 'true' - otherPresent:'true'
Dec 29 08:07:11 srv4hai check_presence[19284]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_nasszeile_um) - sceneONsmall(vorraumOn)
Dec 29 08:07:11 srv4hai check_presence[19284]: SHELLY (ping_SP__bt_scan)-(1)-coming: activate_scenario.shtml: vorraumOn
Dec 29 08:07:11 srv4hai activate_scenario[19397]: SHELLY last scenario: 'nasszeile_um' @ '072952' from 'scene_nasszeile_um_20241229_072952.txt' - delta=41
Dec 29 08:07:11 srv4hai activate_scenario[19397]:        dateutils.ddiff -i '%Y%m%d%H%M%s' 20241229080711 20241229072952  -f '%S'
Dec 29 08:07:11 srv4hai activate_scenario[19397]: SHELLY  new scenario: 'vorraumOn' different - GO ON
Dec 29 08:07:11 srv4hai activate_scenario[19397]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Dec 29 08:07:11 srv4hai activate_scenario[19397]: SHELLY dayState='day' <--> DayTime=checked NightTime=checked - phoneName:'1'

finished