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 that you need to download separately.
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 my main usage is with Raspberry Pi!