@chrispyduck/homie-device
TypeScript icon, indicating that this package has built-in type declarations

0.1.34 • Public • Published

Homie Device

CI

This is a (substantially rewritten) TypeScript port of a NodeJS port of the Homie convention for lightweight IoT device interaction on an MQTT message bus. It includes several modifications to make the API a bit easier to use.

Features

  • Device, Node, and Property
  • Auto MQTT connect with optional username/password
  • Auto MQTT re-connect
  • Periodic $stats/uptime publishing
  • $online will
  • Device topic events
  • Broadcast message events
  • Periodic stats interval events
  • Device/node/property announcement on connect
  • Property send with retained value
  • Settable properties
  • Property ranges
  • Lightweight

Quick Start

Maybe later...

Contributors


lorenwest

marcus-garvey

rozpuszczalny

chrispyduck

freddebacker

wolfgangcolsman

License

May be freely distributed under the MIT license.

Package Sidebar

Install

npm i @chrispyduck/homie-device

Weekly Downloads

5

Version

0.1.34

License

MIT

Unpacked Size

64.7 kB

Total Files

44

Last publish

Collaborators

  • chrispyduck