r/visualbasic • u/[deleted] • May 07 '20
Vb.net & Mqtt
Given the lack of explanations and references on how to use Vb.net & mqtt
I have written an example code with all the basic features for MQTT Client
https://github.com/bassouma21001/MQTTBasic
I hope to be useful
1
u/Bonejob VB Guru May 07 '20
<sigh> I should stop reinventing things, I know better. I rolled my own simple packet layer for my messaging with the Arduino's/RaspPi in my home automation system with a VB interface. Whelp it will be fun to learn :)
2
u/ocdtrekkie May 08 '20
I vastly prefer rolling my own (or at least, implementing a tutorial) over just attaching a library. It's easier to customize it to do what I want. I use a mostly my own implementation of Insteon serial communication, and POP3 and IMAP clients in my home automation program. None of them are perfect, but I understand them and the technologies they connect to a lot better, having played with the more low-level implementation.
1
u/ocdtrekkie May 08 '20
Nice! I have a home automation system written in VB .NET, but I've never tackled trying to use MQTT at all.
1
u/RodeoMacon May 07 '20
this is really cool! thanks