Giter VIP home page Giter VIP logo

Comments (2)

shogunxam avatar shogunxam commented on July 19, 2024 1

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:

  1. your BLE device is at home and discovered
  2. there is a power outage
  3. you and your BLE Device go out of home
  4. 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.

SmartM-ui avatar SmartM-ui commented on July 19, 2024

Hi,
it seems to me a great idea!

from esp32_bletracker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.