Zum Inhalt springen

Umbrella: Unterschied zwischen den Versionen

BadPractice (Diskussion | Beiträge)
added troubleshoot for lightswitch
Anlumo (Diskussion | Beiträge)
 
(34 dazwischenliegende Versionen von 11 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
[[Datei:Buntschirm.jpg|miniatur]]
__TOC__
[[Datei:u_blue.jpg|miniatur]]
=Version 2.0=
[[Datei:u_pink.jpg|miniatur]]
[[Datei:Umbrella_v2_bunt.jpg|300px|thumb|right|The new lamps lit up in all the colours]]
At several [[Jour_Fixe|Jour fixes]] ([[2022-02-22_Jour_Fixe#neues_Licht_im_Hauptraum_.28luto.2C_cube.2C_anlumo.29|2022-02-22_Jour_Fixe]], [[2022-04-26_Jour_Fixe#Upgrade_f.C3.BCr.27s_Upgrade_vom_Hauptraumlicht_.28ripper.2C_anlumo.2C_cube.2C_nicht_luto.29|2022-04-26_Jour_Fixe]] and [[2022-05-11_Jour_Fixe#Erhellung_Hauptraum_.28ripper.2C_fussel.29|2022-05-11_Jour_Fixe]]) the decision was made that the Umbrellas need an upgrade. The LED strips were replaced by four IKEA Tradfri LED bulbs which are mounted on a custom lasercut aluminium plate.
[[Datei:Umbrella_v2_4er.png|300px|thumb|right|3D redering of the Aluminium plate with the LED bulbs]]


== How to use ==
[[User:anlumo|anlumo]] knows all the things about them!


==How to simply turn on the Light==
They are all mapped into our [[SmartLab]] and controllable through Zigbee via Home Assistant.
Use the light switch next to the kitchen. You can dim the light with the rotary knob on the side.


Name convention:


[[Datei:Umbrella_lightswitch_1.jpg|200px]]
* <code>light.Hauptraumschirm_<row>_<column>_<index></code> for individual lamps
[[Datei:Umbrella_lightswitch_2.jpg|200px]]
* <code>light.Hauptraumschirm_<row>_<column></code> for individual umbrellas
* <code>light.Hauptraumschirm_<row></code> for rows of umbrellas
* <code>light.Hauptraumschirme</code> for all of them together


If it does not work try unplugging and replugging it. Wait a couple of seconds.  
All numbers are 1-based. The indexes of the lamps inside umbrellas are random, but otherwise the numbering starts at 1,1 in the corner near the library and the kitchen.
==Why==


The metalab needs some new lights.
== Hardware ==
All CAD files can be found on Github: [https://github.com/Metalab/Umbrella_v2 Umbrella v2]<br>
[[User:ripper|ripper]] knows all the things about the hardware and will add this!


ART-net is awesome.
ToDo: add info on hardware thats not in the Github repo


== Maintenance ==
The bulbs are standard, [https://www.ikea.com/at/de/p/tradfri-led-leuchtmittel-e27-806-lm-kabellos-dimmbar-farb-und-weissspektrum-rund-opalweiss-70439158/ Ikea TRÅDFRI RGB LED bulbs]. For replacing one, the umbrella needs to be removed by pushing them upwards and moving them towards the windows.


== How ==
ToDo: how to replace components/fixtures


Raspberry Pi 3 + Touchscreen
== Credits ==
* [[User:anlumo|anlumo]]: setting up everything in metalabs home assistant, wiring up the fixtures
* [[User:cube|cube]]: installing the fixtures, wiring 230V, 3D printing inserts
* [[User:luto|luto]]: teardown of the old lamps, assembling the lamps
* [[User:ripper|ripper]]: design, assembling and installing lamps, 3D printing inserts
* [[User:you|you?]]: Did you help? add yourself!


Distro based on the QLC+ image (raspbian jessie)
=Version 1.0=
<span style="font-size: 16pt; color: red;">Outdated information, just here for documenting the history</span>
This version has been replaced.<br>
[[Datei:Buntschirm.jpg|right|miniatur]]
[[Datei:u_blue.jpg|right|miniatur]]
[[Datei:u_pink.jpg|right|miniatur]]
Umbrella is the ceiling lighting of the main room. It consist out of 12 umbrellas capable of emitting light in either 16581375 RGB shades or 65025 white shades.


QLC+ X-server less build that renders directly in GL buffers for performance
The umbrellas are controllable with [https://en.wikipedia.org/wiki/Art-Net art-net].


H801 based clients (ESP8266)


Arduino based firmware that implements ART-net
==How to simply turn on/off the light==


Use the '''[[Interruttore/en|Interruttore]]''' light switch.


== Temporary setup with QLC+ ==
== Access data ==


Connect to "metalights" WLAN
* WLAN SSID: metalights
* Protocol: [https://en.wikipedia.org/wiki/Art-Net art-net]
* Host: 10.20.255.255
* startUniverse: 3
* There are 60 channel, 5 channels (RGBWW) per umbrella.


Set OUTPUT to 10.20.255.255


Set ARTnet universe to 3
== Why ==
The Metalab needed some new lights. ART-net is awesome.


There are 5 channels / Umbrella
== How ==
* Raspberry Pi 3 + Touchscreen
* Distro based on the QLC+ image (raspbian jessie)
* QLC+ XServer less build that renders directly in GL buffers for performance
* H801 based clients (ESP8266)
* Arduino based firmware that implements ART-net


R,G,B,WW,CW


If CW or WW are anything else but "0" R,G and B are disabled by firmware
== Temporary setup with QLC+ ==
 
If R,G or B are anything but "0" CW and WW are disabled by firmware
* Connect to "metalights" WLAN
 
* Set OUTPUT to 10.20.255.255
This is to save our power supplies from sudden heat death.
* Set ARTnet universe to 3
* There are 5 channels / Umbrella
* R,G,B,WW,CW
* If CW or WW are anything else but "0" then R,G and B are disabled by firmware.
* If R,G or B are anything but "0" then CW and WW are disabled by firmware.
* This is to save our power supplies from sudden heat death.
* (105 watt / Umbrella max)
   
   
(105 watt / Umbrella max)


== Hardware ==
== Hardware ==
 
H801 Led controller features:
H801 LED controller features:
 
* 8 Mbit Storage (1 Mb)
* 8 Mbit Storage (1 Mb)
* 5 channels each 45 watt max (~ 3.5 Ampere @ 12 V / channel)
* 5 channels each 45 watt max (~ 3.5 Ampere @ 12 V / channel)


=== How to flash ===


=== How to flash ===
* Install [https://www.arduino.cc/en/Main/Software Arduino IDE]
* Install Arduino 1.6.4
* Install [http://esp8266.github.io/Arduino/versions/2.0.0/doc/installing.html ESP 8266 extensions]
* Install ESP 8266 extensions
* Choose generic ESP8266 Board under Tools->Board
* Select Tools:
* Settings for ESP8266: [[File:Umbrella_address.png|300px|right]]
** GENERIC ESP8266 Module
** GENERIC ESP8266 Module
** Flash Mode: DIO
** Flash Mode: DIO
Zeile 71: Zeile 108:
** Debug Level: none
** Debug Level: none
** Reset Mode: ck
** Reset Mode: ck
** Flash Frequency: 40 Mhz
** Flash Frequency: 40 MHz
** CPU Frequency: 80 Mhz
** CPU Frequency: 80 MHz
** Upload Speed: 115200 or more
** Upload Speed: 115200 or more


* U need a USB-to-UART-board (set to 3.3V)
* Connect GND to GND; RX to TX(!) and TX to RX(!); DO NOT CONNECT 3.3V!
* Set JUMPER on board to boot into flash mode. (Important! Has to be set before power is connected, so board gets into flashing mode.)
* Supply power via VCC & GND (12V should be adequate)
The code to flash can be found in the [https://github.com/overflo23/H801_ARTnet github repo].
If you want to flash exactly this code (and what else would you flash in the main room), you will need these libraries:


* Set JUMPER on board to boot into  flash mode
* [https://github.com/rstephan/ArtnetWifi ArtnetWifi] (Has to be installed via git clone to ~/Arduino/libraries)
* Power the board
* [https://github.com/tzapu/WiFiManager WifiManager]
* [https://arduinojson.org/ ArduinoJson] (Version 5.13.3)


==Who==


Originally invented and built by [[Benutzer:overflo|overflo]], the umbrellas were built by a lot of people at some nightshifts at metalab
== Who ==
Originally invented and built by [[Benutzer:overflo|overflo]], the umbrellas were built by a lot of people in some night shifts at Metalab
LOTS of support by
* uniq, anlumo, ripper, bogdan <your name here>


LOTS OF SUPPORT BY
uniq, anlumo, ripper, bogdan <your name here>


==Links==
== QLC+ ==


* Neue Fixture: [[Datei:Hauptraum_setup.qxw.txt]] (das muss nach ~/.qlcplus/fixtures/hauptraum-setup.qxf)
* Fixture: [[Datei:Metalab-Umbrella.txt]] (das muss nach ~/.qlcplus/fixtures/Metalab-Umbrella.qxf)
* Demo Desk: [[Datei:Test.txt]]


[http://www.qlcplus.org/ QLC+]


[https://de.aliexpress.com/item/DC5-24V-Wireless-Smart-Dimmer-Receiver-Output-5-Routes-PWM-Data-WiFi-APP-Controlled-for-RGBW H801 Controllers]
== Links ==
 
[https://github.com/overflo23/H801_ARTnet Github]
 
[http://www.artisticlicence.com/WebSiteMaster/User%20Guides/art-net.pdf ART-net Reference]


* [http://www.qlcplus.org/ QLC+]
* [http://tinkerman.cat/closer-look-h801-led-wifi-controller H801]
* [https://github.com/overflo23/H801_ARTnet Github]
* [http://www.artisticlicence.com/WebSiteMaster/User%20Guides/art-net.pdf ART-net Reference]
[[Artnet]]
[[Artnet]]
* [https://github.com/reox/pybrella A Python implementation to control the umbrellas]