Comments (18)
netty-common-4.1.94.Final.jar is in my lib folder
Its a Pi 4B.
I'll try running directly on the pi, I need to spin up a linux build on my PC
openjdk version "17.0.10" 2024-01-16
OpenJDK Runtime Environment (build 17.0.10+7-Debian-1deb12u1)
OpenJDK 64-Bit Server VM (build 17.0.10+7-Debian-1deb12u1, mixed mode, sharing)
from bms-to-inverter.
Have you downloaded the latest Configurator application?
from bms-to-inverter.
Yes I have
from bms-to-inverter.
Please get the new Configurator app again. I've tested it and it works fine for me
from bms-to-inverter.
got latest configurator. couldn't do a clean install as the BMS tab was still empty. I copied my config.properties to the location of the new configurator and ran again. it read the configuration and I updated and did a clean install. the install window was also blank but I watched files get added and closed the window when it stopped adding files. ran ./start and the web server fails. I'm attaching the log
start.log
from bms-to-inverter.
Just tested the Configurator app on my Pi and also there it works.
The Webserver won't run if the BMS-to-Inverter application is not running. You need to select the Webserver in the Configurator and it will automatically also select the MQTT broker and client.
Have you tried to run the Configurator on a PC or laptop and then transfer the installation folder per e.g. WinSCP or Putty to the Pi?
from bms-to-inverter.
I have the gui working now. something is messed up with file permissions. if I run sudo configurator.jar all of the dialogs are blank. I tried chmod 777 and ran sh configurator. the gui is correct now but it fails to write the configuration and also fails to install. doing a combination of adding a config folder and a temp folder seemed to let me save and clean install. The web server is still crashing however. here's a new log :
from bms-to-inverter.
Ok, that is strange. I will have a look at that tomorrow.
The crash of the webserver is due to the Bms-to-Inverter application (and its MQTT broker) not running or not started in time.
Be sure to have the Webserver, MQTT Broker and MQTT Client enabled in the Services tab of the Configurator.
Maybe try to run the app seperately first and then the webserver.
In your installation folder run:
java -DconfigFile=config/config.properties -Dlog4j2.configurationFile=file:config/log4j2.xml -jar lib/bms-to-inverter-main-0.0.1-SNAPSHOT.jar
and then in another terminal when that is started and running:
java -jar lib/webserver-0.0.1-SNAPSHOT.jar --spring.config.location=file:config/config.properties
from bms-to-inverter.
the bms-to-inverter application fails to run:
from bms-to-inverter.
Could you please replace your log4j2.xml in your config folder with this one (please remove the suffix .txt):
log4j2.xml.txt
and run the program again to get more information. It is very strange that there is not more in the log.
from bms-to-inverter.
here you go.
newlog.log
from bms-to-inverter.
It looks like your install did not finish downloading all the libraries. Please check your lib directory in the installation folder. I'm pretty sure its missing a file called netty-common-4.1.94.Final.jar.
But back to the problem of this issue:
- Have you tried to run the Configurator application on a PC? How does it look there? Then you can copy the files over via SCP or a USB stick.
- Have you tried running the_Configurator_ application directly on the PI without using VNC but a connected monitor?
- Could you tell me what PI model you are using and which Java is installed (
java -version
in the terminal)
I'm sure we'll find the cause of this now pretty quickly. I've tested the Configurator application from here
now on 3 Pi's (3B, 4B and 5) and its working on all 3, including PC.
My guess it might be a problem with the VNC.
from bms-to-inverter.
running directly on the Pi the configurator worked correctly without issues but I still have the crash in bms-inverter
from bms-to-inverter.
Still the java.lang.ClassNotFoundException: io.netty.util.internal.PlatformDependent exception?
Could you please delete the .m2 folder in your home folder and also delete your installation folder and do a fresh Clean install again and be sure to enable the Webserver, the MQTT Broker Server and MQTT Producer services.
Maybe the Netty Jar file is corrupt due to a incomplete download.
from bms-to-inverter.
did a clean install on PC and copied over to the PI. it's running again but the can info is still wrong on the web page. A can dump does look correct but not the values displayed on the page
from bms-to-inverter.
can0 35E [8] 4C 45 4F 43 48 20 20 20 'LEOCH '
can0 359 [8] 00 00 00 00 04 50 4E 00 '.....PN.'
can0 351 [8] 34 02 D0 07 A0 0F B0 01 '4.......'
can0 355 [8] 42 00 64 00 00 00 00 00 'B.d.....'
can0 356 [8] CE 14 F7 FF BE 00 00 00 '........'
can0 35C [8] C0 00 00 00 00 00 00 00 '........'
from bms-to-inverter.
Hi,
can you confirm that the Configurator is working? Because then I would close this issue and continue the discussion in the issue #20
from bms-to-inverter.
Yes. Configurator is working correctly. We can close this
from bms-to-inverter.
Related Issues (19)
- 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
- JK BMS RS485 doesn't work HOT 10
- Raspberry Pi 5 compatibility HOT 2
- 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.