Giter VIP home page Giter VIP logo

Comments (6)

Philje123 avatar Philje123 commented on June 19, 2024

For my WAF I have a mix of Hue lights, dimmer switches, livingwhites remote and google home.

Are you running Home Assistant or similar?

If Hue were to get some Hue lights and remotes there is some custom code you can install that listens for remote button presses and can then activate MQTT lights like Arilux/MagicHome controllers.

from arilux_al-lc0x.

oglodyte avatar oglodyte commented on June 19, 2024

hi @Philje123,

thank you for your comment.

Yes, I'm running HA, but the point is to make it smart with 0 impact on the users who do not care about it's smartness. If there was a wall switch to turn it, it just have to continue working as usual. And as reliable.

Those remotes are only useful if they can replace wall switch. IMO the only remote that is aesthetically acceptable is Lutron Pico and that still scores lower on WAF than existing plain toggle switch. Then you need to have Lutron's Pro hub and too many points of failure in the chain overall to call it reliable.

So what I typically do when adding ESP8266-baseed controller - I wire existing toggle switch to the GPIO pin on the same controller, so that it can be used to toggle whatever it controls on/off wether or not WiFi, HA or MQTT services are available.

from arilux_al-lc0x.

Philje123 avatar Philje123 commented on June 19, 2024

I get exactly what you mean now.

So you could basically wire up a toggle switch between say GPIO0 and Vcc so every time it is switched on or off if toggles the RGB lights?

That would be a really nice feature and sure pretty easy to code in... but I've no idea how. I'm pretty new to all this arduino/mqtt stuff and learning as I go.

from arilux_al-lc0x.

oglodyte avatar oglodyte commented on June 19, 2024

Right. It is actually fairly easy change. I have it working with my LC11 pretty well. If you are interested I've just put it here:
oglodyte/Arilux_AL-LC0X
I'm also new to this and just having fun learning.

from arilux_al-lc0x.

rvt avatar rvt commented on June 19, 2024

Would it be possible to use a eeprom to keep track of last light state when it was emitting? Then when the device detects a start it will simply go on, regardless of what mqtt states? SOmething similar to what the Ikea ights do when power is toggled...

from arilux_al-lc0x.

rvt avatar rvt commented on June 19, 2024

Here is a branch where this issue is solved https://github.com/rvt/Arilux_AL-LC0X/tree/redesign

What it does is when the less where off and you power off/on it will lookup the last color setting and brightness in EEPROM and turn on the device with these settings making operation feel a bit more natural. Also handy if your mutt broker is down.

Note: ItΒ΄s not a drop-in replacement because color model is changed from RGB to HSB and some things are changed to follow this design. It should be easy to convert though.
If there is really a need for RGB model I can see what I can do but I just assumed that all control software (openHAB, Home assistant etc) can output HSB

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.