activate_scenario.sh
Wed Sep 11 19:45:34 CEST 2024
scenario: vorraumOn
phoneName: 0

'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/09/11/_0.log)

vorher: 19:45:34.985

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: 19:45:35.036
Dauer: 51 msec phName: 'phoneName:'0''


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

urls : 1
vorher : 19:45:34.944
nachher: 19:45:35.042
Dauer : 100 msec
outfile: '/srv/www/viehai/shelly/log_scenarios/2024/09/11//scene_vorraumOn_20240911_194534.txt'


syslog

Sep 11 19:42:01 srv4hai CRON[1967]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 19:42:26 srv4hai common[1975]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 11 19:42:36 srv4hai bt_scan[1975]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'No'
Sep 11 19:42:36 srv4hai bt_scan[1975]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence
Sep 11 19:42:36 srv4hai common[2015]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 11 19:42:37 srv4hai common.sh: SHELLY: BTstatus[0]:'Off' dweetAge:'11'=1726076557-1726076546
Sep 11 19:42:37 srv4hai check_presence[2015]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_0.No
Sep 11 19:42:37 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'11'=1726076557-1726076546
Sep 11 19:42:37 srv4hai check_presence[2015]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 11 19:42:37 srv4hai check_presence[2015]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Sep 11 19:42:37 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'11'=1726076557-1726076546
Sep 11 19:42:37 srv4hai check_presence[2015]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 11 19:42:37 srv4hai check_presence[2015]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'false'
Sep 11 19:42:37 srv4hai check_presence[2015]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Sep 11 19:42:37 srv4hai check_presence[2015]: SHELLY (bt_scan)-(1)-presence: NOT activate_scenario.shtml: offAll
Sep 11 19:42:47 srv4hai ping_SP[3574]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726076567 - 'ping_SP_1'
Sep 11 19:42:47 srv4hai ping_SP[3574]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 19:43:00 srv4hai postfix/anvil[962]: statistics: max connection rate 1/60s for (smtp:80.94.92.152) at Sep 11 19:39:36
Sep 11 19:43:00 srv4hai postfix/anvil[962]: statistics: max connection count 1 for (smtp:80.94.92.152) at Sep 11 19:39:36
Sep 11 19:43:00 srv4hai postfix/anvil[962]: statistics: max cache size 1 at Sep 11 19:39:36
Sep 11 19:43:01 srv4hai CRON[2191]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 19:43:39 srv4hai common[2207]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 11 19:43:49 srv4hai bt_scan[2207]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'Yes'
Sep 11 19:43:49 srv4hai bt_scan[2207]: SHELLY - ping_SP.sh already running for BTmac: '1' - IPv4: '192.168.12.62'
Sep 11 19:43:55 srv4hai mosquitto[18551]: Saving in-memory database to /var/lib/mosquitto/mosquitto.db.
Sep 11 19:44:00 srv4hai dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=2250, secured, session=
Sep 11 19:44:00 srv4hai dovecot: imap(miglincit)<2250>: 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 11 19:44:01 srv4hai ping_SP[3574]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726076641 - 'ping_SP_1'
Sep 11 19:44:01 srv4hai ping_SP[3574]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 19:44:01 srv4hai CRON[2266]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 19:45:01 srv4hai CRON[2291]: (root) CMD (/etc/linetest/linetest.sh)
Sep 11 19:45:14 srv4hai ping_SP[3574]: SHELLY (1) - ping 192.168.12.62 1 sucessfully  @~1726076714 - 'ping_SP_1'
Sep 11 19:45:14 srv4hai ping_SP[3574]: SHELLY (1) - ping 192.168.12.62 pCnt:'1'
Sep 11 19:45:24 srv4hai common[2322]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 11 19:45:24 srv4hai common[2334]: SHELLY common.sh inkludiert von ./bt_scan.sh
Sep 11 19:45:34 srv4hai bt_scan[2322]: SHELLY - who: 'Thomas' / phoneName: 'FP4_Thomas' / '0' / shellyIP: '192.168.12.61' - found: 'Yes'
Sep 11 19:45:34 srv4hai bt_scan[2334]: SHELLY - who: 'Grete' / phoneName: 'S20_Grete' / '1' / shellyIP: '192.168.12.62' - found: 'No'
Sep 11 19:45:34 srv4hai bt_scan[2322]: SHELLY - ping_SP.sh started for BTmac: '0' - IPv4: '192.168.12.61'
Sep 11 19:45:34 srv4hai bt_scan[2334]: SHELLY - lost BT-connection to BTmac: '1' found: 'No' - check presence
Sep 11 19:45:34 srv4hai common[2396]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//ping_SP.sh
Sep 11 19:45:34 srv4hai common[2413]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 11 19:45:34 srv4hai ping_SP[2396]: SHELLY ping_SP.sh started from bt_scan, user:'www-data'
Sep 11 19:45:34 srv4hai common[2450]: SHELLY common.sh inkludiert von /srv/www/viehai/shelly//check_presence.sh
Sep 11 19:45:34 srv4hai common.sh: SHELLY: BTstatus[0]:'On' dweetAge:'4'=1726076734-1726076730
Sep 11 19:45:34 srv4hai check_presence[2413]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and On//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Sep 11 19:45:34 srv4hai common.sh: SHELLY: BTstatus[0]:'NO_BTdweet' dweetAge:''=-
Sep 11 19:45:34 srv4hai check_presence[2450]: SHELLY (0) found /srv/www/viehai/shelly//meter/ping_SP_0.TRY} and NO_BTdweet//srv/www/viehai/shelly//meter/BTscan_BTid_0.Yes
Sep 11 19:45:34 srv4hai common.sh: SHELLY: BTstatus[1]:'Off' dweetAge:'4'=1726076734-1726076730
Sep 11 19:45:34 srv4hai common.sh: SHELLY: BTstatus[1]:'NO_BTdweet' dweetAge:''=-
Sep 11 19:45:34 srv4hai check_presence[2413]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and Off//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 11 19:45:34 srv4hai check_presence[2450]: SHELLY (1) found /srv/www/viehai/shelly//meter/ping_SP_1.LIVE and NO_BTdweet//srv/www/viehai/shelly//meter/BTscan_BTid_1.No
Sep 11 19:45:34 srv4hai check_presence[2413]: SHELLY (bt_scan)-(1) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'presence'
Sep 11 19:45:34 srv4hai check_presence[2450]: SHELLY (ping_SP__bt_scan)-(0) found '/srv/www/viehai/shelly//meter/ping_SP_1.LIVE' for what: 'coming'
Sep 11 19:45:34 srv4hai common.sh: SHELLY: BTstatus[2]:'NO_BTdweet' dweetAge:''=-
Sep 11 19:45:34 srv4hai common.sh: SHELLY: BTstatus[2]:'Off' dweetAge:'4'=1726076734-1726076730
Sep 11 19:45:34 srv4hai check_presence[2450]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and NO_BTdweet//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 11 19:45:34 srv4hai check_presence[2450]: SHELLY (ping_SP__bt_scan)-(0) what: 'coming' - persPresent: '(__/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 11 19:45:34 srv4hai check_presence[2413]: SHELLY (2) found /srv/www/viehai/shelly//meter/ping_SP_2.DEAD and Off//srv/www/viehai/shelly//meter/BTscan_BTid_2.No
Sep 11 19:45:34 srv4hai check_presence[2413]: SHELLY (bt_scan)-(1) what: 'presence' - persPresent: '(BT/__) (__/LIVE) (__/__)' - anyPresent: 'true' - otherPresent:'true'
Sep 11 19:45:34 srv4hai check_presence[2450]: SHELLY - check 'coming': anyPresent(true) - lScene(scene_vorraumOn) - sceneONsmall(vorraumOn)
Sep 11 19:45:34 srv4hai check_presence[2450]: SHELLY (ping_SP__bt_scan)-(0)-coming: activate_scenario.shtml: vorraumOn
Sep 11 19:45:34 srv4hai check_presence[2413]: SHELLY - check 'presence': anyPresent(true) - lScene(scene_vorraumOn) - sceneOFF(offAll)
Sep 11 19:45:34 srv4hai check_presence[2413]: SHELLY (bt_scan)-(1)-presence: NOT activate_scenario.shtml: offAll
Sep 11 19:45:34 srv4hai activate_scenario[2691]: SHELLY scenario: 'vorraumOn(vorraumon)' started
Sep 11 19:45:34 srv4hai activate_scenario[2691]: SHELLY dayState='night' <--> DayTime=checked NightTime=checked - phoneName:'0'

finished