illuzn / esphome-april-soil-moisture-sensor

ESPHome Configuration for April Soil Moisture Sensor
GNU Affero General Public License v3.0
3 stars 1 forks source link

Temperature #2

Open molekylspektroskopi opened 1 month ago

molekylspektroskopi commented 1 month ago

Hi

I managed to get readings from the temperature sensor using this:

i2c:
  sda: 08
  scl: 10
  scan: true

sensor:
  - platform: tmp102
    address: 0x48
    update_interval: 5s
    name: "Temperature"

It seems that it is not very accurate so I have been playing with offsets using another calibrated temperature sensor. Was hoping to see if there was any other things I could try to get better readings.

4 out 5 units can find it's temperature sensor for me, but I also had 2 units refusing going to boot mode to accept firmware so they might be a bit finicky

illuzn commented 1 month ago

Thanks I will test myself and see what my results are.

When you say inaccurate, is there a consistent offset to actual temperature (e.g. the black case is potentially forming a buffer to the outside) or is there just random noise?

molekylspektroskopi commented 1 month ago

I forced the nodes to stay awake this morning so I got some sample data and this is what I found. I will check it more later in the day when I am off work as I assume there might be some issues in how it was measured.

control temp: 18

The 5 units:

21.6 19.6 24.9 19.6 unknown "Due to no sensor found"