Comments (6)
I will see what I can do during the Xmas holidays 🎄 😃
from esp32_bletracker.
I hope this can satisfy your request, for now is only in the develop branch
Runtime settings
from esp32_bletracker.
Yes this is a good idea for further improvements.
Bay the way the scan interval can be changed changing the macro
#define BLE_SCANNING_PERIOD 10
in the config.h
from esp32_bletracker.
Yes, I know that. It was just easier to configure via the web interface, and then every time you fill in a sketch because of the settings, it's not very convenient. Let's say I already set up everything, but then I bought another BLE tracker and to add it to the white list, I will have to fill in the sketch again with code editing.
from esp32_bletracker.
I really liked your firmware. Before I found your firmware, I tried the firmware on github of different authors and everything is wrong. It would be great if you improve your firmware. For example, add the function of scanning phones (if possible), then there will be more opportunities, because someone will use trackers, someone phones. I have my own YouTube channel about smart home and I'm going to tell you about your firmware on my channel. Bluetooth tags, this is an important function for determining the home friend or foe. A smart home can identify its owner by scanning a phone or tracker, but almost everyone has phones, and not everyone has trackers + they are not reliable, often break down or the battery runs out at the wrong time.
from esp32_bletracker.
Thanks). I tried adding in home assistant and everything works fine. I did not write everything in the configuration file configuration.yaml, and everything was taken out separately. Created the includes folder and bin_sensor and sensors subfolders. Inside them, I created two ble_tracker files.yaml where I added the code and also created a separate mqtt file for MQTT
In the configuration file configuration.yaml inserted these lines
binary_sensor: !include_dir_merge_list includes/bin_sensor
sensor: !include_dir_merge_list includes/sensors/
In the folder HomeAssistant\includes\bin_sensor\ble_tracker.yaml
#####BLE Tracker#####
#Binary Sensors to resolve unknown device state
#######################
#Check BLETracker state
- platform: mqtt
name: BLETracker_state
state_topic: 'home/BLETracker/LWT'
payload_on: "online"
payload_off: "offline"
device_class: "connectivity"
In the folder HomeAssistant\includes\sensors\ble_tracker.yaml
#####BLE Tracker#####
#Sensors
-
platform: mqtt
state_topic: 'home/BLETracker/mac'
name: 'BLETracker_Redmond_state'
value_template: "{{ value_json.state }}"
expire_after: 120
force_update: true -
platform: mqtt
state_topic: 'home/BLETracker/mac'
name: 'BLETracker_Redmond_battery'
value_template: "{{ value_json.battery }}"
force_update: true
In the folder HomeAssistant\includes\sensors\mqtt.yaml
#####BLE Tracker#####
- platform: mqtt
name: "BLETracker_Redmond"
state_topic: "home/BLETracker/mac/state"
availability_topic: "home/BLETracker/LWT"
expire_after: 300
value_template: >-
{% if value == 'on' %}
home
{% elif value == 'off' %}
away
{% else %}
away
{% endif %}
from esp32_bletracker.
Related Issues (20)
- FHEM support request HOT 16
- Add the capability to set a static IP
- FHEM Mode exceptions HOT 49
- Friendly name to the MAC address HOT 2
- MAX_NON_ADV_PERIOD in control panel HOT 3
- Retain State and Battery level after black-out HOT 2
- Wrong time reported in the logs HOT 2
- Report the date and time of the last battery level detection HOT 2
- Last battery level status HOT 9
- New firmware release notification HOT 2
- Multiple esp32 network HOT 4
- Noob needs help HOT 2
- Running extremely slow? HOT 3
- Build problem HOT 7
- Implement a Mailbox Sensor,Led and MQTT message HOT 4
- only battery state ? HOT 2
- reset HOT 7
- Feature Request: Start scan via html request HOT 14
- sysinfo is published not after 2 Minutes
- The status of the gateway is unstable HOT 12
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 esp32_bletracker.