Lightweight Windows 10 background application that creates Toast Notifications from MQTT messages.
Designed intentionally for simplicity & portability:
- .NET Framework 4.5.2: probably even runs on Windows 8 (not tested)
- No additional runtimes, libraries or dependencies
- Portable: no installation required
Supports two message formats:
- Raw: Message text appears as the content
- JSON (HomeAssistant format):
{"title": "Message title", "message": "Hello world!"}
The program folder can be placed anywhere (e.g. C:\Program Files\MQTTNotifier)
Add a shortcut to MQTTNotifier.exe
in your Startup folder (optional)
All configuration is in MQTTNotifier.exe.config
- which must be located beside the executable itself.
The build toolchain that comes with Windows works:
PATH=%PATH%;C:\Windows\Microsoft.NET\Framework\v4.0.30319
msbuild
Uses the M2MQTT library: https://www.nuget.org/packages/M2Mqtt/