This Python 3.4+ library allow you to control Assurelink Craftsman devices.
Currently most basic functionality have been implemented, feel free to PR or fire an issue if you encountered any.
Assurelink Craftsman Internet enabled devices, aka devices that you can control via website.
The following feature are supported:
- Ge the current status of the garage opener
- Open the garage door
- Close the garage door
from libassurelink.assurelink import CraftsmanAccount
account = CraftsmanAccount(EMAIL, PASSWORD)
# check login status
if not account.logged:
print('Login failed.')
garageOpeners = account.get_devices()
# Controlling the first available device
garageOpener = garageOpeners[0]
# get status
garageOpener.get_status()
# open garage door
garageOpener.open_garage()
# close garage door
garageOpener.close_garage()