mitsubishi2MQTT icon indicating copy to clipboard operation
mitsubishi2MQTT copied to clipboard

openHAB MQTT Channel Autodiscovery not working cause name=null

Open BOFH90 opened this issue 1 year ago • 2 comments

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.

BOFH90 avatar Nov 23 '23 07:11 BOFH90

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?

willyfromtheblock avatar Feb 21 '24 20:02 willyfromtheblock

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

BOFH90 avatar Feb 22 '24 05:02 BOFH90