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

ALOKA SleepyLights LED Lamp #1004

Closed
JHale716 opened this issue Dec 15, 2019 · 6 comments · Fixed by #1005
Closed

ALOKA SleepyLights LED Lamp #1004

JHale716 opened this issue Dec 15, 2019 · 6 comments · Fixed by #1005
Assignees

Comments

@JHale716
Copy link

JHale716 commented Dec 15, 2019

Other useful information

More information is always welcome. Be verbose.

IR codes and structure for kids ALOKA SleepyLights LED Lamp. https://aloka-designs.com/

May be useful for someone wanting to control the baby's lamp without entering the room... Squeaky floors can be a major hassle when baby is a light sleeper.

The lamp is toggled on and off with the same power button
The colour, when selected, is the brightest and there are 4 levels of brightness that decrease on each send of the colour. A fifth send of the colour resets to brightest again

Codes captured using the IRrecvDumpV2.ino sketch with no mods on a Wemos d1Mini with a KY-022 infrared receiver.

The remote does send a standard NEC repeat when repeating.

// Protocol NEC & buttons defined left to right, top line to bottom line on the remote.
#define ALOKA_BITS  32
#define POWER 0xFF609F     
#define ledWHITE 0xFF906F 
#define ledGREEN 0xFF9867
#define ledBLUE 0xFFD827
#define ledPINKRED 0xFF8877
#define ledRED 0xFFA857
#define ledLTGREEN 0xFFE817
#define ledMIDBLUE 0xFF48B7
#define ledPINK 0xFF6897
#define ledORANGE 0xFFB24D
#define ledYELLOW 0xFF00FF
#define NIGHTFADE 0xFF50AF
#define NIGHTTIMER 0xFF7887
#define ledRAINBOW 0xFF708F
#define ledTREEGROW 0xFF58A7  // (didn't have a better description for it...)
@crankyoldgit
Copy link
Owner

Thanks for this. I'll update the supported devices and add them as constants etc.

@crankyoldgit
Copy link
Owner

FYI, the aforementioned changes/code has been included in the v2.7.2 release of the library.

@JHale716
Copy link
Author

JHale716 commented Jan 7, 2020

FYI, the aforementioned changes/code has been included in the v2.7.2 release of the library.

Awesome! Thanks for the inclusion and updates!

@JHale716
Copy link
Author

JHale716 commented Jan 7, 2020

Question not to create a new thread. Would you like other makes/models codes to add to the library? Have heaps of IR remote stuff here

@crankyoldgit
Copy link
Owner

"It depends".

We could probably create a text file that is known codes etc for people to use. Or ... you could set up a website and create a DB for people to use directly with IRremote etc. i.e. Get your own exposure for your effort.

I often resort/push people to https://irdb.globalcache.com/ which has most things. If it's not in there, then a) It probably should be, and b) we could add it.

The TL;DR: is, let's not re-invent the wheel, but if we do, lets make it easy to add to for all people and not require them to update to the latest version of the library to have it included in the code etc.

@JHale716
Copy link
Author

JHale716 commented Jan 7, 2020

Cool, fair comment. I’ll scratch my head on that one. I'll check out the link too, as that may well be the best answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants