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

Could this add-on be used without an MQTT server? #36

Closed
TheAssassin opened this issue Feb 12, 2024 · 1 comment
Closed

Could this add-on be used without an MQTT server? #36

TheAssassin opened this issue Feb 12, 2024 · 1 comment

Comments

@TheAssassin
Copy link

TheAssassin commented Feb 12, 2024

The documentation hint towards the requirement for an MQTT server, which is needed to ingest the sensor data into Home Assistant (and also enable auto-discovery). Given that this is an "add-on" to Home Assistant, I could imagine that the data could be passed to Home Assistant directly.

Is it possible to remove this dependency? I do have Mosquitto running anyway, so I'm not affected by this, but then again, it doesn't make a lot of sense to me. However, I don't know very much about Home Assistant's add-on/plugin system, and this could be an entirely normal thing to do.

Please note that I do appreciate the MQTT integration which I could potentially use with other software, e.g., EVCC. If there is an alternative way to pass the messages, this should be retained as an optional feature. As far as I can see, the SMA-EM scripts support that anyway and you seem to be using that, too.

Edit: I forgot to include this: thank you for providing this plugin in the first place. Users of SMA energy meters can enjoy live energy comsumption/supply data along with long-term statistics and use those to optimize their power use. It's much easier to setup than, e.g., the original SMA-EM project with MQTT.

@kellerza
Copy link
Owner

An addon is an isolated Docker container. So you need some way to communicate.

ESPhome has an alternative to MQTT, but no plans to do anything like this

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