This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
projects:bewaesserung:installation [2021/03/30 15:12] ferdi |
projects:bewaesserung:installation [2021/03/31 12:09] (current) ferdi |
||
|---|---|---|---|
| Line 173: | Line 173: | ||
| 0 Einträge Übertragen | 0 Einträge Übertragen | ||
| - | Bi noch einmal zurück in | + | Bin noch einmal zurück in IP15_Bewaesserung/ |
| ~/ | ~/ | ||
| (django-vue) fablab@fablab-OptiPlex-7010: | (django-vue) fablab@fablab-OptiPlex-7010: | ||
| - | (django-vue) fablab@fablab-OptiPlex-7010: | + | (django-vue) fablab@fablab-OptiPlex-7010: |
| usage: csv_to_database.py [-h] [-i] [-gt] [-w] | usage: csv_to_database.py [-h] [-i] [-gt] [-w] | ||
| - | |||
| optional arguments: | optional arguments: | ||
| -h, --help | -h, --help | ||
| Line 185: | Line 184: | ||
| -w, --write | -w, --write | ||
| + | Habe den cronjob gestartet: | ||
| + | python3 manage.py crontab add | ||
| + | no crontab for fablab | ||
| + | adding cronjob: (73bb14f920c56753f62140cb4e1eee0b) -> ('*/15 * * * *', ' | ||
| + | |||
| + | sensorda**t**a.py ausgeführt | ||
| + | |||
| + | python3 sensordata.py | ||
| + | Trying to connect to: eu.thethings.network: | ||
| + | Connected with result code: 0 | ||
| + | Subscribed to topic: +/ | ||
| + | === Mi. 31.03.2021 === | ||
| + | Der chronjob scheint zu laufen: | ||
| + | Schreibe Daten in die Datenbank... | ||
| + | Daten erfolgreich in die Datenbank Geschrieben! | ||
| + | TOPIC: hsrw_iotlab_lse01/ | ||
| + | PAYLOAD: {' | ||
| + | | ||
| + | Unter http:// | ||
| + | Leider habe ich das Passwort nicht. | ||
| + | Habe mit\\ | ||
| + | python3 manage.py createsuperuser | ||
| + | einen superuser erstellt.\\ | ||
| + | Jetzt klappt der Login:\\ | ||
| + | {{: | ||
| + | {{: | ||