lyve1981 / growattusbmodbus Goto Github PK
View Code? Open in Web Editor NEWGrowatt ModBus => MQTT translation service
License: MIT License
Growatt ModBus => MQTT translation service
License: MIT License
Hello, everyone.
I installed the project and it was relatively easy to set up. However, I don't know exactly how to proceed because I don't know that much about Modbus.
My problem is I don't have all the data I would like in Node-Red. I miss the current power. Here is an example of what I get:
pvstatus: 9
pvpowerin: 0
pv1voltage: 0
pv1current: 0
pv1watt: 0
pv2voltage: 0
pv2current: 0
pv2watt: 0
pvpowerout: 0
pvfrequentie: 5001
pvgridvoltage: 4060
pvgridcurrent: 0
pvgridpower: 344
pvgridvoltage2: 4187
pvgridcurrent2: 0
pvgridpower2: 0
pvgridvoltage3: 4125
pvgridcurrent3: 0
pvgridpower3: 0
eactoday: 28
pvenergytoday: 28
eactotal: 162
totworktime: 579968
epv1today: 36
epv1total: 194
epv2today: 0
epv2total: 0
epvtotal: 194
pvtemperature: 255
pvipmtemperature: 237
pvboosttemp: 235
bat_dsp: 11
eacharge_today: 2
eacharge_total: 7
batterytype: 1
uwsysworkmode: 9
systemfaultword0: 0
systemfaultword1: 0
systemfaultword2: 0
systemfaultword3: 33348
systemfaultword4: 32
systemfaultword5: 0
systemfaultword6: 0
systemfaultword7: 0
pdischarge1: 0
p1charge1: 0
vbat: 0
SOC: 0
pactouserr: 3800
pactousertot: 3800
pactogridr: 0
pactogridtot: 0
plocaloadr: 3800
plocaloadtot: 3800
spdspstatus: 9
spbusvolt: 38
etouser_tod: 99
etouser_tot: 477
etogrid_tod: 14
etogrid_tot: 47
edischarge1_tod: 0
edischarge1_tot: 0
eharge1_tod: 0
eharge1_tot: 0
elocalload_tod: 117
elocalload_tot: 611
datalogserial: "ModBus2USB"
pvserial: "TJJ4CG300D"
I use the GROWATT SPH 4000TL3 BRA-UP
Thank You
delete me
Hi Lyve, using your project to publish to the the registers could I dynamically enable export control on my inverter? This would be incredibly useful.
Hy
allways get a Code error:
C:\Users\Schwaigi\Downloads\GrowattUsbModbus-main
(2)\GrowattUsbModbus\GrowattUsbModbus.ino: In function 'bool sendError(const ArduinoJson6201_F1::StaticJsonDocument<1024>&, const char*)':
C:\Users\Schwaigi\Downloads\GrowattUsbModbus-main (2)\GrowattUsbModbus\GrowattUsbModbus.ino:95:1: error: no return statement in function returning non-void [-Werror=return-type]
95 | }
| ^
C:\Users\Schwaigi\Downloads\GrowattUsbModbus-main (2)\GrowattUsbModbus\GrowattUsbModbus.ino: In function 'bool sendError(const char*)':
C:\Users\Schwaigi\Downloads\GrowattUsbModbus-main (2)\GrowattUsbModbus\GrowattUsbModbus.ino:99:1: error: no return statement in function returning non-void [-Werror=return-type]
99 | }
| ^
cc1plus.exe: some warnings being treated as errors
exit status 1
Compilation error: no return statement in function returning non-void [-Werror=return-type]`
Error when compiling
/home/anton/GrowattUsbModbus/configfile.cpp:4:10: fatal error: String.h: No such file or directory
4 | #include <String.h>
| ^~~~~~~~~~
compilation terminated.
Could you possibly confirm which String.h file to use
Bonjour,
j'ai des erreurs de compilation voir fichier j'ai ajouté les carte esp 8266 merci d'avance de votre aide.
erreur growatt.txt
Do you know if this will work for my inverter?
I alrady flahed a device and if it will work this would be perfekt for me.
Thank you verry much
Have new SPF 3000TL LVM and get this message with two different ESP8266 boards. Suspect Growatt has changed their firmware.
Anyone had any recent success?
Thx in advance
for english see below:
Hallo,
ich habe den sketch kompiliert und auf mein nodeMCU esp8266 /CH340 geflashed. Einbundung in WLAN und MQTT geht ohne Probleme. Leider gibt es bei der response Ausgabe immer einen Fehler. err code 255 - keine Verbindung .
Wechselrichter SPF3500ES
Jemand eine Idee?
Viele Grüße
Felix
Hello,
i compiled the sketch and flashed my nodeMCU esp8266 / CH340 . Setting up wifi and MQTT works fine. Sadly there is no connection to the inverter. Err code 255, no conncection.
Inverter SPD3500ES
Does someone have any idea?
Regards
Felix
Hey there,
thanks for the project. When compiling i get the error message:
Missing PubSubClient.h.
Also it is not listetd in your Code directory
Regards
Felix
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.