infrastruktur:alphapi
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
infrastruktur:alphapi [2018-08-30 20:23] – ↷ Seite von alphapi nach infrastruktur:alphapi verschoben rixx | infrastruktur:alphapi [2022-09-15 21:23] (aktuell) – makefu | ||
---|---|---|---|
Zeile 2: | Zeile 2: | ||
{{tag> shack, music, shackoperations}} | {{tag> shack, music, shackoperations}} | ||
- | alphapi ist eine reimplementation | + | alphapi ist eine Reimplantation |
- | alle alte Dokumentationist damit obsolet. | + | Der pi ist unter alphapi.shack (10.42.20.20) zu erreichen und man kann sich mit Hilfe eines puppet keys authentifizieren. Dafür muss der Key zwingend auf puppet.shack deployed sein. |
- | der pi ist unter alphapi.shack(10.42.20.20) zu finden und kann mit puppet keys authentifiziert werden. | + | === add sounds to repo === |
+ | - git pull https:// | ||
+ | - Füge Deine samples im Unterordner server/ | ||
+ | - git push | ||
+ | - Falls dir die Berechtigungen für das pushen der Sounds fehlen, schreibe dem Vorstand eine E-Mail. | ||
- | ===add sounds ==== | + | === pull from alphapi.shack |
- | - pull die shackspaces version des repos. | + | - ssh -i id_rsa_puppet |
- | | + | |
- | - git push | + | |
- | - login auf den pi (ssh root@alphafluid.shack) | + | |
- su pi | - su pi | ||
- | - cd | + | - cd |
- cd alphafluid/ | - cd alphafluid/ | ||
- | - git pull https:// | + | - git pull (ist aber grade kaputt, |
+ | === architecture === | ||
+ | Alphapi contains of two parts, an 8bit AVR which handles the 7segment display, PIR and other sensors ( https:// | ||
+ | == AVR == | ||
+ | The Microcontroller sends the following messages: | ||
+ | - /o/d/1/ - door opened | ||
+ | - / | ||
+ | - /o/d/0/ - door closed | ||
+ | - /o/p/0/1 - pir spot | ||
+ | - /o/p/1/1 - pir room | ||
+ | It can receive the following messages: | ||
+ | - / | ||
+ | |||
+ | all messages end with \r\n | ||
+ | |||
+ | == RaspberryPi == | ||
+ | Code is at https:// | ||
infrastruktur/alphapi.1535653392.txt.gz · Zuletzt geändert: 2018-08-30 20:23 von rixx