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

Suggestion: HA add-on #99

Open
austinmroczek opened this issue Nov 19, 2023 · 5 comments
Open

Suggestion: HA add-on #99

austinmroczek opened this issue Nov 19, 2023 · 5 comments

Comments

@austinmroczek
Copy link
Contributor

Has anyone made this into a Hass OS add-on ? https://developers.home-assistant.io/docs/add-ons/. Seems like you're 90% of the way there since you have a working container.

I'm willing to figure it out and submit a PR. Just wanted to ask first in case someone had already done it. I'm not seeing it, but may be using the wrong search terms.

@austinmroczek
Copy link
Contributor Author

@austinmroczek
Copy link
Contributor Author

I have a working prototype at https://github.com/austinmroczek/addon-solarman-mqtt if anyone wants to give it a try.

@mpepping
Copy link
Owner

Nice work, @austinmroczek! I was experimenting with this as well.

My thought was, when this becomes an add-on, then the MQTT part becomes obsolete, as it is possible to create/update native HA sensors directly. So, where MQTT now is used to get the Solarman data in HA, an add-on should provide a more native way of doing the same.

@austinmroczek
Copy link
Contributor Author

We could make it into an HA Integration, but then we would need to know how to handle various kinds of Solarman logger equipment. Or we would have to make integrations for each type of equipment. For example, I'm doing this to read data from my NeoVolta battery. I think for at least the near future, we'll want to keep MQTT and have users create template sensors like you currently have set up.

@austinmroczek
Copy link
Contributor Author

I think there is a lot we could do to simplify setup for users. All of those curl calls can probably be put into python and we could find stationId and other settings automatically.

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

2 participants