Coder Social home page Coder Social logo

Comments (4)

Firepower avatar Firepower commented on June 20, 2024

Strange, tried different things, none of these worked. Yesterday I had to restart my pi and now its working. So my issue is resolved ;-)

from miflora-mqtt-daemon.

ThomDietrich avatar ThomDietrich commented on June 20, 2024

Strange but relieved there is no new issue. I will mention your firmware 3.3.5 in the README as tested. Thanks!

from miflora-mqtt-daemon.

jorgnyg avatar jorgnyg commented on June 20, 2024

@ThomDietrich @Firepower I'm getting the same error when running docker.
It connects successfully with python3 /opt/miflora-mqtt-daemon/miflora-mqtt-daemon.py,
but running docker run -it --name miflora-mqtt-daemon -v /opt/miflora-mqtt-daemon/config.ini:/config/config.ini miflora-mqtt-daemon results in:

[2022-01-08 10:12:58] Initial connection to Mi Flora sensor "Chili" (C4:7C:8D:6C:94:33) failed due to exception: 
[2022-01-08 10:12:58] Announcing Mi Flora devices to MQTT broker for auto-discovery ...
[2022-01-08 10:12:58] Retrieving data from sensor "Chili" ...
[2022-01-08 10:12:59] Retrying ...
[2022-01-08 10:12:59] Failed to retrieve data from Mi Flora sensor "Chili" (C4:7C:8D:6C:94:33), success rate: 0%

Config file is mounted correctly, since changes in config file (like device name) is correctly reflected in log output. Could have something to do with access to bluetooth interface when running with docker or something?

from miflora-mqtt-daemon.

Firepower avatar Firepower commented on June 20, 2024

@jorgnyg This is the same problem i had. After some restarts of my raspberry pi it worked again. Before that I tried to restart miflora.service which didn't work. Since then its running fine.

from miflora-mqtt-daemon.

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.