G-Two / smoke-x-receiver

An ESP32+LoRa application to bridge a ThermoWorks Smoke X remote thermometer to Home Assistant via MQTT
MIT License
14 stars 5 forks source link

MQTT CA Certificate is required #17

Open PhantomPhoton opened 9 months ago

PhantomPhoton commented 9 months ago

Per the readme.md file

The web UI is also used to configure the device to connect to an MQTT broker. The MQTT URI is the only mandatory field, the rest are optional and will depend on your specific MQTT broker configuration. MQTTS server authentication is supported by entering a trusted CA PEM via the web UI. PKI client auth is not currently supported.

However, when entering values, leaving the CA Certificate field empty throws an error CA Certificate is required.

The CA certificate should be allowed to be empty.

Thank you.

G-Two commented 9 months ago

Thanks for catching that. This should fix it: https://github.com/G-Two/smoke-x-receiver/commit/d13fce1baf0dba25ca8c244ec5ee91817d9036e1