这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@GiviMAD
Copy link
Member

@GiviMAD GiviMAD commented Oct 20, 2023

Hello,

This PR introduces an option to reset the adb connection after a configurable number of consecutive timeouts. It seems to solve an issue I was occasionally having after letting the device (Chomecast with Google TV) sleeping for a while.

Also adds support for the INCREASE and DECREASE command to the volume channel which were incorrectly handled before.

I have also moved the load of the adb keys from the static context to the activate method of the thing handler.

Hope everything is in place, best regards.

…nnel

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
@GiviMAD GiviMAD force-pushed the androiddebugbridge/reconnect_and_volume branch from dac7986 to 44d8dac Compare October 20, 2023 18:27
@lsiepel lsiepel added the enhancement An enhancement or new feature for an existing add-on label Oct 22, 2023
Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Could you also update update the readme.md with these changes?

@GiviMAD
Copy link
Member Author

GiviMAD commented Oct 22, 2023

Sure, I totally forgot, and thank you for the review!

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
@GiviMAD GiviMAD requested a review from lolodomo November 3, 2023 19:13
@GiviMAD
Copy link
Member Author

GiviMAD commented Nov 3, 2023

I think the pipeline has failed due a small GitHub downtime.

Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you

@lolodomo lolodomo merged commit 94d9fb7 into openhab:main Nov 3, 2023
@lolodomo lolodomo added this to the 4.1 milestone Nov 3, 2023
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Nov 26, 2023
…nnel (openhab#15788)

* [androiddebugbridge] Reconnect on max timeouts and improve volume channel

---------

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
austvik pushed a commit to austvik/openhab-addons that referenced this pull request Mar 27, 2024
…nnel (openhab#15788)

* [androiddebugbridge] Reconnect on max timeouts and improve volume channel

---------

Signed-off-by: Miguel Álvarez <miguelwork92@gmail.com>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement An enhancement or new feature for an existing add-on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants