mqtt-devices-for-home-assistant
A library for interfacing a device with home-assistant using MQTT for FreePascal
- Active · last change 5-8-2026
- ★ 3 on GitHub
README
mqtt-devices-for-home-assistant
A library for interfacing a device with home-assistant using MQTT for FreePascal
This library makes use of FPC MQTT Client Component https://github.com/prof7bit/fpc-mqtt-client but you need to use my fork https://github.com/NicolaP8/fpc-mqtt-client that has a small correction.
This library is licensed with GPL 3.0 for personal use, contact me for commercial use.
At moment only this sensor/device are supported:
There is a file that contains the common parts and an abstract ancestor. Each other component resides in its own separate file containing the necessary definitions. There also a demo program, tested only in Windows; was developed primarly to check the components so is simple and crude.
The mqtt_device_info.xls file contains the previous table and the data extracted from home-assistant pages, in tabular form.
The library itself is compatible with Linux and Windows, my main usage is with Raspberry Pi!
Changelog
Version of 2026.05.07
Added
+ TMQTTDate, TMQTTDateTime, TMQTTTimeVersion of 2026.03.04
Added
+ TMQTTNumberRemoved
- removed ObjectId because deprecated by Home Assistant
