Comments (10)
Hi Daniel,
ok, thanks for that. I've not been able to test the RS485 binding for the JK so its good if your willing to help me test it and get it up and running.
I will update the code to fix that exception and then we can go from that. Could you also please set the log level to debug please to get more information?
from bms-to-inverter.
sure thing
this my config:
bms.pollInterval=1
bms.1.type=JK_RS485
bms.1.id=1
bms.1.portLocator=/dev/ttyAMA0
bms.1.delayAfterNoBytes=2000
###################################################################
Inverter settings
###################################################################
The inverter type can be NONE, DEYE_CAN, GROWATT_CAN, SMA_SI_CAN, SOLARK_CAN
inverter.type=SOLARK_CAN
The port name/device to use to communicate to the inverter
inverter.portLocator=can0
Interval to send data to the inverter (in seconds)
inverter.sendInterval=1
I use SEENGREAT RS485-Dual-CAN-I and also tested two RS485-USB Dongles with same results....
from bms-to-inverter.
Hi Daniel,
I fixed the exception above.
Could you set the log level to debug and do a Clean install from the Configurator app please and test again?
I also adjusted the Configurator
app to produce a log file configuration that doesn't log all the useless information at startup, so you might want to get the new Configurator too.
from bms-to-inverter.
Hi Thank you!
I tried again but still getting an error. See logs.
BMS-to-Inverter.log
from bms-to-inverter.
can you please give me the permissions to push a branch and request a PR????
from bms-to-inverter.
Hi Daniel,
I've added iterating through all commands and error handling in case no data was received.
The program will delay (Delay after no bytes received setting) a short time and try to read again. If no bytes are received for over 10x then it will try the next command.
Could you please Clean install with the Configurator and lets see if we get any responses.
from bms-to-inverter.
Hey Torsten, CRC calculation of spec is wrong.... See according branch. Next step would be to convert the values from response to Battery_Object according to the spec.
from bms-to-inverter.
Hi Daniel,
thanks for your contribution.
I merged your code with some minor changes. I skipped the lombok framework (I know its nice) but I'd like to keep the footprint as small as possible.
I was thinking about requesting all values at once, but kept it consistent with the other bindings.
But it will be more performant this way so I kept it :)
I did however change some of your code to read the frames. Maybe you like to have a look and see if I didn't miss anything critical.
Can you get any readings from the JK now?
from bms-to-inverter.
@danieltorkian could you try a Clean install from the Configurator application and test the JK binding?
from bms-to-inverter.
I will close this issue, since the JK RS485 binding is working now
from bms-to-inverter.
Related Issues (20)
- Growatt Inverter support via RS 485 / CAN HOT 52
- Webserver module HOT 23
- Growatt Hybrid high voltage / Pylontech BMS high voltage (powercube x1) / CAN HOT 103
- Not working normally HOT 9
- Latest code not working HOT 5
- Batteries with no content shown in the overview and webserver HOT 8
- JK BMS RS485 support HOT 2
- Building on PI4 HOT 4
- Outback Power Skybox Inverter BMS Canbus HOT 25
- Daly Growatt implementation imminent HOT 21
- waveshare CAN expansion hat compatibility HOT 1
- BMS tab is empty HOT 18
- Raspberry Pi 5 compatibility HOT 2
- mqtt with authentication? HOT 7
- Hardware connection to the Growatt Inverter HOT 10
- Daly BMS - ttl HOT 7
- First time running with Daly TTL HOT 25
- Running on Windows HOT 7
- configuration issues HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bms-to-inverter.