Jorre05 / micronova

Micronova based pellet stove ESPhome component
14 stars 6 forks source link

Water Temperature Sensor Reports Half the Actual Value on Thermoflux Pelling Heater #10

Open vctrvlad opened 2 days ago

vctrvlad commented 2 days ago

I’ve set up my ESPHome using the micronova external component, and I’ve noticed that the reported water temperature is consistently half of the actual value. This issue persists despite correct wiring and configuration. Description I’ve configured my ESPHome setup using micronova external component, and I’ve observed that the reported water temperature is consistently half of the actual value. This issue occurs despite accurate wiring and configuration. Steps Reproduce

Set up the ESPHome configuration using the micronova component.

Monitor the reported water temperature.

Compare the ESPHome-reported value to the actual water temperature displayed on the heater.

Expected Behavior The water temperature reported byHome should match the actual water temperature measured at the sensor. Actual Behavior The water temperature reported by ESPHome is consistently half of the actual temperature. Additional Information ESPHome version: 2024.10.3 Hardware: nodeMCU v1.0 ESP8266 AMICA board Micova Component Version: github://Jorre05/micronova Temporary Workaround I implemented a lambda filter in the ESPHome configuration to double the reported value:

sensor:
- platform: micronova
   water_temperature:
     name: Water temperature
     filters:
      - lambda: |-
          return x * 2;

This adjustment corrects the value but is not an ideal solution. I have also noticed in the component's source code that the reported value is intentionally halved:

 case MicroNovaFunctions::STOVE_FUNCTION_WATER_TEMPERATURE:
   new_sensor_value = new_sensor_value / 2;
   break;

Additionally, I would like to have control over the water temperature, not just the ability to read it.

vctrvlad commented 2 days ago

wait, is perhaps the water temperature setting, the thermostat temperature slider?

ricardocb commented 2 days ago

I think that's true. From my experience the water temperature is halfed, since has you can see on this picture, the maximum was 25º, but the real value was 50!

image

I think that it must be doubled directly, but I will use the workaround.