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

Problem with learning #2

Open
eagnoor opened this issue Jan 28, 2019 · 3 comments
Open

Problem with learning #2

eagnoor opened this issue Jan 28, 2019 · 3 comments

Comments

@eagnoor
Copy link

eagnoor commented Jan 28, 2019

When i put the device in learning mode (rf), i get the for example opening lights command. But when i try to learn another command (close lights), it returns the same byte[] from the last command (open lights).
So if i want to use another command i have to reset the device.
There is anyway of making the device learn other command without reseting the device?

@ume05rw
Copy link
Owner

ume05rw commented Jan 29, 2019

Wow, Did you trying Radio(RF) remote control instead of infrared(IR)?
Sorry, although I added codes for the RF, I didn't have any RF-Devices.
So, the correct test was not done.
#In Japan, RF remote control is not so much...

Since the RF remote control has just arrived, I will try as well.
Thanks for the report!

@ume05rw
Copy link
Owner

ume05rw commented Feb 1, 2019

Are you trying to learn multiple signals by running learning mode only once?

After entering the learning mode with Rm.EnterLearning(), the Rm device immediately returns to the normal mode after learning the signal of one button of the remote control.
To learn all the buttons on the remote control, you need to execute Rm.EnterLearning() / Rm.CheckData() for the number of buttons.

#By the way, RF operation could not be confirmed.
#I could not judge whether the cause is remote control device or code.

@AdamoT
Copy link
Contributor

AdamoT commented May 18, 2019

This issue should be closed by merging #3

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

No branches or pull requests

3 participants