Interface to monitor UPNP devices.
Description
This event handler searches for and monitors UPNP devices, primarily Audio and Video devices.
Configuration
This event handler has the following parameters:
- webserver section - attributes serverport and interface, these can both be left blank or zero.
- includedevice section - A list of modelName strings that if found in a retrieved device modelName forces the device to be visible.
- excludedevice section - A list of modelName strings that if found in a retrieved device modelName forces the device to be invisible, note include overrides exclude.
Events
The interface generates av events http://id.webbrick.co.uk/events/av/index.html
Example
<?xml version="1.0" encoding="utf-8"?>
<eventInterfaces>
<eventInterface module='EventHandlers.UPNP' name='UPNP'>
<!-- these are made visible if the string is in the modelName from the device description, overrides exclude -->
<includedevice>
<modelName>Sonos</modelName>
</includedevice>
<!-- these are not made visible if the string is in the modelName from the device description-->
<excludedevice>
<modelName>TwonkyMedia</modelName>
<modelName>Roku</modelName>
<modelName>Media Player</modelName>
</excludedevice>
<webserver serverport='0' interface=''/>
</eventInterface>
</eventInterfaces> - UPNP.xml
