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

Get Zones #8

Open
rzrpt opened this issue Sep 17, 2024 · 6 comments
Open

Get Zones #8

rzrpt opened this issue Sep 17, 2024 · 6 comments

Comments

@rzrpt
Copy link

rzrpt commented Sep 17, 2024

Can you separate the contract into zones?

In my Prosegur instalation, i have two zones with two alarms that can be individuality activated and deactivated.

When i use the HA integration, activating alarm makes it active into both zones.

@dgomes
Copy link
Owner

dgomes commented Sep 17, 2024

Can you share the diagnostics from your integration ?

I don't have zones my self, so I need information about your install in order to understand If I can add that feature

@rzrpt
Copy link
Author

rzrpt commented Sep 17, 2024

prosegur.json

Sure, i can share it, just need to see what needs to be redacted from the yaml.

From what i can tell you'll be interested in this fields (inside "data:"):

InstalationID ( is the same in both partition. Each partition has their own ID ( and )

        {
          "type": "V",
          "statusCode": 200
        },
        {
          "type": "CM",
          "statusCode": 200
        },
        {
          "type": "A",
          "statusCode": 200
        }
      ],
      "partitions": [
        {
          "id": someid1,
          "installationId": anotherid,
          "key": 1,
          "name": "Casa1",
          "status": "DA"
        },
        {
          "id": someid2,
          "installationId": anotherid,
          "key": 2,
          "name": "Casa2",
          "status": "DA"
        }
      ],
      "domoticDevices": [],
      "latitude": "**REDACTED**",
      "longitude": "**REDACTED**",
      "contractId": "**REDACTED**",
      "contractType": "V",
      "address": "**REDACTED**"
    },```

@dgomes
Copy link
Owner

dgomes commented Sep 17, 2024

From what I see, the two partitions should give place to 2 separate alarm panels...

@rzrpt
Copy link
Author

rzrpt commented Sep 18, 2024 via email

@dgomes
Copy link
Owner

dgomes commented Sep 18, 2024

I was actually proposing 2 panels as a solution to the the separate areas.

I don't know how other alarm brands exposes areas in HA

@AndreiDidenko1970
Copy link

Hi guys, did someone manage to make 2 zones in the contract? I'm not a programmer, help me put two zones, I'll thank you))

And ... I haven't realized that that the video camera ( sensors) only give out the last photo from the archive, or how can I make a request for a new photo ?!

tnx!

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

3 participants