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

Home assistant auto discovery is not working (nothing is published in the homeassistant topic) #1192

Closed
simonCor opened this issue Aug 1, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@simonCor
Copy link

simonCor commented Aug 1, 2023

What happened?

It seems that the homeassistant mqtt auto discovery does not publish anything under the configured prefix.

The auto discovery did not work for me so i poked around and found the following:

This the opendtu config:
image

This is the state of the mqtt server:
257607710-b1fd4ed1-8b7c-4a40-8293-b807588a20a3

The solar topic is published but I would expect a "homeassistanttest" topic for auto discovery.

To Reproduce Bug

  • Configure opendtu for autodiscovery
  • Start the device

(I do not know if this is important: Currently the device is not connected to the inverter - because it is not yet here)

Expected Behavior

A working auto discovery in home assistant.

Install Method

Pre-Compiled binary from GitHub

What git-hash/version of OpenDTU?

v23.7.22

Relevant log/trace output

none

Anything else?

  • I use Home Assistant 2023.4.2 but I don't think this is important
  • The device is not connected to an inverter
@simonCor simonCor added the bug Something isn't working label Aug 1, 2023
@tbnobody
Copy link
Owner

tbnobody commented Aug 1, 2023

Currently only inverter specific sensors and buttons are published. If you don't add any inverters nothing has to be published into the auto discovery topic. Therefor everything works absolutly as expected.
There is a open feature request (#1050) but its not implemented at the moment.

@tbnobody tbnobody closed this as completed Aug 1, 2023
Copy link

github-actions bot commented Apr 4, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants