homie_dart: ^2.0.2 copied to clipboard
An implementation of the homie convention 4.0 with extension support in dart. Also features the homie legacy stats, homie legacy firmeware and epnw meta extensions.
An impelementation of the homie convention 4.0 for dart. This package can be used to create devices with nodes and properties in the homie format.
Version 2 of this package includes the core homie_dart library, as well as the homie_legacy_extensions library, which can be used to add device attributes that where removed in homie version 4.0. This is usefull for backwards compatibility. More specific, the Legacy Stats and Legacy Firmware extensions are implemented.
To create devices according to the homie convention 3.0.1, use version 1.1.0 of this package instead!
BrokerConnection and MQTT connection #
This package does not contain any MQTT logic! Instead it defines an abstract class BrokerConnection. You can either implement it yourselfe or use the package homie_dart_on_mqtt_client, which handles all the mqtt logic.
Missing Features #
- Broadcast channel is not implemented