MQTT implementation in .NET6.0/C#
Hello, everyone.
I spend a lot of my working life dealing with event-driven systems and I'm letting it bleed over into my home life, too. As part of a broader energy management project, I've developed a microservice in .NET6.0 and C# to process MQTT messages from my Glow IHD/CAD.
It's function is simple; it receives MQTT messages of JSON-encoded Zigbee Smart Energy Profile data and emits a much smaller, easier to consume MQTT message containing just pertinent consumption data.
You can run it as a microservice or as a console application and it's cross platform. I run it on a Raspberry Pi Kubernetes cluster. But you may also find it useful as simply a code sample.
https://github.com/smorgo/GlowMeterDataMonitor
I hope you find it useful.