Skip to main content

Interact with the Luup API from your Vera Controller

Project description

Python-luup library allow you to interact with the Luup API from your Vera Controller. It provides interface for most Luup requests and an EventLoop to monitor changes and job asynchronously.


The latest stable version can be installed using

$ pip install python-luup


>>> import luup
>>> luupc = luup.Client('')
>>> evtl = luup.EventLoop(luupc)
>>> def print_device(self, device):
...             print(device)
>>> evtl.on_device_change = print_device
>>> evtl.loop_start() # Now monitoring every device changes
>>> luupc.action(3, 'urn:upnp-org:serviceId:SwitchPower1', 'SetTarget', dict(newTargerValue=1))

See help(luup) for more usage examples

Project details

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page