-
Notifications
You must be signed in to change notification settings - Fork 60
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
JK inverter BMS: connection losses after 1 week + depreciation warning + other issues in the log (like "Unable to open mgmt_socket") #238
Comments
UDPATE: the verbose log has NO ISSUE and the losses came back this morning when I figured out that the door of the inverter room had been closed. So the (full iron) door (very heavy from the 70s fire retardand) seems to have an impact if it is open or not which means the reflection of bt waves must have improved the availability and connection between Raspi Pi and its onboard BT and the JK BMS inside the EEL V4 metal battery box. Just to give you an impression: the raspi is mounted on the wall 40 cm above the battery case which means the BMS is just 70 cm horizontally away or roughly 1m . If I open the door it does no longer work. The only question: How can I disable the WiFi module on the Pi and check if that can improve the bt range too in such a way that even with an open door the connection would stay stable. Here is the graph of the last week. You can see the small gap monday morning 8:30 when the door was open The open door stops the reflection and breaks the connection this way. Maybe someone has similiar issues and google will direct him to this topic to get aware of metal doors impact as reflector. |
Hi, In linux you can usually disable Wifi with
This might help you for HA OS: |
Yes - and no Any experiences what to do for turning WiFi only off ? |
Pi 4 connected via Ethernet and BT to the JK BMS (inside an EEL Case)
Pi 4 sits on top of the case about 10 or 15 cm away from the BMS inside the metal box
HA OS latest June release "2024.6.4"
Mosquitto broker 6.4.1
Usually the battery is connected to a laptop running windows and JK BMS Software plus VNC which I use to cross check if my inverter has reacted cause the growatt inverter is connected via cloud and that updates only every minute while I can instantly check the BMS "reaction".
So this Laptop is connected via RS485 modbus and a USB cable and usually running JK BMS software 247.
BatMon-HA Setup right now
Here is the depreciation warning (but my mosquitto is the most recent one, no update open)
connecting mqtt addons@core-mosquitto
/app/main.py:196: DeprecationWarning: Callback API version 1 is deprecated, update to latest version
mqtt_client = paho.Client(paho.CallbackAPIVersion.VERSION1)
I have no clue what this means cause usually the mosquitto would offer me an update but there is none available.
Looks like there is still a connection issue somehow even though it had been working in the beginning quite well over days , I mean I have watched the figures and graphs over hours at the beginning and tweaked a bit to 2 sec sample and 3 or 4 sec mqqt but usually the temperatures are missing quite often while most or all others are available.
But the data are there cause I can follow those via a windows PC running the JK BMS (via vnc).
Here is the protocol from the moment I stopped and then restarted the add on
The verbose log is much longer and detailed but since I have activated that roughly 15 minutes ago the data arrived more consistantly and I had no further losses.
30 minutes later and still constant figures and much, much less "unavailable" messages (only the temperatures are missing, but only very rarely or maybe only once in 3o minutes).
I am not sure what is going on but to let you know: the battery is over 30 meters away in a closed cellar room with 25°C and no one has been there. Also no interferences possible.
The text was updated successfully, but these errors were encountered: