Comments (8)
Hi,
i just committed an update. There was a memory leak in weboutput of "itemconfig" (-> null after Inverterstatus)
Another mistake by you was the definition of "id", you forgot a space ;)
So, just clone the repo and test again
from solaxmodbusgateway.
Hi,
Something on your Json Definition is not well defined.
`Error: unable to read configdata for inverter ���?�: NoMemory
Failed to parse JSON Register Data: EmptyInput
Failed to parse JSON Register Data: NoMemory `
can you Post your json Definition of Register.h please?
from solaxmodbusgateway.
I posted the register.h as text file above..
Github tells me "We dont support that file type" if i drag and drop it here...
May that be caused by the name string I chose?: "Sofar-KTL Solarmax-SGA"
from solaxmodbusgateway.
at first, your definition of "RequestIdData" is wrong. please use:
"RequestIdData": ["#ClientID", "0x04", "0x20", "0x00", "0x00", "0x0B"],
and try again
from solaxmodbusgateway.
Hi, thanks for your response.. (its not urgent, you can take your time :-))
I changed it, but it seems to make no difference. This time:
Inverter found: Sofar-KTL Solarmax-SGA
Read config data for inverter ���?␟
{
That is directly after reset before communication - so which config data does that refer to..?
I assume its from the ESP flash...
Further down in the log the IdData request comes ( I set the live data to one every 10s, and the IdData to one every 60s)
but I get "no response from client"
This is after I changed the Register file as you advised to:
"Sofar-KTL Solarmax-SGA": {
"config": {
"RequestLiveData": [
["#ClientID", "0x03", "0x00", "0x00", "0x00", "0x30"]
],
"RequestIdData": ["#ClientID", "0x04", "0x20", "0x00", "0x00", "0x0B"],
"ClientIdPos": 0,
"LiveDataFunctionCodePos": 1,
Could the 9600 Baud be a problem - not sure if I can change that.
After about an hour I finally get an answer but it seems as if the Serial is still not parsed:
from solaxmodbusgateway.
Good One!: I can select the items now and they are being passed to MQTT. In other words I can actively use it now.
Only little drawback: The serial number is not decoded in the first attempts to read the "id": The log shows:
Request queue data to inverter: 0x01 0x04 0x20 0x00 0x00 0x0B 0xBA 0x0D
Read Data from Queue:
no response from client
After a few minutes it gets the id and I have my Serial Number display as well.
Attached is the register.h file (for further reference):
register_h.txt
Thanks, I can dismiss the Chinese logger now. :-)
from solaxmodbusgateway.
Big THANKS! to Tobias - Everything solved in no time!
from solaxmodbusgateway.
finally added by 9ef955d
from solaxmodbusgateway.
Related Issues (20)
- Growatt 3000tl3 XH HOT 34
- Version 3.1.1 keine RAW Daten HOT 3
- Übertragene Werte springen immer wieder auf unplausible values HOT 52
- v3.2.0 mit ESP32-S2 nicht verwendbar HOT 15
- Aktuelle v3.1.1 für ESP32-S2 zeigt keine "Item Config" Liste! HOT 1
- No Support vor Deye Inverters in V3.0 HOT 3
- include Pace BMS Modbus Protocoll HOT 7
- Growatt WR SPH auslesen HOT 15
- Serienummer Deye HOT 14
- Add Solax X3 Ultra Inverter to the list HOT 1
- send data to esp and change values on the inverter over mqtt HOT 4
- Wifi AP password not correct HOT 1
- ESP32-S3 littlefs fehlt | Bootloader Register 0x0 HOT 4
- Initiialisierung Laufvariable HOT 1
- Solax X3 Hybrid G4 issies with 3.2.0 HOT 3
- Store Item Config not working, saved file corrupt HOT 1
- Letztes Register (0x77) wird falsch ausgegeben HOT 10
- Anzeige der Raw Data ist kaputt (seit commits am 11.3.24) HOT 7
- 404 not found HOT 2
- Modbus Spec QVolt / Solax-Hybrid G4 v3.29 HOT 1
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 solaxmodbusgateway.