Project Mercury Part II – Publishing MQTT Messages

In last week’s Part I of Project Mercury, I covered reading MQTT messages in VB.Net using the MQTTnet Nuget package. There aren’t any VB examples for an MQTT client floating around, so I put together a quick and dirty illustration. I completed the next section on the following day, but was promptly sidetracked with a trip into the wonderful world of SQL – one of the future parts of the program will be saving data to a database, which significantly enhances the value of the data! In any case, here’s an example of how to publish MQTT messages from your VB.Net app!

Continue reading “Project Mercury Part II – Publishing MQTT Messages”

Project Mercury Part I – Subscribing to an MQTT Topic

MQTT is a wonderful tool for the smart home enthusiast. Many different products and applications support it, allowing you to tie a lot of different technologies together in one cohesive home automation system. It is even more useful when you’ve got devices that do not support MQTT directly but do allow programmatic access through an SDK or API, which allows you to put together a custom app that combines MQTT with that other product. An interesting challenge I’ve come across, though, is that while most of the examples for SDKs that I use are written in VB.Net and there are NO examples of using MQTT in VB.Net….

Continue reading “Project Mercury Part I – Subscribing to an MQTT Topic”

About MQTT…

I need to make a brief detour on our project to integrate X10 sensors into a larger home automation system. Normally, I try to avoid any side trips that may end up taking me down a rabbit hole, but I need to cover the communication method that I plan to use to connect the disparate components of the system together – MQTT.

Continue reading “About MQTT…”