Skip to content

New Features - Exit Permissions, Add/Remove Pet from a door #13

@Ashitaka57

Description

@Ashitaka57

Hello there,
First, thanks for the work achieved so far. I've started to develop a domoticz plugin based on last version of your lib, using python 3.9.1 , and it's working well.

I would ask if you were kind to add some new features like this :

  • possibility to set exit permissions for each pet on Microchip Cat Flap Connect (on the small one, because you can't do that on the big one.)

I'm not sure that I had captured the correct parameters but I think so.
EXIT PERM DENIED https://app.api.surehub.io/api/device/[DeviceNumber]/tag/[PetID] request method : PUT {"profile":3}
EXIT PERM AUTHORIZED https://app.api.surehub.io/api/device/[DeviceNumber]/tag/[PetID] request method : PUT {"profile":2}

  • possibility to assign/unassign a pet from any door. (the pet id are stored on the server, and you can attach/detach them via the app from each door.) <- I'm using this as an enter+exit permissions on each door (big one + small one) and you don't need to remove/create the pet profile so it's easy to use this way.

I'm not sure that I had captured the correct parameters but I think so.
UNASSIGNED https://app.api.surehub.io/api/device/[DeviceNumber]/tag/[PetID] request method: DELETE {}
ASSIGN https://app.api.surehub.io/api/device/[DeviceNumber]/tag/[PetID] request method: PUT {}

  • gather the Exit permissions per pet on a door. (you can find them in the app submenu)

(For info ;p I'm using 4 doors (big + small) and 7 cats.)

Regards,
Ash,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions