VictronMPPT-ESPHOME icon indicating copy to clipboard operation
VictronMPPT-ESPHOME copied to clipboard

Battery Temperature not pulling in

Open uncappedshady opened this issue 1 year ago • 3 comments

First of all I would just like to say thank you so much for releasing this code in order to pull in my stats into ESPHome for my mppt controller. I am not sure if this is how the code currently works or not but I get all the required values apart from battery temperature.

Currently I have a 75/15 mppt Victron smartsolar controller and have purchased the additional smart battery sense module in order to detect the battery voltage and temperature.

In the Victron App I am seeing the battery voltage and temperature but in ESPhome I am not seeing the temperature value.

Is this something I would need to add to the code loaded to my D1 mini ESP8266?

Would greatly appreciate the assistance.

uncappedshady avatar Jul 25 '23 12:07 uncappedshady

I have the same issue. But on a 100/20 smartsolar.

i added:

battery_temperature:

  name: "battery_temperature"

  id: battery_temperature

only, but it does not work.

Did i wrong, or would that be the right way?

Maybe it does not work with the mppt controllers, only with the BMV70/71?

See: https://www.victronenergy.com/upload/documents/VE.Direct-Protocol-3.33.pdf page 6?

PolyPV81 avatar Oct 22 '23 19:10 PolyPV81

I have the same issue. I connected smartsense and can read the temp in the Victronapp, but not over ESP.

Any idea, if this will be possible?

Perfunctory85 avatar Feb 11 '24 14:02 Perfunctory85

Please enable the debug output of the uart component:

uart:
  id: uart_0
  baud_rate: 19200
  tx_pin: ${tx_pin}
  rx_pin: ${rx_pin}
  debug:
    direction: BOTH
    dummy_receiver: false
    after:
      delimiter: "\n"
    sequence:
      - lambda: UARTDebug::log_string(direction, bytes);

and provide some logs. Look for lines starting with T\t. I guess you will see lines like this:

[12:34:23][D][uart_debug:158]: <<< "T\t---\r\n"

This (---) indicates the tempature measurement isn't published by the device firmware.

syssi avatar Jun 09 '24 14:06 syssi