Updated ioBroker Config Screensaver (markdown)

Armilar
2023-11-20 19:32:11 +01:00
parent 4bf9137f4d
commit a8e736c5a5

@@ -624,7 +624,165 @@ const swWindy: RGB = { red: 150, green: 150, blue: 150};
* null = automatischer Dimmode aktiv
* 0-100 = manuelle Dimmstufe (automatischer Dimmode inaktiv)
## bestimme Seite nach den Aufwecken
unter 0_userdata.0.NSPanel.ScreensaverInfo.bExitPage könnt ihr eine Seite festlegen die nach dem tippen auf das Panel geöffnet werden soll.
Der Wert 'null' öffnet wieder die letzte offene Seite. Wenn ihr eine Bestimmte Seite öffnen wollt, müsst ihr den Index der Seite eingeben ( Beginn bei 0). Diesen bekommt ihr aus der Pageauflistung in der Config raus.
## Individuelles Datumsformat im Screensaver:
![image](https://github.com/joBr99/nspanel-lovelace-ui/assets/102996011/019ef0b0-fde9-45ff-b623-f8bbf757d0a8)
Das Script legt automatisch einen Datenpunkt unter 0_userdata.0. an:
![image](https://github.com/joBr99/nspanel-lovelace-ui/assets/102996011/38dca613-f651-48f6-b0ca-0570e423d267)
Dieser Datenpunkt ist unter: `0_userdata.0.<Dein NSPanel>.Config.Dateformat.customFormat` zu finden und ist per Default **nicht** gefüllt
Es kann ein abweichendes Format (wie im Beispiel: `dddd - MM/DD/YYYY`) für das Datum im Screensaver definiert werden.
Mögliche Formatierungsoptionen (Link: [siehe auch dayjs](https://day.js.org/docs/en/display/format)):
<table>
  <thead>
  <tr>
  <th>Format</th>
  <th>Output</th>
  <th>Description</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td><code>YY</code></td>
  <td>18</td>
  <td>Two-digit year</td>
  </tr>
  <tr>
  <td><code>YYYY</code></td>
  <td>2018</td>
  <td>Four-digit year</td>
  </tr>
  <tr>
  <td><code>M</code></td>
  <td>1-12</td>
  <td>The month, beginning at 1</td>
  </tr>
  <tr>
  <td><code>MM</code></td>
  <td>01-12</td>
  <td>The month, 2-digits</td>
  </tr>
  <tr>
  <td><code>MMM</code></td>
  <td>Jan-Dec</td>
  <td>The abbreviated month name</td>
  </tr>
  <tr>
  <td><code>MMMM</code></td>
  <td>January-December</td>
  <td>The full month name</td>
  </tr>
  <tr>
  <td><code>D</code></td>
  <td>1-31</td>
  <td>The day of the month</td>
  </tr>
  <tr>
  <td><code>DD</code></td>
  <td>01-31</td>
  <td>The day of the month, 2-digits</td>
  </tr>
  <tr>
  <td><code>d</code></td>
  <td>0-6</td>
  <td>The day of the week, with Sunday as 0</td>
  </tr>
  <tr>
  <td><code>dd</code></td>
  <td>Su-Sa</td>
  <td>The min name of the day of the week</td>
  </tr>
  <tr>
  <td><code>ddd</code></td>
  <td>Sun-Sat</td>
  <td>The short name of the day of the week</td>
  </tr>
  <tr>
  <td><code>dddd</code></td>
  <td>Sunday-Saturday</td>
  <td>The name of the day of the week</td>
  </tr>
  <tr>
  <td><code>H</code></td>
  <td>0-23</td>
  <td>The hour</td>
  </tr>
  <tr>
  <td><code>HH</code></td>
  <td>00-23</td>
  <td>The hour, 2-digits</td>
  </tr>
  <tr>
  <td><code>h</code></td>
  <td>1-12</td>
  <td>The hour, 12-hour clock</td>
  </tr>
  <tr>
  <td><code>hh</code></td>
  <td>01-12</td>
  <td>The hour, 12-hour clock, 2-digits</td>
  </tr>
  <tr>
  <td><code>m</code></td>
  <td>0-59</td>
  <td>The minute</td>
  </tr>
  <tr>
  <td><code>mm</code></td>
  <td>00-59</td>
  <td>The minute, 2-digits</td>
  </tr>
  <tr>
  <td><code>s</code></td>
  <td>0-59</td>
  <td>The second</td>
  </tr>
  <tr>
  <td><code>ss</code></td>
  <td>00-59</td>
  <td>The second, 2-digits</td>
  </tr>
  <tr>
  <td><code>SSS</code></td>
  <td>000-999</td>
  <td>The millisecond, 3-digits</td>
  </tr>
  <tr>
  <td><code>Z</code></td>
  <td>+05:00</td>
  <td>The offset from UTC, ±HH:mm</td>
  </tr>
  <tr>
  <td><code>ZZ</code></td>
  <td>+0500</td>
  <td>The offset from UTC, ±HHmm</td>
  </tr>
  <tr>
  <td><code>A</code></td>
  <td>AM PM</td>
  <td></td>
  </tr>
  <tr>
  <td><code>a</code></td>
  <td>am pm</td>
  <td></td>
  </tr>
  <tr>
  <td>...</td>
  <td>...</td>
  <td>Other formats @&gt;&gt;AdvancedFormat</td>
  </tr>
</tbody>
</table>