fixtse / blueprints

Plantillas para Home Assistant
MIT License
7 stars 5 forks source link

Update Espresense Tolerance Blueprint to better support Bermuda BLE project #2

Open markmghali opened 3 months ago

markmghali commented 3 months ago

Absolutely love all the videos and blogs! I created the ultimate template presence sensor using your guides and tried using it with Bermuda instead of Espresense. Could you update or make a new blueprint for Bermuda tolerance automations?

Referring to this yaml here: espresense_detection.yaml

I did trying to take over the blueprint with the new HA 2024.7 Update and that has worked okay. But I feel like I am missing some elements of it. I attached my yaml of the adjusted automation. I'd love to help test or troubleshoot if you need anything from me.

I think Bermuda uses unknown instead of away. So I edited the blueprint, BLE Dropdown, and the presence template to use unknown instead of away .

Thank you Bermuda Tolerance attempt.zip

fixtse commented 3 months ago

Hey Mark, I added a new blueprint based on what you mentioned, https://github.com/fixtse/blueprints/blob/main/bluetooth_presense_detection.yaml, please give it a try and let me know if it works as expected. Instead of adding a new Unknown state to the input_select, I just used Away (like for not_home in espresense), so you can use Espresense or Bermuda without having to adjust the automations that uses the input_select state.

markmghali commented 2 months ago

image

Yeah I do not think I am seeing the desired effect? Also Bermuda often shows my android phone as unknown I think it is my esphome devices or configuration

This is my ble config in my esp devices based on Bermuda docs


esp32_ble_tracker:
  scan_parameters:
    active: True # Whether to send scan-request packets to devices to gather more info (like devicename)
    interval: 1000ms # default 320ms. Time spent per adv channel
    window: 900ms # default 30ms. Time spent listening during interval. ```