Wochentage
Wochentagsnamen im Flow anzeigen
About this flow
| System | AWTRIX NG Scripts |
|---|---|
| AWTRIX version | AWTRIX NG |
| Topic | Miscellaneous |
| Built by | ElDie |
| File | augU52eucpro.ax · 1.6 KB |
| Icons | — |
| Published | 6 Sep 2026 · updated 7 Sep 2026 |
| Downloads | 19 |
Is this your flow?
If you created this flow, open your saved edit link to add it to your account. You can then manage it whenever you sign in. Adding it to your account replaces the edit link.
Flow description
Zeigt die Langnamen der Wochentag im Flow an.
Farben für normale Wochentage und das Wochenende sind auswählbar.
Als Sprachen können deutsch oder Englisch ausgewählt werden.
Icons sind nicht notwendig
07.09.2026: kleine Fehlerkorrektur.
augU52eucpro.ax
# @name Wochentage
# @desc Wochentage im Loop anzeigen
# @author ElDie
# @version 0.91
# @config Ncol color "Farbe für normale Wochentage / Weekday color" default=#000000
# @config Wcol color "Farbe fürs Wochenende / Weekend color" default=#FF0000
# @config lang select "Sprache / Language" default=deutsch options=deutsch,english
class WochentageApp
var tage, lang
var col, col1 , ccol
var Ncol, Wcol
def init()
self.Ncol = store.get("Ncol")
self.Wcol = store.get("Wcol")
self.lang = store.get("lang")
# Abkürzungen für die Wochentage
if self.lang == "deutsch"
self.tage = ["Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"]
elif self.lang == "english"
self.tage = ["Monday", "Thuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
end
end
def draw()
self.col = self.Ncol
self.col1 = self.Wcol
if self.Ncol == 0 self.col = settings.get("textColor") end
if self.Wcol == 0 self.col1 = settings.get("textColor") end
# Wochentag ermitteln (1 = Montag, 7 = Sonntag)
var wochentag = weekday() - 1
# Text des aktuellen Tages anzeigen
var aktueller_tag = self.tage[wochentag]
if wochentag == 5 || wochentag == 6
self.ccol = self.col1
else
self.ccol = self.col
end
scroll_text(aktueller_tag,self.ccol,{"mode": "loop"})
end
end
return WochentageApp()
Install it on your AWTRIX NG
Add this flow to your AWTRIX NG. It will start appearing on your display after installation.
Unable to connect? Download the flow and add it in the Scripts section of your AWTRIX. Advanced users can also use this command:
Discussion 0
Ask a question, suggest a change or share how you use it.
No comments yet. Start the conversation.
More flows for AWTRIX NG Scripts or Miscellaneous
Something wrong with this flow? Report it.
Have an idea?
Sign in to ask questions and join the conversation.