Code Monkey home page Code Monkey logo

aladdin-connect's Introduction

aladdin-connect

Python module that allows interacting with Genie Aladdin Connect devices

Note that shared doors are not currently supported, only doors that are owned by your account can be controlled

Usage

from aladdin_connect import AladdinConnectClient

# Create session using aladdin connect credentials
client = AladdinConnectClient(email, password)
client.login()

# Get list of available doors
doors = client.get_doors()
my_door = doors[0]

# Issue commands for doors
client.close_door(my_door['device_id'], my_door['door_number'])
client.open_door(my_door['device_id'], my_door['door_number'])

# Get updated door status
client.get_door_status(my_door['device_id'], my_door['door_number'])

aladdin-connect's People

Contributors

fabaff avatar lukemurphey avatar pbelevich avatar shoejosh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aladdin-connect's Issues

Unable to recover when backend drops

On thing I noticed recently with the new backend, is a failure of the add-on to reconnect after a connection error.
If the backend goes off-line, the logs indicate an incorrect password and completely stops trying to connect. There probably needs to be improved error detection with feedback to the calling software indicating the type of failure (No response from host, invalid password/user, invalid url, etc) allowing for a "smarter" decision on retrying. Currently, the only path to recovery in home assistant is to reboot HA and hope the backend is alive.

Probably more of an enhancement than a "bug".

No longer working?

Recently something has changed with the infrastructure (around November 2021)? When connecting to the API it now always reports the door closed, no longer accepts open/close commands, shows the door "connected and online", and appears to throw the garage door offline from the phone app perspective. When ever I issue commands via this tool the phone app immediately shows the opener offline... requires rebooting the door OR resetting the wifi connection to get it back.

Thoughts? How can I assist?

[Question] Information

Hi not sure if you even remember you wrote this code but I have been working on javascript version for controlling my garage door and I wondering how you found the endpoints?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.