homie_dart 2.0.2 copy "homie_dart: ^2.0.2" to clipboard
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.

homie_dart #

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.

Also included in this package, in the epnw_meta_extension library, is the EPNW Meta extension which can be used to add tags and (nested) key-value pairs to devices, nodes and properties.

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

Example #

An example, how to create a device can be found here, and this file shows, how to run it.

1
likes
40
points
31
downloads

Publisher

verified publishereric-prokop-und-nils-wieler.de

Weekly Downloads

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.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

Dependencies

meta, pedantic

More

Packages that depend on homie_dart