Comments (6)
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.
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.
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.
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.
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.
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)
- 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
- Can't make RF Remote work with LC11 HOT 5
- 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.