@wkronmiller/mqtt-router
v0.0.10
Published
Personal utilities for managing MQTT devices
Downloads
11
Readme
About
This is a personal utility to help build MQTT-based programs.
It provides an MqttRouter
class, which lets you connect to an MQTT broker, and register MqttCommand
hooks.
The MqttRouter
listens for command events on a commandTopic
and publishes events/data to a dataTopic
.
Unsupported
This package is in very early development and may introduce breaking changes at any time, or may be abandoned completely. If you want to use this for some reason, you should probably fork it.
Setup and Installation
- Install the package:
@wkronmiller/mqtt-router