Skip to content
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

experimental/solax_test.yaml doesn't match X1 Hybrid registers via JSON API #19

Open
M0LTE opened this issue Jan 22, 2022 · 8 comments
Open

Comments

@M0LTE
Copy link

M0LTE commented Jan 22, 2022

Not an issue really but just a note, since I can't add a comment.

I have an X1 Hybrid with Pocket Wi-Fi and pulling data via the /?optType=ReadRealTimeData endpoint. This returns JSON - 200 parameters.

I was hoping that these would line up with what you've documented here, for the X3, but sadly not the case.

I can't find any documentation yet about most of these values and while I've picked out some key ones (string 1 power, string 2 power, battery SoC), there's many which are very confusing.

I'm also looking for a way to set the % max battery SoC for overnight charging via API as well - this will be key in the summer months.

I'm aware of the following endpoints but no documentation anywhere.

?optType=ReadRealTimeData
?optType=ReadSetData
?optType=BatteryMinEnergy&BatteryMinEnergyValue={{{payload}}}&
?optType=SolarChargerUseMode&SolarChargerUseModeValue={{{payload}}}&
?optType=Password&PasswordValue={{{password}}}
?optType=ActivePowerLimit&PasswordValue={{{password}}}&ActivePowerLimitValue={{{payload}}}

Cheers, and any feedback welcome. Oh, and port 502 isn't open on the Pocket Wi-Fi.

@wills106
Copy link
Owner

wills106 commented Mar 1, 2022

I can't really give any advice or comment on anything PocketLAN / PocketWiFi as I don't own either.

If you can, I would strongly suggest you run an ethernet cable direct to your Inverter and use this https://github.com/wills106/homsassistant-solax-modbus

@M0LTE
Copy link
Author

M0LTE commented Mar 29, 2022

Hi @wills106 thanks for this.

My inverter is a X1-Hybrid-5.0-D. It does not appear to have its own onboard Ethernet - only RS485, and a USB port, into which you can plug the PocketLAN or PocketWiFi.

Are you aware of anything that's been done with the RS485 port?
Any other comments / thoughts?

@wills106
Copy link
Owner

I am guessing you have a Gen4 Inverter then if you don't have the built in Ethernet port?

If you look in the Wiki on the Integration repository there is documentation on how to use either an RS485 - USB dongle or a RS485 - Ethernet adaptor.

@M0LTE
Copy link
Author

M0LTE commented Mar 29, 2022

It's only this evening that I found that the port marked "COM/LCD" is in fact an RS485 port.

The very next resource I found after typing my last comment was the wiki describing the integration. Thank you, can't wait to see if this works. RS485 to Ethernet adapter will be here tomorrow.

@wills106
Copy link
Owner

wills106 commented Mar 29, 2022

When you get chance could you have a look at this post If your Inverter is different to that list could you reply with the details please.

Also fell free to join in any conversations on there.

@M0LTE
Copy link
Author

M0LTE commented Mar 29, 2022

Will do, thanks.

@mc4wrk
Copy link

mc4wrk commented Feb 24, 2024

I will, sorry to bother you but I lost your integration and now I can't reinstall it. I have received the following message "Repository wills106/homeassistant-solax-modbus not found" . This means that the integration with USB dongle modbus does not work anymore? Should I go anothwer way and try what you suggested above? RS485 to Ethernet? Thank you for reply and help. All the Best.

@mc4wrk
Copy link

mc4wrk commented Feb 24, 2024

I mean Will.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants