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

Only panel and contact entities are added #32

Open
PeterSR opened this issue Aug 14, 2023 · 7 comments
Open

Only panel and contact entities are added #32

PeterSR opened this issue Aug 14, 2023 · 7 comments

Comments

@PeterSR
Copy link

PeterSR commented Aug 14, 2023

Thank you for the integration.

I have it up and running, and I am able to arm and disarm the alarm which is the most important thing.

In my house, I have a panel, a couple of indoor sensors and some contacts for the doors. Here's what I see if I use the script from https://github.com/And3rsL/VisonicAlarm2:

python -m call_visonic_api_using_visonicalarm2
Rest API version 8.0 is supported.

--------------
 Device #1 
--------------
ID:             4995
Name:           
Zone:           None
Device Type:    CONTROL_PANEL
Subtype:        VISONIC_PANEL
Warnings:       None

--------------
 Device #2 
--------------
ID:             8055
Name:           Stue
Zone:           INTERIOR
Device Type:    ZONE
Subtype:        FLAT_PIR_SMART
Warnings:       None

--------------
 Device #3 
--------------
ID:             8056
Name:           Entre
Zone:           INTERIOR
Device Type:    ZONE
Subtype:        FLAT_PIR_SMART
Warnings:       None

--------------
 Device #4 
--------------
ID:             8057
Name:           Gæsteværelse
Zone:           INTERIOR
Device Type:    ZONE
Subtype:        FLAT_PIR_SMART
Warnings:       None

--------------
 Device #5 
--------------
ID:             8058
Name:           Kontor
Zone:           INTERIOR
Device Type:    ZONE
Subtype:        FLAT_PIR_SMART
Warnings:       None

--------------
 Device #6 
--------------
ID:             8059
Name:           Hobbyrum
Zone:           INTERIOR
Device Type:    ZONE
Subtype:        FLAT_PIR_SMART
Warnings:       None

--------------
 Device #7 
--------------
ID:             8060
Name:           Bagdør til carport
Zone:           DELAY_1
Device Type:    ZONE
Subtype:        CONTACT
Warnings:       None
State:          closed

--------------
 Device #8 
--------------
ID:             8061
Name:           Bagdør til have
Zone:           DELAY_1
Device Type:    ZONE
Subtype:        CONTACT
Warnings:       None
State:          closed

--------------
 Device #9 
--------------
ID:             8062
Name:           Hobbyrum
Zone:           FIRE
Device Type:    ZONE
Subtype:        SMOKE_HEAT
Warnings:       None

--------------
 Device #10 
--------------
ID:             8063
Name:           Entre
Zone:           FIRE
Device Type:    ZONE
Subtype:        SMOKE_HEAT
Warnings:       None

--------------
 Device #11 
--------------
ID:             8072
Name:           
Zone:           None
Device Type:    WIRELESS_COMMANDER
Subtype:        LCD_PRG_KEYPAD
Warnings:       None

--------------
 Device #12 
--------------
ID:             8083
Name:           
Zone:           OUTPUT
Device Type:    PGM
Subtype:        PGM_ON_PANEL
Warnings:       None

--------------
 Device #13 
--------------
ID:             8210
Name:           
Zone:           None
Device Type:    PROXY_TAG
Subtype:        GENERIC_PROXY_TAG
Warnings:       None

--------------
 Device #14 
--------------
ID:             8211
Name:           
Zone:           None
Device Type:    PROXY_TAG
Subtype:        GENERIC_PROXY_TAG
Warnings:       None

--------------
 Device #15 
--------------
ID:             8212
Name:           
Zone:           None
Device Type:    PROXY_TAG
Subtype:        GENERIC_PROXY_TAG
Warnings:       None

--------------
 Device #16 
--------------
ID:             8213
Name:           
Zone:           None
Device Type:    PROXY_TAG
Subtype:        GENERIC_PROXY_TAG
Warnings:       None

--------------
 Device #17 
--------------
ID:             8214
Name:           
Zone:           None
Device Type:    PROXY_TAG
Subtype:        GENERIC_PROXY_TAG
Warnings:       None

--------------
 Device #18 
--------------
ID:             8215
Name:           
Zone:           None
Device Type:    PROXY_TAG
Subtype:        GENERIC_PROXY_TAG
Warnings:       None

In Home Assistant, I only have two entities other than the alarm_control_panel.visonic_alarm, namely the two contacts: sensor.visonic_alarm_8060 and sensor.visonic_alarm_8061.
I had a brief look through the code and it seems that only certain types and subtypes get created. Do you know if it could be possible to add some of the other Visonic devices as Home Assistant devices? I might be able to do a PR, but would be nice if you already have some learnings.

@Nino6689
Copy link

Nino6689 commented Dec 6, 2023

I have the same issue. I can see the panel and can bypass the sensors however I am unable to gain their status. Im not a programmer but trying to hash my way through!

@Nino6689
Copy link

@PeterSR Did you ever work it out?

@PeterSR
Copy link
Author

PeterSR commented Apr 19, 2024

Sadly no. I didn't look much into and just came to the conclusion that maybe I should just get a new alarm system that is more smart home friendly.

@Nino6689
Copy link

What did you go for?

@PeterSR
Copy link
Author

PeterSR commented Apr 20, 2024

I actually didn't go with anything yet. Currently I am just using the Visonic-Go app and haven't hooked anything else alarm-related up to HA. Might look into it in some months.

@sdmorris1950
Copy link
Contributor

Try the latest version, V3.1, and see if that solves the problem. I extended some of the subtypes.

@Charles-Misc
Copy link

Try the latest version, V3.1, and see if that solves the problem. I extended some of the subtypes.

Thanks for your work on this. I am not using any of the subtypes but the recent update just fixed my install.

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

4 participants