pethublocal icon indicating copy to clipboard operation
pethublocal copied to clipboard

Custom Mode: "Forced Lid Closed Custom Mode"

Open XRyu opened this issue 2 years ago • 1 comments

I sadly cant say which Bit it is, but i have seen your CustomModes and seen that this one is missing. Support has set this on my feeders :) But i currently dont use your Local Hub but wanted to tell you about that mode.

Description from Support i got:

"Does your unauthorised pet push their way in to eat at the same time as your authorised pet?" and

"Has your clever unauthorised pet worked out how to stop the lid closing?"

The lid close delay is set to four seconds by default. This is the time it takes for the lid to close once your pet has left the feeder. If you wish to change this, you can do so in the Sure Petcare app. You can make the lid close delay slower by increasing it to 20 seconds or faster by setting it to close as soon as the cat has left the proximity of the feeder.

We do have custom modes for these issues but we need your consent to set them for you:

Intruder mode will scan every 5 seconds for the microchip of the cat permitted to feed. If the feeder is not able to detect this microchip, or detects a non-permitted microchip the feeder will close.

The second, Forced Lid Closed custom mode will force the lid closed and push the intruder cat out of the feeder. This is a very forceful setting and acts more strongly than the normal intruder mode.

XRyu avatar Jan 20 '22 18:01 XRyu

If you wanted to get the certificate out of your hub you could get the mode set again and MITM all the traffic to see what surepet are sending to the hub. Well worth doing in my view if you are handy with a soldering iron and ok to do a bit of DNS messing around in your home network. Or there is a way to query what current mode bits are set.

All the mode bits I know about are here. And I have a significant code

https://github.com/plambrechtsen/pethublocal/blob/main/docker/source/pethubconst.py#L202

plambrechtsen avatar Jan 20 '22 20:01 plambrechtsen