2022-02-16 22:49:20 +01:00
|
|
|
## Eventboar Version 2.0
|
|
|
|
|
|
|
|
Das eventboard für deine LED - Matrix
|
|
|
|
<br>
|
2022-02-16 22:52:04 +01:00
|
|
|
|
|
|
|
Migration von JavaScript zu Python
|
2022-02-16 22:49:20 +01:00
|
|
|
|
|
|
|
### Config
|
|
|
|
|
|
|
|
- in der matrix.ino dein Wlan Name und Passwort eintragen
|
|
|
|
```
|
|
|
|
host = 'Device Ip'
|
|
|
|
garbage = 'true' or 'false'
|
|
|
|
```
|
|
|
|
- die .ino auf dein Gerät lasen (eventuell noch die Librarys installieren)
|
|
|
|
```
|
|
|
|
const char* ssid = "your ssid";
|
|
|
|
const char* password = "your password";
|
|
|
|
```
|
|
|
|
- in der config.py deine Daten angeben
|
|
|
|
- events in der events.json eintragen
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"type": "fixed",
|
|
|
|
"date": {
|
2022-02-17 15:50:39 +01:00
|
|
|
"day": "08",
|
|
|
|
"month": "02",
|
2022-02-16 22:49:20 +01:00
|
|
|
"year": 1989
|
|
|
|
},
|
|
|
|
"name": "Ines {{years}}. Geburtstag",
|
|
|
|
"message": "Nur noch {{hours}} Stunden bis {{name}}!"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
- wenn du einen Müllkalender benutzt, achte auf das format und den Filenamen 'muell.json'
|
|
|
|
<br>
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"tag": "Di",
|
|
|
|
"date": {
|
|
|
|
"day": "16",
|
|
|
|
"month": "02",
|
|
|
|
"year": "2022"
|
|
|
|
},
|
|
|
|
"name": "Restmuell"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
- hier findest du ein Beispiel, wie du ihn umwandeln kannst
|
|
|
|
https://git.weifer.org/weifer/Kalender_zu_JSON
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
2022-02-16 22:52:04 +01:00
|
|
|
<h4>Author: Marcus Ferl, marcus@weifer.de</h4>
|