Stream sensor readings and control devices between Home Assistant and jettyd over MQTT.
JETTYD_CLIENT_ID — your device UUIDJETTYD_PASSWORD — your device key (dk_…)JETTYD_TENANT_ID — your tenant UUIDmqtt.jettyd.com:8883 (TLS required)Choose the path that fits your setup:
In Home Assistant: Settings → Add-ons → Mosquitto broker → Configuration. Alternatively, SSH into the HA host.
Create /share/mosquitto/conf.d/jettyd-bridge.conf with the following content, substituting your credentials:
connection jettyd-bridge
address mqtt.jettyd.com:8883
bridge_tls_version tlsv1.2
try_private false
start_type automatic
topic jettyd/# both 1
remote_clientid <JETTYD_CLIENT_ID>
remote_username <JETTYD_CLIENT_ID>
remote_password <JETTYD_PASSWORD>
topic jettyd/# both 1 line mirrors all jettyd/… topics in both directions at QoS 1. Narrow this pattern if you only need one-way telemetry.
In the add-on page, click Restart. Wait ~10 seconds for the bridge to establish.
Open the Mosquitto add-on log. You should see a line similar to:
Notice: connected to jettyd-bridge
If you see connection refused, double-check your credentials. If you see a TLS error, confirm the host system trusts the Let's Encrypt root CA (usually pre-installed on modern OS images).
In Home Assistant: Settings → Devices & Services → MQTT → Configure.
mqtt.jettyd.com8883<JETTYD_CLIENT_ID><JETTYD_PASSWORD>Click Submit. HA will test the connection immediately. A green checkmark confirms it is connected.
After either path, publish a test telemetry payload from your workstation to confirm end-to-end delivery:
mosquitto_pub \
-h mqtt.jettyd.com -p 8883 --tls-use-os-certs \
-u "$JETTYD_CLIENT_ID" -P "$JETTYD_PASSWORD" \
-t "jettyd/$JETTYD_TENANT_ID/$JETTYD_CLIENT_ID/telemetry" \
-m '{"readings":{"temperature":22.0}}' \
-q 1
Open the jettyd dashboard and confirm the reading appears under your device within 30 seconds.
mqtt-staging.jettyd.com:8883 before pointing production HA at mqtt.jettyd.com. Use the same credentials — the staging broker shares the same auth backend.
jettyd-bridge.conf is inside the conf.d/ subdirectory that Mosquitto loads. Verify the file has no Windows line endings.update-ca-certificates on Debian/Ubuntu-based systems).CONNACK 5): Confirm remote_username and remote_clientid are both set to your device UUID, not a human username.