-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Json from ESP local server #13
Comments
Check out my git SofarCtrl it is a modified copy of Colin's code with a webserver and OTA support. |
@cliffdude |
Yes, you can not use mqtt. I just commented it out and rest "works". |
Yes, you are correct, I use personally mqtt but you do not need to! Check in the code and you will understand what to do. |
Thank you for the quick response. I have ordered the parts as soon as the arrive I will start this project. |
@jezikk82 |
@jezikk82 Thank you very much i'll check this also with my device. |
Ok , received the espc and setup the hardware on temporary project board. |
my uploaded code in esp |
I think this should be what you need. If you can take the time to debug it
that would be great as I sometime get strange values that I need to filter
out via Home Assistant in order to not mess up my graphs and energy
calculations.
https://docplayer.net/200949628-Sofarsolar-modbus-rtu-communication-protocol.html
…On Sat, Dec 4, 2021 at 1:32 PM schritta ***@***.***> wrote:
my uploaded code in esp
Hybrid-web_OTA.txt
<https://github.com/cmcgerty/Sofar2mqtt/files/7654007/Hybrid-web_OTA.txt>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOGAXEBFSDXOLSJCJHJUW5DUPIJ73ANCNFSM5IMRAEBA>
.
|
thanks I'll try to debug it, but I aim not a specialist. |
here you have newer version of modbus for hybrid inverters. What inverter and datalogger firmware you have ? |
I have the LSW3_14_FFFF_1.0.00 and a HYD-4000-ES with Pylontech Li-on
batteries.
The Wifi logger has nothing to do with this ESP program as it gets data via
the RS485 port on the inverter itself.
You should see an rs485 logo on the inverter screen at the top left if you
have correctly connected the adapter. If you adapter has Leds they should
also flash both tx and rx.
Try swapping the rs485 + and - wires on the inverter.
I did try to connect to the inverter with my pc and an adapter but that did
not work!!!
Good luck
A sábado, 4/12/2021, 17:55, jezikk ***@***.***> escreveu:
… here you have newer version of modbus for hybrid inverters.
SofarHYD ES ME3000SP Modbus protocol.pdf
<https://github.com/cmcgerty/Sofar2mqtt/files/7654366/SofarHYD.ES.ME3000SP.Modbus.protocol.pdf>
What inverter and datalogger firmware you have ?
I have v302 and LSW3_15_FFFF_1.0.78 and in my case I cant get any data
neither by ModBus RTU or TCP :(
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOGAXEH5L54MKG4HPZMAFF3UPJIXTANCNFSM5IMRAEBA>
.
|
I have SW version 2.90 HW version 1.00 HYB-5000-ES, and yes i got the rs485 symbol in the left upper corner . |
I see the rs485 logo but the when I try to get data from inverter I got crc error on all 0x03 function code and all registry. |
any update ? |
I have received the mod-bus RTU protocol from sofar 5 days ago, but the Solar PV2 has the same modbus address so i did a calculated solarPv2 value in node red "SolarPV - SolarPV1 = SolarPV2" so now I've got all the data needed to build my node red flows. The most important addresses are listed on page 15 Panel string information see pdf. |
Hi All. Sofar2mqtt V2.0 beta1 has been published today, which is a major write and should bring much greater stability. Any testing would be greatly appreciated. I'm especially keen to get feedback from owners of hybrid inverter models as we have now combined it into a single file. Just uncomment your model at the top of the file. @cliffdude I still really like your fork that delivers the json output directly. For a Node-Red user like me I could skip the mqtt server entirely. Sorry if it's too much work to merge them. But it might be something we can collaborate on. |
I will try your V2 as I gave stability issues with some of the returned
values Most of the it's fine but I get the odd values that have to be
filtered out. It could be my hardware... If it works better I will try to
add the webserver component and Json output to it.
I just customized your original for my needs.
A domingo, 24/04/2022, 12:27, cmcg ***@***.***> escreveu:
… Hi All.
Sofar2mqtt V2.0 beta1 has been published today, which is a major write and
should bring much greater stability. Any testing would be greatly
appreciated. I'm especially keen to get feedback from owners of hybrid
inverter models as we have now combined it into a single file. Just
uncomment your model at the top of the file.
@cliffdude <https://github.com/cliffdude> I still really like your fork
that delivers the json output directly. For a Node-Red user like me I could
skip the mqtt server entirely. Sorry if it's too much work to merge them.
But it might be something we can collaborate on.
—
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOGAXEGSUNGAKSJAV3BGWD3VGUV2RANCNFSM5IMRAEBA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Would be happy to merge but I removed the LCD that I did not need and we should merge for V2. |
Hi, would it be possible to present data in json format on local (on ESP) Web server?
I want to integrate it with smart home solution based on plc.
I don't have mqtt server and gateway for my plc so it would be much easier to work with json or any other format with i can get by http request from.
The text was updated successfully, but these errors were encountered: