Git Product home page Git Product logo

Comments (2)

ludiazv avatar ludiazv commented on June 18, 2024

I have to test this scenario. Possible is due constant retries to contact with the missing sensor. At some point it should stop retrying and inactivate the node until new deployment.

from node-red-contrib-bme280.

dachshund-digital avatar dachshund-digital commented on June 18, 2024

Yes, I only discovered it, because I happen to be changing sensors in and out, and discovered this odd slow down side-effect. I changed my flow, adding a gate, so that the bme280 node never receives a message, unless I enable said flow. What I want to do, is somehow scan the i2c bus and only open the gate if a bmp280 or bme280 is present. Maybe your solution could be enhanced to try to initialize the sensor only if the sensor is present on the bus? Log error if sensor not found type of thing? I have 8 different sensors, across 12 devices, that report temperature, pressure, humidity, so in my python scripting I validate which sensor is present before attempt to use same. A good method for BMP/BME sensors is to query for the serial number of the sensor, if BMP do X, of BME do Y, for other sensors, search for device at the appropriate address, if MCP9808 do A, if Si702 do B, if SHT3X do C, etc., etc., if none of the above report no ambient sensor found.

from node-red-contrib-bme280.

Related Issues (9)

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.