Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anyone with problems? ->Miflora Firmware 3.3.5 #150

Closed
Firepower opened this issue Dec 16, 2021 · 4 comments
Closed

Anyone with problems? ->Miflora Firmware 3.3.5 #150

Firepower opened this issue Dec 16, 2021 · 4 comments

Comments

@Firepower
Copy link

Hello,

my sensor worked fine in the past but since updating firmware to 3.3.5 it's not working anymore.
Dec 16 06:41:49 raspberrypi systemd[1]: miflora.service: Succeeded. Dec 16 06:41:49 raspberrypi systemd[1]: Stopped Xiaomi Mi Flora Plant Sensor MQTT Client/Daemon. Dec 16 06:41:49 raspberrypi systemd[1]: Starting Xiaomi Mi Flora Plant Sensor MQTT Client/Daemon... Dec 16 06:41:50 raspberrypi systemd[1]: Started Xiaomi Mi Flora Plant Sensor MQTT Client/Daemon. Dec 16 06:41:51 raspberrypi python3[2312]: [2021-12-16 06:41:51] Initial connection to Mi Flora sensor "Pflanze" (XX:XX:XX:XX:XX:XX) failed due to exception: Dec 16 06:41:51 raspberrypi python3[2312]: [2021-12-16 06:41:51] Failed to retrieve data from Mi Flora sensor "Pflanze" (XX:XX:XX:XX:XX:XX), success rate: 0%
MiFlora-Smartphone app connects as usual but miflora-mqtt-deamon is not working anymore.

Does anyone encounter the same problem? Especially with firmware 3.3.5?

regards,
Thomas

@Firepower
Copy link
Author

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

@ThomDietrich
Copy link
Owner

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

@jorgnyg
Copy link

jorgnyg commented Jan 8, 2022

@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?

@Firepower
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants