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

Daemon reads sensor moisture and conductivity as 0 #177

Open
gianmarco-mameli opened this issue Jul 17, 2024 · 3 comments
Open

Daemon reads sensor moisture and conductivity as 0 #177

gianmarco-mameli opened this issue Jul 17, 2024 · 3 comments

Comments

@gianmarco-mameli
Copy link

gianmarco-mameli commented Jul 17, 2024

Hi,
I'm using the daemon miflora2mqtt to read 10 sensors on my garden and works like a charm, that uses this library
Few days ago I found that a sensor seems having power problems on reading the values, so I've switched it with a spare, but the readings of Moisture and Conductivity are every loop at 0 (sometimes Moisture shows 1%).
The sensor works well in app, the library reads 0, the other values are correct.
A simple test with a python file returns this:

Getting data from Mi Flora
FW: 3.3.5
Name: Flower care
Temperature: 32.8
Moisture: 1
Light: 710
Conductivity: 0
Battery: 100

Any clue?

Thanks

@gianmarco-mameli
Copy link
Author

As additional information the sensor with the incorrect values is the only from the total of ten that has a different starting mac address: 9 of them starts with C4:7C:8D the 10th starts with 80:EA:CA

@ThomDietrich
Copy link
Collaborator

Hey @gianmarco-mameli,
I can't offer direct help but if you feel able to, it would be great to see some lower level details, e.g. the raw data received from the sensor. It's probably easy to ad some additional print() in the right place of the code.

Btw. there is a real chance that your single sensor is simply broken. Do you have a second device of that make/model you could verify the issue with?

@gianmarco-mameli
Copy link
Author

Hi, I can give it a try these days with the original library to see what exactly is getting from sensor.
Unfortunately that sensor is the unique model I have with different macaddress, but I don't think it's broken, in the Flower Care app on my iPhone works as expected.

Thanks

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

2 participants