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

Simple remote LED candle with IR HAT #22

Open
AndrewD93 opened this issue Nov 12, 2019 · 6 comments
Open

Simple remote LED candle with IR HAT #22

AndrewD93 opened this issue Nov 12, 2019 · 6 comments

Comments

@AndrewD93
Copy link

So I've bouht this nice remote-controlled LED candle and the first thing I thought once home was trying to map the two simple buttons right into the IR HAT.
immagine
I mapped them as raw signals since this worked fine with my air conditioner and the signals appear to be pretty basic. When I try it with irsend, the signal is correctly sent but the candle won't turn on (I've tried an air conditioner command right before and it works fine). Here's my config file.
Do you have any clues on what it might be?
(I'm sorry if this comes out to be off-topic, I remember you assisted me finely months ago)

@leon-anavi
Copy link
Member

Hi @AndrewD93,

Cool candle! I love it. Never used such a LED candle but I may buy one too :)

Unlike the remote controls for air conditioners, this remote looks simple. Have you tried scanning it with irrecond as standard codes (I mean not raw codes)?

Best regards,
Leon

@leon-anavi
Copy link
Member

@AndrewD93 one more thing... (totally off-topic): right now Crowd Supply is running a field report contest. st. If you share a few words (before 15 November) about home automation of air conditioner with ANAVI Infrared pHAT tou will get a $25 Crowd Supply credit and you will enter a raffle for more cool open source gear. Details how to participate are available here:
https://www.crowdsupply.com/anavi-technology/infrared-phat/updates/anavi-field-report-contest

It will be cool to share your experience with the complex remote control for air conditioner and the the raw codes in LIRC.

Thanks, Leon

@AndrewD93
Copy link
Author

AndrewD93 commented Nov 12, 2019

So when I try to do it with non-raw signals it takes horribly long to make initial calibration with dots and I get these warnings during the procedure.
Cannot find any gap, using an arbitrary 50 ms one. If you have a regular remote for e. g., a TV or such this is probably a point where you hit control-C. However, technical hardware like air condition gear often works without any gap. If you think it's reasonable that your remote lacks gap you can proceed.

Cannot find any toggle mask.

The output remote file is basically all zeros and when I try to irsend it I get a "transmission failed" error.

I'll take a better look at your contest and will be happy to take part :)

@leon-anavi
Copy link
Member

Earlier today @Carccha reported a similar issue on Raspbian Buster. He solved it by additional configuration in /etc/modules. This has not been yet added to the user's manual (but it has to go there). Here are the details: #21 (comment)

Is it possible that you are facing something similar? Can you please give it a try?

Thanks,
Leon

@AndrewD93
Copy link
Author

Well my configuration file is already like that and I think you've already updated user's manual with that. That's the issue I experienced this summer.
I think that error occurs because of how the standard config file right above which is basically made of zeros. In fact, if I try any different remote it works properly (execpt the candle not turning on, of course).

@leon-anavi
Copy link
Member

Hm, sorry, I am running out of ideas. Indeed the zeros are not a good sing. May be there is some kind of incompatibility with this remote.

On the off-topic - I am excited that you are interested in taking part in the Crowd Supply contest!

Best regards,
Leon

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

2 participants