Comments (4)
Read ack:
{'cmd': 'read_ack', 'model': 'lock.aq1', 'sid': '158d000222****', 'short_id': 55***, 'data': '{"voltage":3387}'}
Here is some data examples (sended by lock as "events"):
finger verify ok:
{'cmd': 'read_ack', 'model': 'lock.aq1', 'sid': '158d000222****', 'short_id': 55***, 'data': '{"fing_verified": 65536}'}
and another finger verify success:
{'cmd': 'read_ack', 'model': 'lock.aq1', 'sid': '158d000222****', 'short_id': 55***, 'data': '{"fing_verified": 65537}'}
password verify success:
{'cmd': 'read_ack', 'model': 'lock.aq1', 'sid': '158d000222****', 'short_id': 55***, 'data': '{"psw_verified": 131074}'}
card verify success:
{'cmd': 'read_ack', 'model': 'lock.aq1', 'sid': '158d000222****', 'short_id': 55***, 'data': '{"card_verified": 196608}'}
verify fail (sends after 3+ fails):
{'cmd': 'report', 'model': 'lock.aq1', 'sid': '158d000222****', 'short_id': 55***, 'data': '{"verified_wrong":"3"}'}
Hope you can add it soon =))
from pyxiaomigateway.
Could you provide some response example? I would like to implement the device.
from pyxiaomigateway.
I tought about it. The provided response above is the read_ack
response already. It provides just the voltage (battery level) of the device. This isn't enough. The data field must provide a state or some other informations about the device. I assume the device isn't supported properly of the gateway firmware so far.
from pyxiaomigateway.
Ah, I actually posted the same question. I think we have to wait for the API to support it.
from pyxiaomigateway.
Related Issues (20)
- Support for switch.b2lacn02
- Change Light Migateway to unavailable when migate cannot be reached HOT 4
- Config Flow HOT 4
- Xiaomi Aqara Wireless Releay - HOT 2
- Multicast socket error on WSL system HOT 2
- Support for Aqara wall smart switch D1 (2020 model) HOT 1
- Push the release to pypi please HOT 9
- Pls add support for new type wall switch of Xiaomi HOT 1
- Help With: Zeroconf discovered Gateway could not be located to get the necessary information, try using the IP of the device running HomeAssistant as interface HOT 3
- Aqara Wireless Remote Switch D1 not supported HOT 1
- Unsuported device (Aqara wall switch D1 single rocker with neutral) HOT 1
- Add switch.l3acn3 and switch.n3acn3 support HOT 7
- Endless "Unknown gateway ip" errors in log HOT 1
- i can't use Aqara D1 Wireless Remote Switch (Single Rocker) (WXKG06LM) (lumi.remote.b186acn02) in homeassistant 0.114.3 HOT 7
- Add switch.b2lacn02 support HOT 6
- Unsupported device found! Unsupported device data: dmaker.fan.1c HOT 1
- Support for non-multicast network
- Map models to type collection
- Xiaomi Aqara Wireless Relay HOT 1
- xiaomi_gateway errors dont report which gateway
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 pyxiaomigateway.