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

openHAB MQTT Channel Autodiscovery not working cause name=null #245

Open
BOFH90 opened this issue Nov 23, 2023 · 2 comments
Open

openHAB MQTT Channel Autodiscovery not working cause name=null #245

BOFH90 opened this issue Nov 23, 2023 · 2 comments

Comments

@BOFH90
Copy link

BOFH90 commented Nov 23, 2023

After flashing and connecting to WiFi and setting up the MQTT-connection, openHAB discovered the device, but showed no available channels. After looking through the openhab.log, I discovered that the HA-config could not be adopted, cause the "name" in the config-topic was "null". So I edited the config and changed the name from nullptr to something else, the channels were successfully created.

That's the part, that needs to be adjusted.:
haConfig["name"] = nullptr;

Also the swing-modes are not detected by openHAB. I have to find a solution to this problem as well.

@willyfromtheblock
Copy link

willyfromtheblock commented Feb 21, 2024

https://www.openhab.org/addons/bindings/mqtt.homeassistant/

The HomeAssistant Climate Components is not yet supported.

Are you certain this will work even if this field are set correctly?

@BOFH90
Copy link
Author

BOFH90 commented Feb 22, 2024

Yes, I do. I edited the haConfig to something random for my devices and the OH Autodiscovery worked after that.

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