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

Wrong values if 2x 24V Batterycharger is turned on #136

Open
jrnas opened this issue Nov 21, 2023 · 10 comments
Open

Wrong values if 2x 24V Batterycharger is turned on #136

jrnas opened this issue Nov 21, 2023 · 10 comments

Comments

@jrnas
Copy link

jrnas commented Nov 21, 2023

I recorded a Screen video to demostrate what happens:
https://www.youtube.com/watch?v=OX9RYDU59Ns

1x 24v Charger: https://www.amazon.de/gp/product/B08ZN5ZPMK/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1
1x 24v Charger https://www.amazon.de/gp/product/B099X1RQCV/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1

Im using a ESP32 connected with two Devices 1x SmartShunt and 1x SmartSolar 150/45.

i got really strange logs and the voltage and soc data drops to NaN
when i turn my two 2x 24v battery charger on...
when only 1x 24v charger is on the values are not beeing updated....very strange
i got a ErroCode 2 from the SmartShunt i dont know what that means...

[09:10:07][D][victron:1024]: Unhandled property: P 354
[09:10:07][D][victron:1024]: Unhandled property: \x84CE -73\xb789 �SO\x86 2u'
[09:10:07][D][victron:1024]: Unhandled property: T�E /1��Adarm ONF�
AR 0��BMV Rm`\xe6tShunt 500A�51mW
[09:10:07][W][victron:093]: Last transmission too long ago

[08:56:49][D][victron:1024]: Unhandled property: \xff\xff\xff\xff\xff\xff\xdf\xff\xff\xff\xf7\xff\xff\xef\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xf7\xfb\xff\xef\xff\xdf\xff�\xff\xff\xff\xff\xff\xff\xad\xff\xff\xb7\xff\xff\xff\xff\xff\xff\xbd\xff\xdf\xff\xff\xff\xfd\xff\xff\xff\xff\xff\xff\xff\xff\xfb\xe7\xbf\xff\xff\xff\xf7\xff\xff\xdf\xff\xff\xff\xff\xff\xef\xff\xfb\xdf\xff\xbf\xff\xff\xfd\xff\xff\xff\xff\xff\xff\xbf\xff\xff\xde\xff\xff�\xff\xff\xff\xff\xff\xff\xdd\xff\xff\xff\xff\xff\xff\xbf\xff\xff\xef\xff\xff\xff\xff\xfb�\xff\xff\xff\xff�\xff��\xff\xff\xff\xef\xff\xff\xff\xff\xff\xff�\xfe\xff\xff\xff\xf5\xfd\xff\xff\xfe\xff\xff\xff\xff\xff\xff\xef\xff\xff\xff\xff\xff\xff\xff\xff\xff\xbf\xff\xffo\xff\xdf\xff\xf7\xff\xfd\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff�\xff\xfe\xff\xff\xff\xff\xff\xdf\xff\xff\xff\xff\xff\xff\xff\xff\xff\xdf\xff\xff\xff\xff\xff\xbf\xff\xff\xbf\xff\xf7\xff\xff\xef\xff\xdf\xff\xf5\xdf\xff\xff\xbf\xbf\xff\xff\xdf\xf6\xff\xff\xff\xfb\xfb\xff\xff\xf7\xff
JV 26435
[08:56:49][D][victron:1024]: Unhandled property: \x92 !3679
[08:56:49][D][victron:1024]: Unhandled property: \x8a\xd0 362
[08:56:49][D][victron:1024]: Unhandled property: \x88SOC 24\xb7
[08:56:49][D][victron:1024]: Unhandled property: �larm ODF
[08:56:49][D][victron:1024]: Unhandled property: �AR �
[08:56:49][D][text_sensor:064]: 'SmartShunt model description': Sending state 'R\xed\xc1r\xe8ShunT 500A�u0iF'

[08:56:50][W][victron:093]: Last transmission too long ago
[08:56:51][D][victron:1024]: Unhandled property: \xff�\xff\xff\xff\xff\xbf߿\xf7�\xff\xff\xff�\xff\xff\xef\xfb\xff\xff\xff\xff\xff\xff\xff\xfd\xfe\xff\xff\xee\xff\xff\xbb\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xefo\xbf\xff\xff\xbf\xfe\xff\xff\xff\xff\xfe\xff\xff\xfe\xff\xfb\xff\xff\xff\xef\xff\xf7\xfe\xff\xff\xff\xfd\xff\xff\xcf\xff\xff\xff\xff\xfe\xff\xbf\xff\xff\xff\xff\xff\xff\xef\xff\xff\xf7\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xf7\xff\xff\xf7\xfe\xff\xff\xff\xff\xff\xa7\xff\xff\xff\xff\xff\xdf\xff\xff\xff\xfb\xfe\xff\xff�\xff\xff\xff�\xff\xfa\xff\xff\xde\xf7\xfe\xff\xff\xdf\xef\xff\xfe\xdf\xff\xff\xff\xff\xff�\xfd\xff\xff\xff\xff\xef\xff\xff\xff\xff\xff�\xef\xfd\xff\xff\xff\xfb\xff\xff\xef\xbf\xff\xff\xff\xff\xfb\xff\xff\xff\xdf\xe7s\xff\xff\xfe\xff
H9 -03400

can you please help me?
in Victron Connect everything shows right and no problems
or can you at least explain me what that logs mean?

@KinDR007
Copy link
Owner

Hi, according to your description it is not possible to determine what kind of connection you have, can you draw a wiring diagram and attach it? How / what do you feed the ESP32?

@jrnas
Copy link
Author

jrnas commented Nov 22, 2023

uart:

  • id: uart_0
    tx_pin: GPIO13 # Not used! The communication is read-only
    rx_pin: GPIO23
    baud_rate: 19200
  • id: uart_1
    tx_pin: GPIO16 # Not used! The communication is read-only
    rx_pin: GPIO21
    baud_rate: 19200

GND of Smarthunt ------------------------------------------------------ GND ESP32
GND of SmartSolar Charger 150/45------------------------------------- GND ESP32
RX Smarthunt----------------------------------------------------------- GPIO01 ESP32
RX SmartSolar Charger 150/45------------------------------------------ GPIO23 ESP32

with the JST-PH jack

@KinDR007
Copy link
Owner

KinDR007 commented Nov 22, 2023

what is the power source for ESP32?

if the esp32 is powered by a battery pack that is connected to the mppt, disconnect all gnds for the ve.direct ports (gnd between esp and mppt and smartshut and esp) because gnd is connected via the power supply. if you try to operate the esp32 power supply through the ve.direct port, it will not work and there is a risk of destroying the port!

@jrnas
Copy link
Author

jrnas commented Nov 22, 2023

@jrnas
Copy link
Author

jrnas commented Nov 22, 2023

@KinDR007
Copy link
Owner

leave only one gnd connected, it doesn't matter which if smartshunt and mppt work on the same battery pack

@jrnas
Copy link
Author

jrnas commented Nov 22, 2023

yes same battery pack....
il disconnected the smartshunt gnd and same problem..
I also had the problem with just the mppt connected

@KinDR007
Copy link
Owner

try powering the esp32 from some galvanically isolated source, for example an external lipo /liion battery (18650, etc.)

@jrnas
Copy link
Author

jrnas commented Nov 22, 2023

il tried a powerbank
still same problem but it seems better then before but still loosing values and the logs are flooded by the messages above

[08:56:49][D][victron:1024]: Unhandled property: \xff\xff\xff\xff\xff\xff\xdf\xff\xff\xff\xf7\xff\xff\xef\xff\xff\xff.....
and many
[09:10:07][W][victron:093]: Last transmission too long ago

if only one 24v charger is turned on it works but if i turn both 24v on the data is loosing after 1 minute.... like in the video above

@jrnas
Copy link
Author

jrnas commented Nov 23, 2023

oh and - filter_out: nan is not working.... really strange

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

2 participants