edit: add intro vid to project
---
Started this last night, because i wasn't able to find a working solution for my inverter. so... i made one.
I started with someone else's random code, and basically rewrote the whole thing. so its a whole new beast... and i thought i'd share it.
This allows...
for monitoring. a new project so the code is still changing alot.
https://github.com/HotNoob/InverterModBusToMQTT + home assistant.
im shilling for my stuff tho.
i just added eg4 6000xp "support" completely untested tho.
Hi,
So, i have a solar setup, my batteries are in 4x 12v series.
i would like to add a wind turbine ( or 2 ) to my setup.
the issue is my battery system runs at 48v, and for the most part i can't find "cheaper" wind solutions for 48v systems.
So, can i tap into a 4x 12v series, with two 24v...
Big rewrite / renaming of the project.
growatt specific instructions :
https://github.com/HotNoob/PythonProtocolGateway/wiki/Growatt-To-MQTT
if you have trouble understanding instructions, please let me know. with the big rewrite i'm not sure how to explain things in a user-friendly way.
EG4 inverters have been confirmed to be working with my project... which i swear i rebranded / renamed for the last time :p
This allows you to plug your inverter into a server / computer / device with usb ( in the case of eg4 a modbus to usb cable ), and have it dish out it's information to...
https://github.com/HotNoob/InverterModBusToMQTT/commit/212a2855c0db81ed0593fc083db148b3c9656472
i've just added write support. need more testing and programming but it is working.
currently has strict requirements before writing can be enabled.
i'll be adding a manual verification process...
im going to post this here as well cause i see a lot of threads about getting data from growatt to homeassistant here.
no internet connection required, no wifi stick.
---
Started this last night, because i wasn't able to find a working solution for my inverter. so... i made one.
I started...
just go open source. the protocols underlying all that solar hardware is somewhat standardized...
https://github.com/HotNoob/InverterModBusToMQTT
^^^ solar stuff and really general automation stuff all uses some sort of modbus protocol ( or can bus... which i might add later ). just don't plug...
rs485 voltage i think can be as high as 12v, and can bus typically goes to 3.5v.
solar manufacturers like to put BOTH canbus and rs485 in the same rj45 socket...
so, if you cross the canbus in to the rs485, it can fry. i'd guess that's what happened here.
i probably miss wired myself while...
can confirm, their support is still garbage. but at least you get the product.
just don't count on the warranty for anything... they just told me i could have voided the warranty by following their instructions.
if you give me some time i can add support for it to my project. or if your in a rush you can implement it. not too hard to make the config/csv files.
https://github.com/HotNoob/PythonProtocolGateway/tree/main
assuming SRNE's v1.7 v3.9 modbus protocol is the correct one.
followed the above pdf to this:
https://www.victronenergy.com/upload/documents/Technical-Information-Interfacing-with-VE-Bus-products-MK2-Protocol-3-14.pdf
cool.
i could probably implement it in my project... when i have the time :p maybe next fall/winter.
ima add this to my list.
edit: oops...
i just got 2x SOK 48v 100AH batteries. coming from FLA; the wife beat the FLAs into... an early death... and 5 weeks of solid nonstop dark clouds sure didnt help...
i have 2x sigineer M3000H-48LV-3KW hybrid inverters
anywho; the SOK documentation is a bit... you know.
and when i got the...
nevermind!
i got it. got an idea while writting this, and litterally 30 seconds after i think i got it.
not documented.
still using protocol "L02"
rj45 cable inbetween the two inverters via the rs485 expansion port.
and rj45 cable between the master battery rs485 port and any of the bms...
https://github.com/HotNoob/PythonProtocolGateway/commit/940a2ecf736549b9a802f122e4c4aea0e3a75edd#comments
implemented in v1.1.2 branch. untested.
be aware the write functionality is still in it's infancy for this project.
just implemented SRNE's modbus for my project for v1.1.2.
https://github.com/HotNoob/PythonProtocolGateway/commit/940a2ecf736549b9a802f122e4c4aea0e3a75edd#comments
untested... a lot of weird things in their documentation. so could need a bit of testing to get it going well.
writing is sitll...
50hz 230v, something wrong with the grid power over there. 245v is above 10% tolerance. could fry 230v electronics. :P
honestly, the inverters seem to be all the same to me. everyone is stealing or sharing all of the hardware and software designed inbetween them. or rebranding everything. i...
oh, i did have an idea last night on how i could write a protocol detection feature; then it would be much safer to write / send commands.
not sure if i'll implement it; i am tight on time... lots todo out here. :P
oh... decided to do a rebranding.
InverterModBusToMQTT, since this can easily do any inverter that does modbus over serial ( USB-B Port ) and... i started adding my sigineer inverters.
i think EG4 is big in the states, so i'll do that one after sigineer.
pymodbus does the heavy lifting.
https://pymodbus.readthedocs.io/en/latest/source/client.html
haven't tried sending commands, but probably do-able...
however, it's not a good idea, because acording to the documentation... there are a several settings that really shouldn't be writeable, but are...
hmmm... anythoughts on that bluesea disconnect switch? on amazon it says 32volt and 350 amp.
battery system being 48v hitting ~60v is almost double the rated voltage.
ooof... i don't have one of theese, but modbus over bluetooth.... what will theese chinese hack together next!
100% hacked together product :P
i also see wifi monitoring feat? i wouldnt be surprised if thats modbus over tcp.
also, there is a communication port. labeled #14 for AC300.
i bet...
yup, manual says all 3 can be used. in the above case, the INV485 port was being used.
wiki / device specific instructions: https://github.com/HotNoob/PythonProtocolGateway/wiki/Devices%5CEG4-to-MQTT
Hiya.
I've finally gotten around to testing and adding sigineer's protocol to my project.
https://github.com/HotNoob/InverterModBusToMQTT
best to clone from git for sigineer; otherwise v1.0.7 is stable
Thought i'd share for anyone else running a sigineer inverter.
I'm running a Sigineer...
https://github.com/HotNoob/InverterModBusToMQTT
implemented eg4 6000xp protcol in this, but never tested cause i dont have one :p
https://github.com/HotNoob/InverterModBusToMQTT/blob/c704fa3e749d9a5cbaab45790a51d5efb1ee36bf/inverter.py#L194-L304
this bit is where i process the values, from...