Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
roomauto:deckenlichter.md [2017-01-16 20:03] xro |
roomauto:deckenlichter.md [2025-02-11 20:45] (current) xof |
||
---|---|---|---|
Line 8: | Line 8: | ||
- | State as of 12017-01-01 (he) | + | State as of 2017-01-01 (he) |
------------------------------ | ------------------------------ | ||
Line 55: | Line 55: | ||
* switching ceiling light power on/off is probably not as quick or nice-to-look-at as having planned [ESP8266 based H801](https://www.aliexpress.com/item/RGBWW-Strip-WiFi-Controller-1-Port-Control-200-Lights-Communicate-with-Android-Phone-Via-WLAN-to/32502007408.html) do it | * switching ceiling light power on/off is probably not as quick or nice-to-look-at as having planned [ESP8266 based H801](https://www.aliexpress.com/item/RGBWW-Strip-WiFi-Controller-1-Port-Control-200-Lights-Communicate-with-Android-Phone-Via-WLAN-to/32502007408.html) do it | ||
- | Project CeilingLight on Steroids | + | Project FancyLights |
-------------------------------- | -------------------------------- | ||
Line 63: | Line 63: | ||
 |  | ||
+ | |||
+ | * Comment 1 (xof): the fuse switches Basic- and fancy lights! | ||
+ | * Comment 2 (xof): the power supply of the basic lights have severe distortions/interferences on the power lines! So we added a filter on 2025-02-11 see [Elektrik](doku.php?id=intern:elektrik) | ||
Line 103: | Line 106: | ||
* (done) MQTT commands | * (done) MQTT commands | ||
* action/ceilingN/light {"r":int, "g":int, "b":int, "cw":int, "ww":int} | N={1..6,All}, int={0..1000} | * action/ceilingN/light {"r":int, "g":int, "b":int, "cw":int, "ww":int} | N={1..6,All}, int={0..1000} | ||
- | * optional: "flash":True or "flash":{"repetitions":x} | + | * optional: "flash":True or "flash":{"repetitions":x, "cc":[topic2, topic3, ...]} |
- | * optional: "fade":True or "fade":{"duration":ms} | + | * optional: "fade":True or "fade":{"duration":ms, "cc":[topic2, topic3, ...]} |
+ | * specifiyng cc will forward the json message to the next topic in the list after the effect has finished or was interrupted | ||
* action/ceilingN/defaultlight {"r":int, "g":int, "b":int, "cw":int, "ww":int} | N={1..6,All}, int={0..1000} | * action/ceilingN/defaultlight {"r":int, "g":int, "b":int, "cw":int, "ww":int} | N={1..6,All}, int={0..1000} | ||
* (done) provide backup interface. e.g. telnet | * (done) provide backup interface. e.g. telnet | ||
- | * secure backup telnet interface | + | * (done) backup telnet interface |
- | 4. test in dry state | + | 4. (done) test in dry state |
* startup behaviour: PWM pins start in INPUT direction, all channels except R- light up for 700ms \\ --> prefer solution where H801 soft-disables the LEDs and itself stays powered versus being powered on/off constantly | * startup behaviour: PWM pins start in INPUT direction, all channels except R- light up for 700ms \\ --> prefer solution where H801 soft-disables the LEDs and itself stays powered versus being powered on/off constantly | ||
* startup behaviour: configured default light state apply's really fast after about y1.4s (not after blinking due to INPUT direction though) | * startup behaviour: configured default light state apply's really fast after about y1.4s (not after blinking due to INPUT direction though) | ||
Line 116: | Line 120: | ||
* Telnet configuration works really well | * Telnet configuration works really well | ||
* spiffs flash-time pre-configuration works really well | * spiffs flash-time pre-configuration works really well | ||
- | 4. test in indirect ceiling illumination configuration | + | 4.(done) test in indirect ceiling illumination configuration |
* Strip1 (RGB+CW) width: 12mm | * Strip1 (RGB+CW) width: 12mm | ||
* Strip2 (WW) width: 9.5mm | * Strip2 (WW) width: 9.5mm | ||
+ | * all in all not bright enough for that and not diffuse enough | ||
4. (done) test in ceiling light enclosure | 4. (done) test in ceiling light enclosure | ||
* WIFI works really well, surprisingly no problem | * WIFI works really well, surprisingly no problem | ||
Line 127: | Line 132: | ||
* Things learned | * Things learned | ||
* prefer splice WarmWhite from VCC, not from V+ where it passes the PCB | * prefer splice WarmWhite from VCC, not from V+ where it passes the PCB | ||
+ | * Red and Green is switched on RGB+CW Strip | ||
* vor-Auflegen funktioniert nicht gut -> aufzeichnen | * vor-Auflegen funktioniert nicht gut -> aufzeichnen | ||
* use 12mm 5pin clip-connectors for 12mm wide 5pin RGBW Led strip (not 10mm) -> ordered 12mm | * use 12mm 5pin clip-connectors for 12mm wide 5pin RGBW Led strip (not 10mm) -> ordered 12mm | ||
Line 136: | Line 142: | ||
* arrange power supply in corner of edges, where they don't cast shadow if possible | * arrange power supply in corner of edges, where they don't cast shadow if possible | ||
* arrange H801 in center when possible | * arrange H801 in center when possible | ||
- | 5. change golightctrl so it can control H801 | + | 5. (almost done) change golightctrl so it can control H801 |
- | 6. install in ceiling lights | + | 6. (1/6 done) install in ceiling lights |
7. put CW-LEDs currently in one ceiling lights into MaSha | 7. put CW-LEDs currently in one ceiling lights into MaSha | ||
- | WW-LEDs in all Ceiling lights as Simple-Light | + | WW-LEDs in all Ceiling lights as Simple-Light |
RGB+CW+WW-Fancy-Lights int all Ceiling lights | RGB+CW+WW-Fancy-Lights int all Ceiling lights | ||
+ | 8. modify 20W RGB+WW Flodding Lights with H801 and indirectly illuminate ceiling | ||
- | Project Switches as Robust Fallback | + | Project BasicLights |
----------------------------------- | ----------------------------------- | ||
- | **Plan:** connect Relay directly to Teensy µC | + | **Plan:** separate lights which work really really reliably |
- | **Working on it:** [xro](doku.php?id=xro:xro) | + | **Working on it:** [equinox](doku.php?id=equinox:equinox) |
- | **Status**: Concept | + | **Status**: WIP |
**TODO** | **TODO** | ||
- | 1. change teensy firmware to switch LOW for light-on | + | 1. (1/6 done) install Tanbaby LED Lights in Ceiling Lights |
- | 2. ensure H801 firmware acts transparent. Power on -> Light, Power off -> no light | + | 2. (presumably done) write firmware for Teensy2.0 |
- | 3. always cut power if physical switches are used | + | 3. (almost done) create enclosure with Teensy2.0 and buttons |
- | 4. change golightctrl to | + | 4. install and connect power |
- | * send soft-off to H801 if web-buttons are sued | + | 5. interface with RasperryPi in a way that |
- | * cut power via relay if physical buttons are used | + | * Raspberry can switch lights |
- | * cut power if presence=false | + | * Teensy2.0 does not depend on Raspberry power |
- | 5. connect Relay directly to Teensy µC | + | * Raspberry and Teensy2.0 can be disconnected from each other / from power in case of error on each |
realraum Graz, Brockmanngasse 15, 8010 Graz, realraum - Verein für Technik in Kultur und Gesellschaft