I have two problems with the MQTT plugin. The first one is that the plugin is failing to connect to my desired MQTT server (I am following the instructions on the Glow IHD/CAD Indigo Plugin) but there is nothing useful in the logs. Here is what I see on Debug mode when I restart the plugin:
- Code: Select all
MQTT Connector Debug MQTT Connector: logLevel = 10
Started plugin "MQTT Connector 0.4.10"
MQTT Connector Starting MQTT Connector
MQTT Connector Glowmarkt MQTT Broker: Starting Device
MQTT Connector Debug Glowmarkt MQTT Broker: Broker __init__ address = glowmqtt.energyhive.com, port = 8883, protocol = 4, transport = tcp
The second problem is why the connection fails. I know why it fails but not sure how to fix it. The desired MQTT server I want to connect via MQTTS uses certificates issued by LetsEncrypt. Recently some of the root CA certs LetsEcrypt uses have expired and need to be updated. This caused lots of trouble for older devices (see here) like my MacOS Mojave MacMini. Technically Mojave is still under Apple Support but it seems they don't care much. I looked around on how to update the OS CA root certs but looks like this is not easy to do as the certs are protected by System Integrity Protection (see here).
Does anyone have an idea on how to solve this? It's not really a MQTT problem but thought I will ask here first.
Thanks!