Projekt

Allgemein

Profil

Wiki » Historie » Revision 8

Revision 7 (Maximilian Seesslen, 31.08.2022 17:53) → Revision 8/9 (Maximilian Seesslen, 01.09.2022 17:41)

h1. Wiki

[[Bringup]]
[[UI]]



h2. Screens

* Standbymode
** Digital Clock with date and temperature
** 4 Buttons
*** Main-Menu / Home-Button
*** Lamp menu
*** Previous
*** ?

*
CANMon
** Static list with target-Values, delta
** Home-Button
** Color depending on delta
** Timeout for values to be invalidated

* Minutnik
** Screensaver disabled while alarms active

* Alarm
** Quit-Button which jumps to previous screen

h2. How to write flash

h2. Icons

https://www.iconfinder.com/search/icons?q=pretzel
https://www.iconfinder.com/search/icons?q=pretzel&price=free
git clone https://github.com/google/material-design-icons/

imagemagick (graphicsmagic provides GIF)

<pre><code class="shell">
#!/bin/bash

set -e -u

mkdir -p 32
for ifile in *.png; do
convert $ifile -define h:format=a -depth 1 -background white -alpha off -resize 32x32 32/${ifile%.*}.h
convert $ifile -define h:format=rgb -depth 1 -background white -alpha off -resize 32x32 32/${ifile%.*}.png
# convert $ifile -define h:format=rgb -depth 1 -background white -alpha deactivate -resize 32x32 32/${ifile%.*}.png
convert $ifile -background white -alpha remove -flatten -alpha off -depth 1 -resize 32x32 32/${ifile%.*}.png
convert 32/${ifile%.*}.png -monochrome 32/${ifile%.*}_1.png

done
</code></pre>