Comments (5)
Hi @oglodyte,
If you have the message ERROR: RF code not defined
, the codes sent by your remote seem to be different from the codes defined in the sketch and not a problem related to the pin of the RF receiver.
The solution would be to modify the RF codes in the sketch with your own for each button of your remote.
from arilux_al-lc0x.
Thank you @mertenats.
If I had those ERROR massages, it would give me a clue. Unfortunately I do not get any error messages as if rcSwitch.available() is never true. I'm pretty sure RCSwitch is included and complied in (was giving me errors until I loaded RCSwitch library). But it does not seem to work for me and I'm not sure how to troubleshoot it further.
from arilux_al-lc0x.
I'm working on an implementation by my own and discovered the following for Arilux LC11:
- RF input is GPIO15
- RF control is GPIO02
RF input is only enabled if GPIO02 is low (lighting the ESP12-F led).
@mertenats thnx for RCSwitch hint.
from arilux_al-lc0x.
Thank you so much @arendst!
That does it. Now I have those error messages and should be able to learn the codes.
Who would have guessed about GPIO2?..
BTW, are you adding LC11 and RF support to your Sonoff-Tasmota? That would be great! I use it for everything but this LC11. Any chance you also implement JSON mode in Sonoff-Tasmota?
from arilux_al-lc0x.
BTW, here are RF codes for remote that came with my LC11 in case it can help someone.
#ifdef RF_REMOTE
#define ARILUX_RF_CODE_KEY_ON 13350401
#define ARILUX_RF_CODE_KEY_TOGGLE 13350402
#define ARILUX_RF_CODE_KEY_OFF 13350403
#define ARILUX_RF_CODE_KEY_SPEED_PLUS 13350404
#define ARILUX_RF_CODE_KEY_MODE_PLUS 13350405
#define ARILUX_RF_CODE_KEY_BRIGHT_PLUS 13350406
#define ARILUX_RF_CODE_KEY_SPEED_MINUS 13350407
#define ARILUX_RF_CODE_KEY_MODE_MINUS 13350408
#define ARILUX_RF_CODE_KEY_BRIGHT_MINUS 13350409
#define ARILUX_RF_CODE_KEY_RED 13350410
#define ARILUX_RF_CODE_KEY_GREEN 13350411
#define ARILUX_RF_CODE_KEY_BLUE 13350412
#define ARILUX_RF_CODE_KEY_ORANGE 13350413
#define ARILUX_RF_CODE_KEY_LTGRN 13350414
#define ARILUX_RF_CODE_KEY_LTBLUE 13350415
#define ARILUX_RF_CODE_KEY_AMBER 13350416
#define ARILUX_RF_CODE_KEY_CYAN 13350417
#define ARILUX_RF_CODE_KEY_PURPLE 13350418
#define ARILUX_RF_CODE_KEY_YELLOW 13350419
#define ARILUX_RF_CODE_KEY_PINK 13350420
#define ARILUX_RF_CODE_KEY_WHITE 13350421
#endif
from arilux_al-lc0x.
Related Issues (20)
- Wrong state when turning device on with a color command HOT 1
- Brightness can't be increased to 255 with remote HOT 1
- on compile IRrecv error HOT 7
- Docu incomplete
- New controller version not working HOT 1
- Arilux LC-01 flash wired DOUT mode HOT 5
- Consider converting this to a ESP Easy plugin? HOT 2
- Ws2812 aka Neopixels? HOT 1
- Open box HOT 2
- ESP8285 HOT 23
- [Help] AL-LC01 flashing problems HOT 5
- Can't make debugging over telnet working HOT 1
- [Feature] Add ability to turn on/off with transition HOT 9
- [Feature] Remember last color set in EEPROM HOT 9
- [Feature] Toggle lights with physical switch connected to GPIO HOT 6
- MQTT discovery name gets corrupt
- What is the problem with 2.0 boards? HOT 3
- v1.4 not booting into flash mode
- compile problem IRremote HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arilux_al-lc0x.