diy solar

diy solar

JBD BMS Wi-Fi Module

Maybe it's the 64b os, and paho mqtt not set up for 64bit? Just a guess. Maybe the paho makefile needs to be adjusted. Maybe see if there's a different version of it that would work, or ask at the paho github page? https://github.com/eclipse/paho.mqtt.c/releases
Thanks for taking the time to answer Daklein, the fact is that as I wrote, I am a complete dumb on linux and It is really hard for me to get my head on this things.
Anyway, if I compile not statically all is working fine; if I compile statically there is the error (so I guess that paho is fine with the 64 bit).
 
It has been quite a while for me, but as I recall you can't link a static object against a reloadable library. You need to find or compile a static version of the missing library.
 
Thanks for taking the time to answer Daklein, the fact is that as I wrote, I am a complete dumb on linux and It is really hard for me to get my head on this things.
Anyway, if I compile not statically all is working fine; if I compile statically there is the error (so I guess that paho is fine with the 64 bit).
Why do you want to compile with encapsulated libraries?
 
Why do you want to compile with encapsulated libraries?
Because I have a test pi and a production one, and I would like to keep the production one as light and clean as possible.
Melkier has several times posted the tool statically linked.
As said I am a dumb one on Linux :confused:, would you mind helping on how to compile encapsulating, please? ?
 
Because I have a test pi and a production one, and I would like to keep the production one as light and clean as possible.
Melkier has several times posted the tool statically linked.
As said I am a dumb one on Linux :confused:, would you mind helping on how to compile encapsulating, please? ?
Do you need MQTT?
If not make a safety copy of your Makefile and change
MQTT=yes to MQTT=no
see if you get further
 
Last edited:
Do you need MQTT?
If not make a safety copy of your Makefile and change
MQTT=yes to MQTT=no
see if you get further
Unfortunately, my system is based on MQTT so it's not a viable option.
Thank you anyway
 
I already know that the issue is on the MQTT library, but Melkier has already posted here the statically compiled executable, so he should have already sorted it out. I will wait for his reply.
Thanks anyway
 
I already know that the issue is on the MQTT library, but Melkier has already posted here the statically compiled executable, so he should have already sorted it out. I will wait for his reply.
Thanks anyway
How do you know that is the only issue?
 
I don't know, that's why I would like to solve this one and see if all is fine or not
Have it your way.
Personally, I would want to see what the next stumbling block might be while waiting for I/O in this thread.
 
Last edited:
Sorry haven't checked in here in a while ... and not getting email reminders for activity anymore.

Here's a static compiled version for debian bullseye (11) 64-bit made on a RPI4B+
 

Attachments

  • jbdtool_arm64_static.zip
    2.7 MB · Views: 27
If I ever get some free time, I'll draw up JLPCB plans and 3D printer drawings for a case.

Also, I plan on making a custom firmware module for these
Did you ever do any with these?

Im Sure you could sell them if you made them.

I would buy them..
 
Did you ever do any with these?

Im Sure you could sell them if you made them.

I would buy them..
I did not ... someone in this thread actually did something similar - look at previous posts. I think he even shared his project.
 
Did you ever do any with these?

Im Sure you could sell them if you made them.

I would buy them..
found it:

 
Sorry haven't checked in here in a while ... and not getting email reminders for activity anymore.

Here's a static compiled version for debian bullseye (11) 64-bit made on a RPI4B+
Hi dear Melkier, thank you so much for this.
Really appreciated
 
It should start pinging at the IP address it had before (or the static ip you set).

If on Linux, you can now connect to it using my jbdtool:


OR if you're on windows, you can use HW Virtual Serial port from the hw-group


Use the IP address of the ESP and port 23.

View attachment 34101

Once connected, you can use the windows version of JBDTools to connect to it ... Simply select the same COM port you used in HW VSP and click start. All functions should work great - all using WiFI

View attachment 34102


Any questions just message me
Hi, Mr. Melkier. I just recently found this amazing project of yours and embark myself into trying to make it. I ordered all the parts needed as your list suggested. I was able to programmed the ESP-01 and set all the settings that you presented. I set the virtual serial port and assigned the IP provided by my network. I already had the JBDtool v2.9 which I had been using with the USB converter. But that is as far as I got. There is no data in the JBDtool although I can see some numbers in the Virtual serial port counters. I am running Windows 11 on a Laptop. I would really appreciated if you could give me some advice on how to accomplish this properly. I have minimum programming skills so the least complicated on this matter would be a plus to me. Thanks, I know this is an old post but still is something I would like to do for my JBD Bms's. Thanks again, hope you would reply. Ok, this is been to long...
 
Hi, Mr. Melkier. I just recently found this amazing project of yours and embark myself into trying to make it. I ordered all the parts needed as your list suggested. I was able to programmed the ESP-01 and set all the settings that you presented. I set the virtual serial port and assigned the IP provided by my network. I already had the JBDtool v2.9 which I had been using with the USB converter. But that is as far as I got. There is no data in the JBDtool although I can see some numbers in the Virtual serial port counters. I am running Windows 11 on a Laptop. I would really appreciated if you could give me some advice on how to accomplish this properly. I have minimum programming skills so the least complicated on this matter would be a plus to me. Thanks, I know this is an old post but still is something I would like to do for my JBD Bms's. Thanks again, hope you would reply. Ok, this is been to long...
Okay, I will gladly appreciate that anyone that make this project successfully will help me as well. I would like very much to be able to make this possible. Please anyone can reply. I just need some detailed guidance. Thanks.
 
Got all the parts and built the board. I can ping it and access the web interface but that's as far as i got successfully. The transmit light blinks when i have the JBDTools open but im not seeing any TX from the virtual serial.
View attachment 34833

I've doubled checked my wires just cant see whats wrong, any help would be very much appreciated.
Hi, I know this is old, but did you ever make it work? I'm at the same position when you wrote this. Please share any light to me if you read this. I posted some to see if Melkier reply to me, still waiting. Thanks
 
Hi, I know this is old, but did you ever make it work? I'm at the same position when you wrote this. Please share any light to me if you read this. I posted some to see if Melkier reply to me, still waiting. Thanks
I did make it work, however, I have since started using this DalyMQTT
 

diy solar

diy solar
Back
Top