Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

python-luup

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

python-luup

Interact with the Luup API from your Vera Controller

  • 0.0.1
  • PyPI
  • Socket score

Maintainers
1

python-luup - Interact with Luup API

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.

Installation

The latest stable version can be installed using

$ pip install python-luup

Usage

>>> import luup
>>> luupc = luup.Client('http://127.0.0.1/port_3480/')
>>> 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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc