https://github.com/thalhammer/homie-cpp
Homie C++ library
https://github.com/thalhammer/homie-cpp
cplusplus header-only homie iot mqtt
Last synced: about 1 year ago
JSON representation
Homie C++ library
- Host: GitHub
- URL: https://github.com/thalhammer/homie-cpp
- Owner: Thalhammer
- License: mit
- Created: 2018-02-18T22:30:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-05-26T19:41:15.000Z (about 3 years ago)
- Last Synced: 2025-03-27T06:51:20.810Z (about 1 year ago)
- Topics: cplusplus, header-only, homie, iot, mqtt
- Language: C++
- Homepage:
- Size: 295 KB
- Stars: 8
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# homie-cpp
Homie C++ header only library
Supports Homie version 3.0 (redesign branch) both as a device and a master role.
It is not built around a specific mqtt library, so you can use what ever you like to.
#### Devicemode
In device mode you can publish a device and react to changes sent via mqtt.
Because mqtt allows only one testatment topic you need multiple connections
to the broker if you want to implement more than one device.
#### Master
Allows you to discover devices connected to a broker and set properties.
One connection can be used for multiple master instances (e.g. for multiple basetopics)
because we do not need a testament in master mode.