Comments (2)
I'm not quite sure enabling the retain on the state of the device is a good idea. In example take a look to this sequence:
- your BLE device is at home and discovered
- there is a power outage
- you and your BLE Device go out of home
- the power is restored (you are still out of home)
In this scenario if the retain is enabled your broker will tell to all the subscribers your device is at home.
What I can do is, only when the white list is enabled, initializing the list of discovered devices with all the devices in the white list, with initial state off so that all the devices not present when the power is restored will be considered off and not "not available".
from esp32_bletracker.
Hi,
it seems to me a great idea!
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
- 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.