Giter VIP home page Giter VIP logo

homie-dht's Issues

No data published with deepSleep = false?

My homie-dht is behaving somewhat oddly.

With this config:
"settings":{"type":"sht30","publishInterval":60,"publishForceKey":"temperature","publishForceVal":0.0,"deepSleep":false}

I seem to get no sensor data published, although I do get some heartbeat stuff from the device:

homie/homie-dht4/$stats/signal 72
homie/homie-dht4/$stats/uptime 5819

As a further twist, if I publish a config update:

mosquitto_pub -r -t 'homie/homie-dht4/$implementation/config/set' -f ./homie-dht4

I get temps published again, but if I delete the topic:

mosquitto_pub -r -t homie/homie-dht4/$implementation/config/set -n

the updates stop. (I hope the retained config message doesn't cause constant SPIFFs rewrites of the config?)

If sensor fails in running system, endless loop occurs

If the sensor fails during normal system operation (tested with BME280), an endless loop occurs during BME280_Impl::readSensor(). Here, bme.takeForcedMeasurement() is called, which loops forever until a successful readout.
This kills the system, as it seems like no watchdog is triggered (maybe disabled in Homie?).

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.