diy solar

diy solar

Junktec software

How good is the bluetooth range of this battery monitor. I am looking into purchasing the KL100F version that does come with a screen, but I am not sure how good the bluetooth range is. My battery will be in another room next to my room. Is the bluetooth range good
their software hangs up after around 45 minutes (tested on Samsung an other andiroid phone) -then you need to kill it and start.

The rs-485 interface works well, there is esp home implementation: https://github.com/tfyoung/esphome-junctek_kgf
As I burned my rs485 port I connected esp32 directly to the board and sending data to mqtt.
 
That is the one I'm talking about and yes there is an ESP home integration that supposedly works but I cannot for the life of me get it to work.
So if anyone knows how to get it directly into my home assistant server that sits right next to the junktek either via Bluetooth or RS 485 I would love to know about it.
 
That is the one I'm talking about and yes there is an ESP home integration that supposedly works but I cannot for the life of me get it to work.
So if anyone knows how to get it directly into my home assistant server that sits right next to the junktek either via Bluetooth or RS 485 I would love to know about it.
do you have rs485 USB dongle?
 
do you have rs485 USB dongle?
I have already prepared the solution in two different ways. Everyone can communicate freely on the RS485 port, which resulted in each manufacturer developing their own protocol. Therefore, one must first interpret the incoming data and then convert it (in the case of Home Assistant, to HTTP API). I have Home Assistant on an RPi4, and it is not located where the battery is. In this case, I once needed a PUSRW610 device, which I connected to the output of the JUNCTEK RS485. The PUSR sends the data from the RS485 port to my TCP server. The TCP server then forwards it to the Home Assistant via API. And that's it. The other version is when Home Assistant runs on a Windows machine and is right next to the JUNCTEK. In this case, you also need an RS485 to USB cable. But there is no need for the TCP server and the PUSR. I write software that converts the data coming from the JUNCTEK RS485 to the Home Assistant API and passes it on port localhost:8123. And we are at the same point.

The TCP server is essentially a Windows application that is constantly running on my server. I developed this application myself because I communicate with many types of devices. It's a kind of converter or gateway between the jumbled data and the displays. It communicates with InfluxDB, Grafana, and MySQL databases as well. I might use this to implement the data display in Home Assistant as well.
 
I have already prepared the solution in two different ways. Everyone can communicate freely on the RS485 port, which resulted in each manufacturer developing their own protocol. Therefore, one must first interpret the incoming data and then convert it (in the case of Home Assistant, to HTTP API). I have Home Assistant on an RPi4, and it is not located where the battery is. In this case, I once needed a PUSRW610 device, which I connected to the output of the JUNCTEK RS485. The PUSR sends the data from the RS485 port to my TCP server. The TCP server then forwards it to the Home Assistant via API. And that's it. The other version is when Home Assistant runs on a Windows machine and is right next to the JUNCTEK. In this case, you also need an RS485 to USB cable. But there is no need for the TCP server and the PUSR. I write software that converts the data coming from the JUNCTEK RS485 to the Home Assistant API and passes it on port localhost:8123. And we are at the same point.

The TCP server is essentially a Windows application that is constantly running on my server. I developed this application myself because I communicate with many types of devices. It's a kind of converter or gateway between the jumbled data and the displays. It communicates with InfluxDB, Grafana, and MySQL databases as well. I might use this to implement the data display in Home Assistant as well.
if you have RPI then no need to tie it to windows, mqtt server (like mosqitto) is very light (runs well on RPI) and can allow for more integrations.
 
Yes I do. My HA is running on an old PC and I also have a windows 7 laptop next to it too. Electrical mechanically I can do anything, it's just the software stuff I'm dumb at.
btw do you have the jutek lcd screen?

the software part it is challenging, but step by step we can have something working for you.

do you have putty? - that will be a first thing to establish connection over rs485.
 
I do have the display.
I can get the data into HA, I just can't do anything with it from there.
 
Hello everyone!

I've recently developed an application that can read data from Junctek devices and transmit it over a port. The real-time data is stored as JSON and can be viewed through a visual dashboard available at this link: Junctek Monitoring Dashboard.

