Led ticker

From NURDspace
Revision as of 10:42, 3 January 2019 by Zarya (talk | contribs)
Led ticker

Status=Active

link=File:Led ticker Status=Active.jpg
Participants Flok
Skills
Status
Niche
Purpose
Tool No
Location Space
Cost
Tool category

Led ticker Status=ActiveProperty "Tool Name" (as page type) with input value "Led ticker</br>Status=Active" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. Property "Tool Image" (as page type) with input value "File:{{{Picture}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. {{{Picture}}} {{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}

  • ze ip is 10.208.42.159
  • luistert op port 5001 UDP
  • stuur tekst om te tonen via een udp bericht
  • escapes:
    • $C...$ voorgrond kleur
    • $B...$ achtergrond kleur
    • $O...$ outline kleur
      • formaat kleur: xxx,xxx,xxx waarbij xxx een decimale waarden tussen 0 en 255 is
    • $o$ zet outline kleur uit
    • $d...$ hoelang de tekst op 't scherm zetten
    • $i$ deze tekst is de "idle tekst"; als er niks anders voorbij scrolled, dan wordt deze tekst (NIET-scrollend) getoond
    • $f$ knipper 'n bietje

Dus bijvoorbeeld:

  • $f$$C255,0,0$Hallo! Dit is een rode tekst.
  • $i$Deze tekst wordt getoond als er verder niks te scrollen is.


  • wordt gestart vanuit /etc/rc.local
  • root password is dat ene korte

koppelingen

  • nurdbot: /home/nurdbot/.jsb/releases/NURDbot/jsb/plugs/socket/udp.py (voor berichten van de deur) en myplugs/socket/wautemp.py (voor !ticker bla)
  • asterisk: /usr/local/bin/ticker-send.py en /usr/local/bin/push-it.sh (voor bellers)
  • spacenanny: /usr/local/sbin/deurbel.py ("deurbel!!!")
  • Space status: /opt/status/status.py (space status: open/closed)