Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battery Temperature not pulling in #123

Open
uncappedshady opened this issue Jul 25, 2023 · 3 comments
Open

Battery Temperature not pulling in #123

uncappedshady opened this issue Jul 25, 2023 · 3 comments

Comments

@uncappedshady
Copy link

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.

@PolyPV81
Copy link

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?

@Perfunctory85
Copy link

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?

@syssi
Copy link
Collaborator

syssi commented Jun 9, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants