Coder Social home page Coder Social logo

Comments (7)

nov30th avatar nov30th commented on June 16, 2024 1

I just tested with the latest dev version of HA, it seems the model is empty from Xiaomi gateway response.
image

My gateway is v3 with version 1.4.1_176.0220 which shows the latest version, it seems the only way is waiting for the update from Xiaomi gateway firmware.

from pyxiaomigateway.

syssi avatar syssi commented on June 16, 2024

Could you provide the error message of the xiaomi_aqara component? This would help to identify the device is already supported by the aqara firmware or not.

from pyxiaomigateway.

nov30th avatar nov30th commented on June 16, 2024

Hello @syssi ,
The error message was something like "not support" and I did look into the source code that there is no "l3acn3" model before I post this issue. The device Chinese name of the device is "D1单火三键". The three keys switch is a new product in 2020.
I haven't tested it with the Xiaomi gateway with model insert into the source as it is quite busy these months, once I got free time I would look into this issue as the Zigbee is a workaround.
As there are devices model dict in python, if there is no l3acn3, it would always output the unsupported in my experience.

from pyxiaomigateway.

tyjtyj avatar tyjtyj commented on June 16, 2024

Here is the debug logs

2020-11-16 16:30:30 DEBUG (SyncWorker_9) [xiaomi_gateway] Discovery attempt 1/5
2020-11-16 16:30:30 DEBUG (SyncWorker_9) [xiaomi_gateway] _send_cmd >> b'{"cmd":"read","sid":"4cf8cdf3c7a6f3c"}'
2020-11-16 16:30:30 DEBUG (SyncWorker_9) [xiaomi_gateway] _send_cmd resp << {'cmd': 'read_ack', 'model': '', 'sid': '4cf8cdf3c7a6f3c', 'short_id': 22567, 'data': '{"voltage":3600}'}
2020-11-16 16:30:30 ERROR (SyncWorker_9) [xiaomi_gateway] The device with sid 4cf8cdf3c7xxxx 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.

from pyxiaomigateway.

syssi avatar syssi commented on June 16, 2024

@tyjtyj The device with sid 4cf8cdf3c7xxxx 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.

We can only handle the device if 'model': '' isn't empty.

from pyxiaomigateway.

tyjtyj avatar tyjtyj commented on June 16, 2024

@tyjtyj The device with sid 4cf8cdf3c7xxxx 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.

We can only handle the device if 'model': '' isn't empty.

It was showing l3acn3 before last update on PyXiaomiGateway. The gateway already upgrade to latest

from pyxiaomigateway.

nov30th avatar nov30th commented on June 16, 2024

I've also tested the l3acn3 with added it to Xiaomi entities forcibly from "channel_0" to "channel_2" that it works with controllable.
The only problem is there is no status feedback from Xiaomi gateway, no switch status updates.

2020-12-23 20:47:30 WARNING (SyncWorker_2) [xiaomi_gateway] _send_cmd >> b'{"cmd": "write", "sid": "4cf8cdf3c7902ec", "data": {"channel_1": "off", "key": "**secret**"}}'
2020-12-23 20:47:30 WARNING (SyncWorker_2) [xiaomi_gateway] _send_cmd resp << {'cmd': 'write_ack', 'model': '', 'sid': '4cf8cdf3c7902ec', 'short_id': 52600, 'data': '{"voltage":3600}'}
2020-12-23 20:47:30 WARNING (SyncWorker_2) [xiaomi_gateway] write_ack << {'cmd': 'write_ack', 'model': '', 'sid': '4cf8cdf3c7902ec', 'short_id': 52600, 'data': '{"voltage":3600}'}

It could be like a workaround that someone doesn't have the Zigbee hub device to direct control and not care about status feedback.

from pyxiaomigateway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.