The system ultimately saves the data in a JSON file, making it potentially integrable with Home Assistant or other home automation systems. That integration is my next step.

As for the hardware connection, I used an RS485 cable that I had to fabricate myself – apologies for the DIY nature, but it was the quickest solution. Since I didn't have an RJ9 connector available, I ended up using an old telephone cord which I modified to fit.

I will continue to develop and refine this project, and I'm excited to see how it can be expanded and integrated into more complex systems. Your feedback and suggestions are very welcome!

Looking forward to your thoughts and any advice you might have.

Screenshot 2024-04-11 at 11-32-13 Junctek KL-140F Dashboard.png
 
Hello everyone!

I've recently developed an application that can read data from Junctek devices and transmit it over a port. The real-time data is stored as JSON and can be viewed through a visual dashboard available at this link: Junctek Monitoring Dashboard.

The system ultimately saves the data in a JSON file, making it potentially integrable with Home Assistant or other home automation systems. That integration is my next step.

As for the hardware connection, I used an RS485 cable that I had to fabricate myself – apologies for the DIY nature, but it was the quickest solution. Since I didn't have an RJ9 connector available, I ended up using an old telephone cord which I modified to fit.

I will continue to develop and refine this project, and I'm excited to see how it can be expanded and integrated into more complex systems. Your feedback and suggestions are very welcome!

Looking forward to your thoughts and any advice you might have.

View attachment 208545
Great work!
 
Great work!
just put a simple password in front of your website - will save you some troubles.
next to show battery SOC (to display percent) the LCD screen is publishing :R51=1,2,1 command, that reads device settings.
 
Hello everyone!

I've recently developed an application that can read data from Junctek devices and transmit it over a port. The real-time data is stored as JSON and can be viewed through a visual dashboard available at this link: Junctek Monitoring Dashboard.

The system ultimately saves the data in a JSON file, making it potentially integrable with Home Assistant or other home automation systems. That integration is my next step.

As for the hardware connection, I used an RS485 cable that I had to fabricate myself – apologies for the DIY nature, but it was the quickest solution. Since I didn't have an RJ9 connector available, I ended up using an old telephone cord which I modified to fit.

I will continue to develop and refine this project, and I'm excited to see how it can be expanded and integrated into more complex systems. Your feedback and suggestions are very welcome!

Looking forward to your thoughts and any advice you might have.

View attachment 208545
so next step is a bigger dashboardi:
1712878695068.png
 
Great work!
just put a simple password in front of your website - will save you some troubles.
next to show battery SOC (to display percent) the LCD screen is publishing :R51=1,2,1 command, that reads device settings.
Thank you, the R51 extension will be added soon
 
I've spent some time on Home Assistant. I installed it on a Raspberry Pi 4 as the OS. I managed to solve it with the MySensors plugin so that I directly connected the Junctek to the Raspberry Pi using a USB serial cable with a CH340 chip, without the need for a separate device. I've also handled the programming part, so Home Assistant queries the Junctek at 5-second intervals. No ESP32, TCP server, or intermediate device is needed. They are directly connected. The dashboard part only worked for me with simple versions; I didn't have the patience for it. A nightmare! :) Nevertheless, I've created some basic configurations in case they might help someone.

If you need the configuration, just let me know, and I'll write it up step by step in a post.
 

Attachments

  • Screenshot 2024-04-17 at 15-11-07 Áttekintés – Home Assistant.png
    Screenshot 2024-04-17 at 15-11-07 Áttekintés – Home Assistant.png
    115.4 KB · Views: 8
  • Screenshot 2024-04-17 at 15-12-30 File editor – Home Assistant.png
    Screenshot 2024-04-17 at 15-12-30 File editor – Home Assistant.png
    56 KB · Views: 8
  • Screenshot 2024-04-17 at 15-13-06 File editor – Home Assistant.png
    Screenshot 2024-04-17 at 15-13-06 File editor – Home Assistant.png
    79.4 KB · Views: 8
  • Screenshot 2024-04-17 at 15-13-41 File editor – Home Assistant.png
    Screenshot 2024-04-17 at 15-13-41 File editor – Home Assistant.png
    48.7 KB · Views: 8
Back
Top