Testing pyalarmdotcomajax v0.6.0-beta #391
elahd
started this conversation in
Show and tell
Replies: 1 comment
-
just checking in. Has anyone tried the beta? I have tried to follow the install instructions a couple times and never made it to completion. Might be above my skill level. Any chance of just building a beta release? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I finished work on pyalarmdotcomajax v0.6.0-beta. This is a ground-up rebuild that's event driven and more robust than the current version. I'm looking for help testing to make sure that things work as expected before I start work on upgrading the Home Assistant integration.
Installation & Use
This version of pyalarmdotcomajax needs a minimum Python version of 3.11.
v0.6.0-beta is in the refactor-2024 branch. This version can be installed with pip using
pip install git+https://github.com/pyalarmdotcom/pyalarmdotcomajax.git@refactor-2024
. This will give you access to the updated adc CLI tool, documentation here.adc
has three top level commands:get
,stream
, andaction
.get
prints out a snapshot of your devices and their attributes. Useadc get --help
for detailed help. Example usage:adc get -u "USERNAME" -p "PASSWORD"
stream
monitors your system for real time changes and prints updated device data to the terminal when changes are detected. Useadc get --help
for detailed help. Example usage:adc stream -u "USERNAME" -p "PASSWORD"
action
lets you change the state of your devices -- you can take all actions available through the HA integration. For a list of all device types that can be manipulated, runadc action --help
. For a list of all commands available for a device, runadc action DEVICE_TYPE --help
. For a list of all command parameters, runadc action DEVICE_TYPE COMMAND --help
. Example usage:adc action light turn_on -u "USERNAME" -p "PASSWORD" DEVICE_ID
Additional Parameters & Functions
-c "COOKIE"
. If you don't have a cookie but have MFA enabled, you'll be prompted for an OTP.-d
flag to show debug output.--json
flag to output raw device JSON instead of "pretty" tables.get
with the-x
flag.Goals
Generally, just kick the tires. Specifically, check that:
get
returns a complete and accurate representation of your system's supported devices. (A list of supported device types is in the main README.)stream
captures events for supported devices, doesn't disconnect excessively, and is able to successfully recover if disconnected.action
commands work as expected.Known Issues
stream
command automatically reconnects if it looses its connection, but it will not recover events lost while reconnected.stream
function if, say, a door has been opened and closed multiple times within 3 minutes. This will never be fixed as the limitation is enforced on Alarm.com's servers.Do you own a Skybell?
I dropped support for Skybells in v0.6.0 due to loss of access to a working device. Please post here if you're able to share some data from your Skybell to help keep support in the library.
🚀 Thanks!
Beta Was this translation helpful? Give feedback.
All reactions