Comments (11)
Tried adding this to the HA Add-on config:
https://www.home-assistant.io/integrations/bluetooth#esphome-requirements
esp32_ble_tracker:
bluetooth_proxy:
Failed config
esp32_improv: [source /config/esphome/.esphome/packages/f43db209/everything-presence-one.yaml:33]
Component esp32_improv cannot be used together with component esp32_ble_tracker.
authorizer: none
esp32_ble_server: None
{}
esp32_ble: None
{}
Component esp32_ble_server cannot be used together with component esp32_ble_tracker
Component esp32_ble cannot be used together with component esp32_ble_tracker
I am very new to ESP32 (this is my first device) so I think I just need some guidance.
from everything-presence-one.
Hello!
BT tracking and BT Proxy is disabled by default because it conflicts currently with Improv (which is used for initial setup) - in the future it should be possible to have them on at the same time but currently it meant we had to disable them to allow for easy setup.
They can of course be added after setup. You will need to firstly create your own ESPHome config if you haven't already done so - you can copy the full EP1 config and paste it in using the config from here: https://github.com/EverythingSmartHome/everything-presence-one/blob/main/everything-presence-one.yaml
Replace the WiFi section of this config which currently looks like:
wifi:
ap {}
with this:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
You will also need to remove the section that says:
esp32_improv:
authorizer: none
And add the following lines back in:
esp32_ble_tracker:
scan_parameters:
interval: 1100ms
window: 1100ms
active: true
bluetooth_proxy:
active: true
Finally make sure there are no errors, save the config and then install the new config to the EP1.
from everything-presence-one.
SO, something like this?
main...amaisano:everything-presence-one:patch-1
And then I just use the HA Add-On dashboard and click "Save" and then "Install" with those file contents?
I'm so afraid of "breaking" the EP1 functionality.
from everything-presence-one.
SO, something like this?
main...amaisano:everything-presence-one:patch-1
And then I just use the HA Add-On dashboard and click "Save" and then "Install" with those file contents?
I'm so afraid of "breaking" the EP1 functionality.
Looks good to me!
You can't really break the functionality - if you make a mistake then you can simply use the flash page here to restore to factory firmware:
https://everythingsmarthome.github.io/everything-presence-one/flashing.html
If you get stuck then feel free to join the Discord which might be easier to talk you through.
from everything-presence-one.
RESOLVED
The proposed patch (a combination of the original configuration from EP1 and some additional changes for BT proxy support) works perfectly, but getting it into the EP1 needed some alternative/additional steps.
From the man @EverythingSmartHome himself:
- Since you don't have HTTPS enabled you'll have to do a bit more work
- Safe mode ON anytime you want to do an OTA update (adjusting config/settings wirelessly)
- [Skip installing when adopting things in Add-On]
- [In HA ESP Home Add-On] press install then manual download and choose modern
- Download the file it gives
- Then go to web.esphome.io and install the firmware using that website (over USB)
from everything-presence-one.
Just found this, because I was wondering if the ble_proxy was enabled by default and couldn't find it in the config.
@EverythingSmartHome
Might by worth sticking this or some explanation on why this is not added by default, with this issue are a small guide on how to enable it.
Since bluetooth proxy being an option is advertised on the shop (and also on the board, love the markings. USB C baby 🥳 )
from everything-presence-one.
Has anyone tested this for a bit? I’m setting up my EP1’s now and I’m interested in turning on the proxy function, but as I’ve done this on another (different) esphome device I had and I found that it caused that device to behave a bit strangely.
from everything-presence-one.
No idea how it should behave weirdly. If bluetooth is not used for anything else. Power consumption might go up.
from everything-presence-one.
Mine IS actually behaving weirdly. But I cannot be sure if it is from before or after the proxy config setup. It is constantly disconnecting/becoming unknown/unavailble in HA.
from everything-presence-one.
Mine IS actually behaving weirdly. But I cannot be sure if it is from before or after the proxy config setup. It is constantly disconnecting/becoming unknown/unavailble in HA.
These seems to happen on a couple users WiFi for some reason - the fix we found is to either update to ESPHome beta 2023.1 or to adjust the power saving mode in the config to "none":
https://esphome.io/components/wifi.html#wifi-power-save-mode
It does seem to be Bluetooth related and one user mentioned 2023.1 beta does fix it for him.
from everything-presence-one.
adjust the power saving mode in the config to "none":
power_save_mode NONE is incompatible with esp32_ble_tracker. Please remove the power save mode. See also esphome/issues#2141 (comment).
That won't work, apparently.
Going to try updating everything to 2023.1 beta and see if that helps.
from everything-presence-one.
Related Issues (20)
- Strapping pin warning HOT 1
- Create editorconfig for the project
- Cannot connect to WiFi HOT 5
- Enabling BLE Kills the device HOT 5
- EP1 triggering once every hour HOT 2
- Everything Presence One Home assistant-No zone controls HOT 2
- EP1 PIR sensitivity? HOT 3
- framework-espidf does not contain a CMakeLists.txt file. HOT 4
- OTA Platforms - the easy way HOT 4
- ESP32 Status LED Blinking After Upgrade to 2024.6.2 HOT 1
- ESP32 status LED id HOT 1
- Temperature changing by 1c every 30 min HOT 4
- Documentation: Editorial HOT 1
- can´t update EP1 HOT 3
- Missing entities on recent EP1 firmware (>1.1.7) (breaking changes?) HOT 1
- Everything unavailable after updating ESPHome to 2024.7.0 HOT 1
- mmwave not working? HOT 1
- Breaking change after 2024.6.4 HOT 7
- Unable to Update to 2024.7.0 Failed Config Certification Verification HOT 7
- Humidity sensor accuracy HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from everything-presence-one.