Open epestela opened 1 year ago
Why intruder and not simply unregister the pet?
I see that there is already an implementation for this here: https://github.com/rcastberg/sure_petcare/issues/16 Not sure if the code is reusable here. Missing profile 5 for 'intruder'
Not an issue, but a feature request :)
The application allows to set a pet as:
In the json payload of the web application these two appears respectively as
example of 'normal' pet
{ "1": { "id": 123456, "index": 1, "profile": 2, "version": "MTg=", "created_at": "2020-07-02T06:24:56+00:00", "updated_at": "2022-10-05T10:13:42+00:00" } }
Because of an issue with one of my cats, I discovered trough SurePet support that an 'Intruder' profile exists as well. This would be a pet allowed to exit but not to come in. The application does not allow you to set this (and does not displays it properly... but in the json payload it appears as profile:5
Would be nice to be able to set these profiles with surepy :D
The webapp changes profiles with a PUT request to an url like this https://app.api.surehub.io/api/device/111111/tag/123456 with payload profile:id (the tag and the ID above have the same value)
Not sure if other useful profiles exists...