Danielhiversen / PyXiaomiGateway

PyXiaomiGateway
MIT License
152 stars 55 forks source link

Aqara lock.acn02 #154

Open Omerdagan opened 5 years ago

Omerdagan commented 5 years ago

not sure as to why it's not working, I saw that he has support at the "PyXiaomiGateway file, but not at the xiaomi_aqara - lock.py file. the gateway firmware is the latest version 1.4.1_167.0158

Last working Home Assistant release (if known): 0.91.4

PyXiaomiGateway library version (if known): "PyXiaomiGateway==0.12.2"

Operating environment (Hass.io/Docker/Windows/etc.): hassio

Description of the bug: The device with sid --- isn't supported of the used gateway firmware. Please update the gateway firmware if possible! This is the only way the issue can be solved.

Omerdagan commented 5 years ago

from the logger,looks like only the battery level is getting through,not even the model lock.acn02 019-04-23 20:54:00 DEBUG (SyncWorker_1) [xiaomi_gateway] _send_cmd >> b'{"cmd":"read","sid":"158d00029147c2"}' 2019-04-23 20:54:00 DEBUG (SyncWorker_1) [xiaomi_gateway] _send_cmd resp << {'cmd': 'read_ack', 'model': '', 'sid': '158d00029147c2', 'short_id': 37099, 'data': '{"voltage":3339}'} 2019-04-23 20:54:00 ERROR (SyncWorker_1) [xiaomi_gateway] The device with sid 158d00029147c2 isn't supported of the used gateway firmware. Please update the gateway firmware if possible! This is the only way the issue can be solved.

syssi commented 5 years ago

As soon the firmware supports the device a model name will be available.

Omerdagan commented 5 years ago

@syssi I see..hope they will include it at the next update