Scans for Upnp devices, subscribes to any events and publishes the events to an MQTT broker
docker run --net=host -e MQTTHOST=<MQTT_HOST> bazwilliams/upnp-sub-mqtt
- MQTTHOST - Defaults to
mqtt://localhost
, set to your mqtt broker.
npm install -g upnp-sub-mqtt
upnp-sub-mqtt -u <brokerURL>
-v
Version-u
--url
URL of broker, defaults tomqtt://localhost
Upnp events will be published to upnp/${usn}/${serviceId}
.