Olen / homeassistant-plant

Alternative Plant component of home assistant
350 stars 23 forks source link

HHCC Flower Care Sensor Incorrectly Reporting Soil Moisture at 100% #104

Closed hcaiano closed 1 year ago

hcaiano commented 1 year ago

I have two HHCC Flower Care Bluetooth sensors integrated with Home Assistant via the homeassistant-plant repository. One sensor is working perfectly, but the other consistently reports soil moisture at 100%, which is incorrect.

Steps to Reproduce:

  1. Pair the HHCC Flower Care sensor with Xiaomi BLE.
  2. Add it to the Plant Monitor integration.
  3. Observe the soil moisture reading.

Expected Behavior:

The sensor should report accurate soil moisture levels.

Actual Behavior:

The sensor always shows a soil moisture level of 100%, even though the device itself (Xiaomi BLE) displays the correct information.

Troubleshooting Steps Taken:

Additional Information:

I'm not sure how to debug this issue further. Any guidance or suggestions would be greatly appreciated. Thank you!

image image image

hcaiano commented 1 year ago

I managed to resolve the issue by renaming the device to a shorter name and re-adding it to Plant monitor.

Steps Taken:

  1. Removed the sensor from Plant monitor.
  2. Renamed the HHCC Flower Care sensor to a shorter name on Xiaomi BLE.
  3. Re-added the sensor to the Plant Monitor integration.

Outcome:

After these steps, the sensor started reporting accurate soil moisture levels.

Note:

I'm not certain if the issue is directly related to the length of the device name, but shortening it did resolve the problem for me. This might serve as a potential workaround for others experiencing similar issues.