Skip to content

EP-u-NW/homie_dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An implementation of the homie convention for dart.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages