-
Notifications
You must be signed in to change notification settings - Fork 26
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
[tuya] Add support for IR controller #501
Conversation
Signed-off-by: Dmitry P. (d51x) <dimonich110@gmail.com>
…command Signed-off-by: Dmitry P. (d51x) <dimonich110@gmail.com>
…ions, remove other ir-channels Signed-off-by: Dmitry P. (d51x) <dimonich110@gmail.com>
…ions, remove other ir-channels Signed-off-by: Dmitry P. (d51x) <dimonich110@gmail.com>
…ions, remove other ir-channels Signed-off-by: Dmitry P. (d51x) <dimonich110@gmail.com>
…ions, remove other ir-channels, added continuous learning mode Signed-off-by: Dmitry P. (d51x) <dimonich110@gmail.com>
Signed-off-by: Dmitry P. (d51x) <dimonich110@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! In general looks good to me. My comments are mostly regarding code style. And please properly sign-off your commits (i.e. with your full name).
|
||
Channel can receive learning key (autodetect format and put autodetected code in channel). | ||
|
||
To start learning codes add new channel with Type String and DP = 1 and Range with `send_ir,study,study_exit,study_key`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't that automatically added by discovery?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may be
as i know, there are two types of ir controllers - old version (works via dp201) and new version (works via dp1,2,3,4,7,10,13)
How automaticaly detects it, I don't know
and new version can work in two modes - DIY (now I can convert base64 tuya key code to nec format) and Tuya Library Mode, where key code consists from head and other data
...nding.tuya/src/main/java/org/smarthomej/binding/tuya/internal/handler/TuyaDeviceHandler.java
Outdated
Show resolved
Hide resolved
...nding.tuya/src/main/java/org/smarthomej/binding/tuya/internal/handler/TuyaDeviceHandler.java
Outdated
Show resolved
Hide resolved
...nding.tuya/src/main/java/org/smarthomej/binding/tuya/internal/handler/TuyaDeviceHandler.java
Outdated
Show resolved
Hide resolved
...smarthomej.binding.tuya/src/main/java/org/smarthomej/binding/tuya/internal/util/IrUtils.java
Outdated
Show resolved
Hide resolved
...smarthomej.binding.tuya/src/main/java/org/smarthomej/binding/tuya/internal/util/IrUtils.java
Outdated
Show resolved
Hide resolved
...smarthomej.binding.tuya/src/main/java/org/smarthomej/binding/tuya/internal/util/IrUtils.java
Outdated
Show resolved
Hide resolved
...smarthomej.binding.tuya/src/main/java/org/smarthomej/binding/tuya/internal/util/IrUtils.java
Outdated
Show resolved
Hide resolved
bundles/org.smarthomej.binding.tuya/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
Signed-off-by: Dmitry P. (d51x) <dimonich110@gmail.com>
Signed-off-by: Dmitry P. (d51x) <dimonich110@gmail.com>
Signed-off-by: Dmitry P. (d51x) <dimonich110@gmail.com>
Signed-off-by: Dmitry P. (d51x) <dimonich110@gmail.com>
…uya-ir-controller # Conflicts: # bundles/org.smarthomej.binding.tuya/src/main/java/org/smarthomej/binding/tuya/internal/util/IrUtils.java
Signed-off-by: Dmitry P. (d51x) <dimonich110@gmail.com>
Signed-off-by: Dmitry P. (d51x) <dimonich110@gmail.com>
Signed-off-by: Dmitry Pyatykh <dimonich110@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Add support for IR controller Signed-off-by: Dmitry Pyatykh <dimonich110@gmail.com> Signed-off-by: Jan N. Klug <github@klug.nrw>
No description provided.