Skip to content

Scans for Upnp devices, subscribes to any events and publishes the events to an MQTT broker

License

Notifications You must be signed in to change notification settings

bazwilliams/upnp-sub-mqtt

Repository files navigation

Build Status

upnp-sub-mqtt

Scans for Upnp devices, subscribes to any events and publishes the events to an MQTT broker

Docker

docker run --net=host -e MQTTHOST=<MQTT_HOST> bazwilliams/upnp-sub-mqtt
  • MQTTHOST - Defaults to mqtt://localhost, set to your mqtt broker.

Install

npm install -g upnp-sub-mqtt

Run

upnp-sub-mqtt -u <brokerURL>

Options

  • -v Version
  • -u --url URL of broker, defaults to mqtt://localhost

Message Output

Upnp events will be published to upnp/${usn}/${serviceId}.

About

Scans for Upnp devices, subscribes to any events and publishes the events to an MQTT broker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published