SOMweb client. Open/close Garage doors made by SOMMER (base+/pro+/tiga/tiga+/barrier systems)
Project description
SOMweb Client
A client to control control garage door operators by SOMMER through SOMweb.
⚠ It is not enough to have a supported operator to use this package. You also need the SOMWeb device.
Made for home automation
The package is created as part of an extension to Home Assistant. There are no dependencies to Home Assistant so you can use the package directly from python or integrate it with any other home automation system.
How to use
somwebUDI = 1234567 # This is the SOMweb UDI. You can find it under device information
username = "automation" # Your home automation user as configured in SOMweb
password = "super_secret_password" # Your home automation user password
client = SomwebClient(somwebUDI, username, password)
# Rembember to authenticate before calling any other operation
client.authenticate()
# Get status on all doors connected to SOMweb
doorStatuses = client.getAllDoorStatuses()
# Get status on a specific door
doorStatus = client.getDoorStatus(2)
# Open door (if already open no action will be taken)
result = client.openDoor(2)
# Close door (if already closed no action will be taken)
result = client.closeDoor(2)
# Toggle door position (close an open door or open a closed door)
result = client.toogleDoorPosition(2)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
somweb-0.1.1.tar.gz
(6.2 kB
view hashes)