-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from austinmroczek/master
Multiple updates
- Loading branch information
Showing
10 changed files
with
187 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,32 @@ | ||
# Total-Connect-Client | ||
Total-Connect-Client is a super simple python client for interacting with TotalConnect2 alarm system. | ||
|
||
Currently this library only supports arming (away, stay, and night), disarming and getting panel status. I wrote this mostly to add alarm support for my personal HomeAssistant set-up, but if there is demand for more functionality I can look into adding it. | ||
Started by @craigjmidwinter to add alarm support for his personal HomeAssistant set-up, with later contributions from others. | ||
|
||
The code currently supports: | ||
- Arming (away, stay, night) | ||
- Disarming | ||
- Getting panel status (armed, bypassed, etc) | ||
- Getting zone status (normal, fault, trouble, low battery, etc) | ||
|
||
## Troubleshooting | ||
|
||
If you're having trouble with your system, or find an error message, we may ask you to submit information about your alarm system. To do that from the command line do the following steps (assuming you are running from within Home Assistant): | ||
|
||
First download the latest files: | ||
- `wget https://raw.githubusercontent.com/craigjmidwinter/total-connect-client/master/total_connect_client/TotalConnectClient.py` | ||
- `wget https://raw.githubusercontent.com/craigjmidwinter/total-connect-client/master/total_connect_client/info.py` | ||
|
||
The run the script: | ||
- A usercode is not required for most systems. Enter '-1' in it's place unless you need to enter your panel code. | ||
- `python3 info.py username password usercode` | ||
|
||
If you want to easily put the info into a file for sharing: | ||
- `python3 info.py username password usercode > my_info.txt` | ||
- Now the file my_info.txt in the same directory will hold all of that information | ||
|
||
**WARNING**: the script will include private information including your username and password. Carefully remove it before sharing with the developers or posting on Github. | ||
|
||
Create an Issue on Github and post both your problem and your system information. | ||
|
||
Why do we ask for this information? The TotalConnect API documentation provides little information on the status codes and other information it returns about your system. We developed as best we could using the codes our own systems returned. We have seen many times that other users with issues have different system status codes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
from distutils.core import setup | ||
from setuptools import setup, find_packages | ||
|
||
setup( | ||
name = 'total_connect_client', | ||
py_modules = ['total_connect_client'], | ||
version = '0.55', | ||
description = 'Interact with Total Connect 2 alarm systems', | ||
author = 'Craig J. Midwinter', | ||
author_email = 'craig.j.midwinter@gmail.com', | ||
url = 'https://github.com/craigjmidwinter/total-connect-client', | ||
download_url = 'https://github.com/craigjmidwinter/total-connect-client', | ||
keywords = ['alarm','TotalConnect'], | ||
package_data = {'': ['data/*.json']}, | ||
install_requires = ['zeep'], | ||
packages=['total_connect_client'], | ||
include_package_data=True, # use MANIFEST.in during install | ||
zip_safe=False | ||
name="total_connect_client", | ||
py_modules=["total_connect_client"], | ||
version="0.55", | ||
description="Interact with Total Connect 2 alarm systems", | ||
author="Craig J. Midwinter", | ||
author_email="craig.j.midwinter@gmail.com", | ||
url="https://github.com/craigjmidwinter/total-connect-client", | ||
download_url="https://github.com/craigjmidwinter/total-connect-client", | ||
keywords=["alarm", "TotalConnect"], | ||
package_data={"": ["data/*.json"]}, | ||
install_requires=["zeep"], | ||
packages=["total_connect_client"], | ||
include_package_data=True, # use MANIFEST.in during install | ||
zip_safe=False, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.