Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support Dongguan Garage Door #231

Merged
merged 1 commit into from
Sep 12, 2022
Merged

Add support Dongguan Garage Door #231

merged 1 commit into from
Sep 12, 2022

Conversation

myhomeiot
Copy link
Contributor

It's looks like noname Chinese Door Controller, one which I have and tested is produced by Dongguan Pinjia Technology Co. and has model number PJ-WGDOOR01 can be found as Tuya Smart Life WiFi Motorized Swing Gate Sliding Gate Opener Dry Contact 110V 240V Voice Control with Alexa Google Home

It's looks like noname Chinese Door Controller, one which I have and tested is produced by Dongguan Pinjia Technology Co. and has model number PJ-WGDOOR01 can be found as [Tuya Smart Life WiFi Motorized Swing Gate Sliding Gate Opener Dry Contact 110V 240V Voice Control with Alexa Google Home](https://www.aliexpress.com/item/1005003913566298.html)
@myhomeiot
Copy link
Contributor Author

Looking forward for fix #176 without it status update works very slooow.

@make-all make-all merged commit d3bae9c into make-all:main Sep 12, 2022
make-all added a commit that referenced this pull request Jan 11, 2023
  - create a loop for reading from the persistent connection.
  - read from that loop in a separate async task
  - register links back to entities from the device so that we can asynchronously inform HA of updates
  - remove the old poll mechanism
  - make some old synchronous methods asynchronous, remove duplicates where there were both
  - use asyncio.sleep instead of a separate Timer thread to send with delay
  - send things without waiting for replies (as the reply will come through the read loop)
  - keep track of what was sent and avoid sending it again while we are keeping it to reflect in state.
  - call the api asynchronously in the retry method to avoid blocking the event thread, and return the return value.
  - use HomeAssistant lifecycle events to avoid delaying startup and shutdown

    Issue #92, #146, #176, #231, #249, #253, #277, #286, #311, #330
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants