I think there is something wrong in your config.
The Failed to subscribe to topic
messages are normal. I still need to adapt the plugin to be compatible with MQTT 5 that now reports Quality of Service levels as return codes while in previous versions everything besides 0 was an error.
But what I’m missing is Declaring button ...
and Declaring blinds ...
messages in the logs. These are the messages that indicate that my addon created the devices in HA. As they do not show in your log, that would mean that the Devices list is not parsed correctly.
As I don’t see it in the config contents you pasted, are you sure the initial {
in the beginning of the `addons/Easywave2MQTT/app/appsettings.json’ file is there? For reference I’ve added the complete config file contents below.
{
"LogLevel": "Information",
"SerialPort": "/dev/ttyUSB0",
"EasywaveActionTimeout": "500",
"EasywaveRepeatTimeout": "80",
"MQTTServer": "192.168.1.210",
"MQTTPort": "1883",
"MQTTUser": "easywave",
"MQTTPassword": "easywave",
"Devices": [
{
"Id": "18df10",
"Type": "Transmitter",
"Name": "Buero OG",
"Area": "Büro",
"KeyCode": [
"A",
"B",
"C"
]
},
{
"Id": "bBuerO",
"Type": "Blind",
"Name": "Blind Buero OG",
"Area": "Büro",
"Subscriptions": [
{
"Address": "18df10",
"KeyCode": "A"
},
{
"Address": "000010",
"KeyCode": "A",
"CanSend": "true"
}
]
}
]
}
Another strange thing are the Ignored incoming MQTT message for unknown device 000001
and Ignored incoming MQTT message for unknown device 000010
I see. I’m guessing you are trying to send mqtt messages yourself, but these are not correct, as the commands should be targeted to device bBuerO
and not to the subscriptions that drive it. And this will only work if the addon declared the devices correctly.