kizniche / Mycodo

An environmental monitoring and regulation system
http://kylegabriel.com/projects/
GNU General Public License v3.0
2.95k stars 494 forks source link

Chirp and soil moisture sensor are broken #1216

Closed DrBabbage closed 2 years ago

DrBabbage commented 2 years ago

Soil moisture sensor 2.7.8 , 2.7.6 and chirp 2.4

Reproducibility

LOG https://pastebin.com/QyRm9T8V

In chirp.py it gets these high values from time to time but mostly its accurate ( know I still have to calibrate).

257 3.3% | 32.3°C | 334 257 3.3% | 32.3°C | 336 257 3.3% | 32.3°C | 349 0 -47.1% | 0.0°C | 17152 16897 3266.1% | 25.7°C | 257 257 3.3% | 32.2°C | 356 258 3.5% | 32.2°C | 354 258 3.5% | 32.2°C | 354 256 3.1% | 32.2°C | 357

Please list specific setup details that are involved and the steps to reproduce the behavior:

  1. Hook up moisture sensor to i2c and 3.3V
  2. Set i2c to 20
  3. activate
  4. see sensor input

Expected behavior

Show stable values that change with soil moisture

Screenshots

image

image

Here is more information https://github.com/Miceuz/PlantWateringAlarm/issues/19

DrBabbage commented 2 years ago

If you need such a sensor, I can send you a version of the standalone sensor and the chirp for free. The tests of other people about this sensor were really promising.

So I set up a fresh installation without mycodo and tested chirp-py again. Without Mycodo there is no issue with sensor data.

image

DrBabbage commented 2 years ago

Apparently it was a botched up installation. I try to replicate the steps but atm its working more than fine. I love this project so much.