Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude disabled zones from integration #12

Open
flybrys opened this issue Jun 10, 2021 · 4 comments
Open

Exclude disabled zones from integration #12

flybrys opened this issue Jun 10, 2021 · 4 comments

Comments

@flybrys
Copy link

flybrys commented Jun 10, 2021

My 128 zone unit only has 6 zones enabled however the integration still pulls all of them into HA.
Not a huge issue, just a mess and returns a lot of entries when searching for the zone to use.
I've noticed disabled zones have a name of "!". Could some code be modified to exclude these from HA if that is the name?

@caronc
Copy link
Owner

caronc commented Jun 19, 2021

Understandable, could you get me a --debug-dump so i could see your model? I could have the list filtered for it (because it would affect everyone else too using the same model). I do use the ! for different models i believe as a way of filtering out.

@flybrys
Copy link
Author

flybrys commented Jun 25, 2021

Is there a way to run this command from the home assistant web ssh console? I get command not found. I'm guessing it has to be executed inside docker somehow?

@caronc
Copy link
Owner

caronc commented Sep 20, 2021

Sorry for taking so long to get back to you. I hadn't even realize this ticket was sitting here unanswered.

If you can't do it from home assistnat, you can do it from your Windows machine, or Mac, or LInux (whatever you use).

You just need to have Python 3 installed on it (it's pre-installed on Linux) and is a totally free download (open source) for Mac and Windows.

Once you have it, you need to install the ultrasync model:

# installs the core tool i wrote that allows you to interface with your Alarm Panel
pip install ultrasync

Now with this tool you can do everything Home Assistant can. It's what this HACS pluggin wraps around (it's the core tool itself).

Whatever bugs we find, unfortunately i need to fix with the core tool; it'll never likely be with the Home Assistant Integration.

So once you have this tool you can set up a simple configuration file (see here)

# You should just be able to generate the file i need to help you out and enhance your
# Home Assistant Experience:
ultrasync --debug-dump

With the file produced, i'll be able to mimic your environment and debug/fix it.

Hope this info helps (sorry again that it came so late)

@flybrys
Copy link
Author

flybrys commented Sep 21, 2021

Hi there, thanks for getting back to me.
That was easy enough to do, thanks for the instructions. I've attached my debug dump below.

20210921102835.ultrasync-dump.zip

Note I went through the files and removed personal info ie phone numbers and replaced with xxxx

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants