Holodeck/Licht: Unterschied zwischen den Versionen

Aus Stratum 0
Wechseln zu:Navigation, Suche
K (status korrigiert. der alte wurde einfach ignoriert.)
K (format)
 
(4 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 
{{Projekt|kontakt=Chrissi^, Kasa|status=aktiv|beschreibung=Licht für das Holodeck|bild=|bildbeschreibung=|interessenten=|source=|lizenz=|download=[https://gitli.stratum0.org/chrissi/ledctl ledctl auf gitli]|version=}}
 
{{Projekt|kontakt=Chrissi^, Kasa|status=aktiv|beschreibung=Licht für das Holodeck|bild=|bildbeschreibung=|interessenten=|source=|lizenz=|download=[https://gitli.stratum0.org/chrissi/ledctl ledctl auf gitli]|version=}}
 +
 +
{{Hinweis|Defekt: Stand August 2024}}
 +
 
Auf dem Holodeck gibt es über das Netzwerk steuerbares LED-Licht.
 
Auf dem Holodeck gibt es über das Netzwerk steuerbares LED-Licht.
 
Diese Seite soll grob die Funktionen dokumentieren. Für eine aktuelle Dokumentation siehe in der [https://gitli.stratum0.org/chrissi/ledctl/blob/master/README.md README].
 
Diese Seite soll grob die Funktionen dokumentieren. Für eine aktuelle Dokumentation siehe in der [https://gitli.stratum0.org/chrissi/ledctl/blob/master/README.md README].
Zeile 15: Zeile 18:
 
== Some useful defaults ==
 
== Some useful defaults ==
 
Open one of these Links from inside the space to apply the new color.  
 
Open one of these Links from inside the space to apply the new color.  
* [http://holodeck.stratum0.net/holodeck/all/nicewhite warm white]
+
* [http://hololicht.s0/holodeck/all/nicewhite warm white]
* [http://holodeck.stratum0.net/holodeck/all/day cold white]
+
* [http://hololicht.s0/holodeck/all/day cold white]
* [http://holodeck.stratum0.net/holodeck/all/off nearly off]
+
* [http://hololicht.s0/holodeck/all/off nearly off]
* [http://holodeck.stratum0.net/holodeck/all/night really off]
+
* [http://hololicht.s0/holodeck/all/night really off]
* [http://holodeck.stratum0.net/holodeck/all/0.2,0,0,0 hot!]
+
* [http://hololicht.s0/holodeck/all/0.2,0,0,0 hot!]
  
== USEAGE ==
+
== USAGE ==
  
 
The software exports a rudimentary web-based interface. The interface is divided into two sections:
 
The software exports a rudimentary web-based interface. The interface is divided into two sections:
Zeile 30: Zeile 33:
 
A color is set using the following call:
 
A color is set using the following call:
 
<pre><nowiki>
 
<pre><nowiki>
http://holodeck.stratum0.net/holodeck/<section>/<colorCode>
+
http://hololicht.s0/holodeck/<section>/<colorCode>
 
</nowiki></pre>
 
</nowiki></pre>
  
Zeile 50: Zeile 53:
 
===Listing presets:===
 
===Listing presets:===
 
Presets can be listed using the following call:
 
Presets can be listed using the following call:
  http://holodeck.stratum0.net/preset  
+
  http://hololicht.s0/preset  
  
 
===Setting presets:===
 
===Setting presets:===
 
A preset can be created or altered using the following call:
 
A preset can be created or altered using the following call:
 
<pre><nowiki>
 
<pre><nowiki>
http://holodeck.stratum0.net/preset/<name>/<color>
+
http://hololicht.s0/preset/<name>/<color>
 
</nowiki></pre>
 
</nowiki></pre>
  
Zeile 61: Zeile 64:
 
A preset is set with the folowing call:
 
A preset is set with the folowing call:
 
<pre><nowiki>
 
<pre><nowiki>
http://holodeck.stratum0.net/holodeck/<section>/<presetName>
+
http://hololicht.s0/holodeck/<section>/<presetName>
 
</nowiki></pre>
 
</nowiki></pre>
  

Aktuelle Version vom 21. September 2024, 19:36 Uhr

Holodeck/Licht
Beschreibung: Licht für das Holodeck
Kontakt: Chrissi^, Kasa
Status: aktiv (Was heißt das?)
Download: ledctl auf gitli
Hinweis:
Defekt: Stand August 2024

Auf dem Holodeck gibt es über das Netzwerk steuerbares LED-Licht. Diese Seite soll grob die Funktionen dokumentieren. Für eine aktuelle Dokumentation siehe in der README.

Eine Lichtleiste auf dem Holodeck. Warnweiss
LED-Streifen für das Holodeck-Licht. Farbe: Warmweiss.Hinweis: Die LEDs scheinen von der Decke gegen die Wand und nicht wie hier der Eindruck entsteht von der Decke nach unten ;)

LIGHT SETUP

The LED-light is divided into four sections. Two on each side. The front section is two thirds of the length, the back section is obviously one third.

Looking to the screen-side of the room:

  • Section one is on the back on the left
  • The folling sections are named clockwise

Some useful defaults

Open one of these Links from inside the space to apply the new color.

USAGE

The software exports a rudimentary web-based interface. The interface is divided into two sections:

  • Section to set colors or presets
  • Section to list and add/alter presets

Setting a color

A color is set using the following call:

http://hololicht.s0/holodeck/<section>/<colorCode>

Where:

<section> is all or a section number [1 .. 4]
<color> is a color-code

Color Codes are made up of a list of float values in the range of [0.0 .. 1.0]. Depending on the number of elements the color codes are iterpreted to be in different color spaces:

<float>: Is interpreted as brightness and creates a RGBW-mixed broad-spectrum white in the given brightness
<float>,<float>,<float>: Is interpreted as RGB-value. The value is transformed into the RGBW color space before outputting it. Thus even a 1.0,0.0,0.0 (red) will contain some white.
<float>,<float>,<float>,<float>: Is interpreted as RGBW-value. This value is directly outputted to the LEDs.
<float>,<float>,<float>,<float><float>,<float>,<float>,<float><float>,<float>,<float>,<float><float>,<float>,<float>,<float> (16 floats): This special form can be used on the section code all. It is interpreted as four RGBW-color codes for the four sections. Thus with this color code a new color for all sections can be set

Preset-types:

There are two types of presets:

  • System-presets: These presets contain all RGB-colors defined with names in CSS. These presets can not be altered. But user-presets have a highter priority.
  • User-presets: These presets can be set by the user. The list has a limited length.

Listing presets:

Presets can be listed using the following call:

http://hololicht.s0/preset 

Setting presets:

A preset can be created or altered using the following call:

http://hololicht.s0/preset/<name>/<color>

Using a preset:

A preset is set with the folowing call:

http://hololicht.s0/holodeck/<section>/<presetName>

If a preset with colors for all four sections is applied on a section other than all only the first RGBW-value will be used on the section.