I made a helm chart for running Eclipse Mosquitto in a k8s cluster for my Home Assistant and wrote a blog post showing how to configure and install it.

https://unixorn.github.io/post/homelab/k8s/06-install-mqtt/

#k8s #homelab #homeassistant #mqtt #mosquitto #helm @homeassistant @homelab #selfhosting #iot

Install MQTT into k8s

Now that the cluster is up and has Argo CD controlling application deployment, I’m starting to move my homelab services out of docker-compose stacks and into my k8s cluster. I run MQTT (Eclipse Mosquitto in my case) as a message bus between zigbee2mqtt and zwave-js-ui and Home Assistant, so it’s the first service I’m moving into the k8s cluster.

unixorn.github.io

Short blog post on a few necessary adaptions when updating to Mosquitto 2.1: https://blog.mei-home.net/posts/mosquitto-2-1-update/

(Please note the length. Project "Posts, not tomes" yet lives. 🎉 )

#Blog #HomeLab #Mosquitto

Mosquitto: Update to v2.1

It needs a few changes...

ln --help

I'm impressed by the upcoming mosquitto v2.1 server, currently in RC2. As a server, it blows the others I've tested out of the water.

The usual benchmark analysis and links to the raw data at https://github.com/gonzalop/mq/blob/main/docs/PERFORMANCE_ANALYSIS.md

#mosquitto #mqtt #iot #go

mq/docs/PERFORMANCE_ANALYSIS.md at main · gonzalop/mq

A high-performance, lightweight, idiomatic Go MQTT client with a unified, modern API and zero external dependencies. - gonzalop/mq

GitHub

Now that I'm done running the integration tests with mosquitto (pass), mochi-server(pass, server needs a patch) and VerneMQ (reported issues with the server in a previous post), it's time for a comparison of the throughput tests of the three servers:

https://github.com/gonzalop/mq/blob/main/docs/PERFORMANCE_ANALYSIS.md

mq🚀

#mqtt #iot #golang #mosquitto #mochi-server #vernemq

mq/docs/PERFORMANCE_ANALYSIS.md at main · gonzalop/mq

A high-performance, lightweight, idiomatic Go MQTT client with a unified, modern API and zero external dependencies. - gonzalop/mq

GitHub
I'm currently using #mosquitto (with https://github.com/iegomez/mosquitto-go-auth for auth) for my #mqtt server, but curious if there's something better. Need to read up on any broker that works well with #letsencrypt to automatically handle tls
GitHub - iegomez/mosquitto-go-auth: Auth plugin for mosquitto.

Auth plugin for mosquitto. Contribute to iegomez/mosquitto-go-auth development by creating an account on GitHub.

GitHub
@MickInTx also done. My approach is somewhat haphazard - docker swarm first choice, #TrueNAS app if fast access to large files needed (e.g. #Jellyfin), LXC for e.g. #PiHole and #mosquitto

First time setting up a @homeassistant instance. I'm trying to integrate an airquality sensor with it. HASS runs in a (podman) container (network host mode). #mosquitto MQTT is installed natively (port 8883 with SSL). HASS is connected to MQTT server (I can subscribe and publish messages). The sensor device is also connected to MQTT (mosquitto says "New client connected from ...").

What would be the next step? I expected the sensor to be automatically added to HASS.

#HASS #homeAssistant

Learn how to set up a secure Mosquitto MQTT broker on Linux (from installation to TLS encryption) in my latest video!
👇
https://shawnhymel.com/3085/how-to-use-the-mosquitto-mqtt-broker-with-ssl-tls/?utm_source=mastodon&utm_medium=social&utm_campaign=esp32_iot_course_evergreen

#IoT #MQTT #Mosquitto #embedded

I've taken some first baby steps to writing some #simd code by writing some replacements for mosquitto_pub_topic_check().

This assumes a string is already valid UTF-8, then checks for length, presence of + or # characters, and counts the topic hierarchy levels, then returns yay or nay. It's by far the easiest check I have to make.

I've written a quick plugin for the public #mqtt #mosquitto server that collects a list of unique publish and subscribe topics to use as a test corpus.

test.mosquitto.org has been migrated to a new host. The client certificate generation service is not yet available. #mqtt #mosquitto