Home2L - C/C++ API v1.4-0-g38cc (2024-05-25)
Smart Tools for a Private Home
|
This is the documentation of the C/C++ API of the Home2L suite. It is meant as a reference for developers of
The main documentation of the Home2L project can be found in the Home2L Book. Automation rules are best written using the Python API.
To get started, navigate to the Modules page.
Obviously, the source files are no pure C, but have a C++ suffix, are compiled with a C++ compiler, and contain classes. However, for portability, efficiency and readability reasons, C++ language features are used only in a limited way. The reason for using C++ at all instead of pure C are the base classes and the UI modules, where operand overloading (base classes) and inheritance with virtual mathods (UI classes) are very helpful to improve the readability of code.
For these reasons, the following conventions apply: