Giter VIP home page Giter VIP logo

Comments (5)

SamZorSec avatar SamZorSec commented on September 24, 2024

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.

oglodyte avatar oglodyte commented on September 24, 2024

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.

arendst avatar arendst commented on September 24, 2024

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.

oglodyte avatar oglodyte commented on September 24, 2024

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.

oglodyte avatar oglodyte commented on September 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.