Comments (3)
Looking at the data used by the surepetcare.io page (developer tools /network in web browser), the device information appears to be consistent with the data from SurePy.
It appears that they may no longer using status values to report the lock status under curfew. They may be using time comparisons to determine what is happening, which is a bit annoying.
I will have a mess around with a few more locking modes tomorrow and update here with my findings.
"control": {
"curfew": {
"enabled": true,
"lock_time": "21:49",
"unlock_time": "06:00"
},
"fast_polling": true
},
"status": {
"battery": 6.337,
"learn_mode": false,
"locking": {
"mode": 4,
"curfew": {
"delay_time": 0,
"permission": 2,
"unlock_time": "06:00",
"lock_time": "21:49"
}
},
"signal": {
"device_rssi": -47,
"hub_rssi": -50
},
"version": {
"lcd": {
"hardware": "1.0",
"firmware": "1.0"
},
"rf": {
"hardware": "4.0",
"firmware": "0.16"
},
"device": {
"hardware": "1.2",
"firmware": "1.0"
}
},
"online": true
},
from surepy.
The pet door is definitely reporting it's state correctly using the status.locking.mode values (based on the expected device enumerations) but the curfew logic seems to have changed so that it is always reporting as mode=4 regardless of the state of the exit lock.
from surepy.
I fixed this in my own downstream code. WIll close it here.
from surepy.
Related Issues (20)
- Package dependency conflicts
- Installation/setup error? HOT 2
- Mark cat as inside/outside when they "look through" HOT 1
- Pet profile HOT 2
- Authentication Issues (via HomeAssistant HOT 1
- SurePy initializes with 'TypeError: object of type 'int' has no len()' HOT 3
- get_token() raise exception HOT 2
- Add support for setting LED status
- having issues logging in HOT 25
- Longer tokens are not supported HOT 9
- Log error: "error while setting up sureha platform for sensor"
- Disconnected Flap -> Connect status does not change
- Cat Flap entity picture changes only after hours / reloading
- Pet State Changes Randomly
- SurePy.Client Get app.api.surehub.io/api/report/household/xyz/: 404 HOT 4
- Exception from set_curfew API (daylight saving change related?) HOT 5
- Surepy CLI request token doesn't return token HOT 1
- Incorrect initialisation of PetLocationData.since
- Fixed number of entries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from surepy.