Commit graph

93 commits

Author SHA1 Message Date
+++ a93bb9ea0a struktureller umbau
ClientSecure instanz jetzt global,
init_wifi() ins setup verlagert,
prüfung auf wifi in jedem loop,
client.stop() auch bei erfolg
2022-04-07 23:05:46 +02:00
example 8f4f6d82d4 kommentare eingefügt, led blinkt fehlercodes 2022-04-07 01:09:05 +02:00
example a1d14235ff frequenz der abfrage des reed-pins halbiert 2022-04-07 01:07:44 +02:00
example 7598b237bf initialer commit eines statusclients für eine NodeMCU 2022-04-06 11:37:51 +02:00
example 56742d8707 veralteten kommentar entfernt 2022-04-06 10:43:16 +02:00
example b6acaa08a8 kommentare eingefügt, fehlerbehandlung geändert 2022-04-06 10:39:15 +02:00
example e79258b8be zertifikate umbenannt 2022-04-06 10:22:36 +02:00
example 804e9a10e5 clientauthentifizierung auf optional gesetzt 2022-04-06 10:20:06 +02:00
example 58d9c327c9 debugausgaben für den ssl-context hinzu 2022-03-11 13:28:03 +01:00
example 5f3bb44c7b verarbeitung der statusdaten umgestellt, code verschlankt
statusdaten werden jetzt mit den funktionen encode() und decode() verarbeitet,
antwort des servers als variable, finaly klausel wieder entfernt
2022-03-06 11:55:29 +01:00
example 9894af021e add error handling for argument and class creation 2021-10-10 23:34:24 +02:00
berhsi 0cfdeda45e Merge pull request 'arduino' (#6) from fiveop/doorstatus:arduino into master
Reviewed-on: http://git.nr18.space:3000/berhsi/doorstatus/pulls/6
2020-12-28 23:50:35 +01:00
Philipp Matthias Schaefer d734f86979 Add missing license header 2020-12-28 22:01:32 +01:00
Philipp Matthias Schaefer 001c7cd568 Implement and document Arduino software 2020-12-28 21:56:24 +01:00
Philipp Matthias Schaefer 28de70e732 Remove unused variable 2020-12-20 21:57:10 +01:00
berhsi 8b2362e3a3 Merge pull request 'documentation' (#5) from fiveop/doorstatus:documentation into master
Reviewed-on: http://git.nr18.space:3000/berhsi/doorstatus/pulls/5
2020-12-11 14:57:36 +01:00
Philipp Matthias Schaefer d959e044fd Mention Space API 2020-11-26 09:15:31 +01:00
Philipp Matthias Schaefer 868c0bd285 Change Arduino's description from broadcast to UDP req/resp 2020-11-26 09:15:31 +01:00
berhsi 33cde3e602 Merge pull request 'license' (#4) from fiveop/doorstatus:license into master
Reviewed-on: http://git.nr18.space:3000/berhsi/doorstatus/pulls/4
2020-11-22 23:07:22 +01:00
+++ 641964b17f statusd.service in apistatusd.service umbenannt, angepaßt 2020-11-22 23:01:32 +01:00
+++ c47afa2942 socket shutdown in exception 2020-11-22 22:42:24 +01:00
+++ d610db0d1f fix bug in api file
replace strings with boolean and integer
2020-11-22 22:35:27 +01:00
Philipp Matthias Schaefer 47e2d63304 Add Dependencies section to README.md 2020-11-21 21:29:58 +01:00
Philipp Matthias Schaefer 61e3e96e12 Add AGPL to Arduino code 2020-11-21 21:21:26 +01:00
berhsi 64937e7ea9 Merge pull request 'fiveopschanges' (#1) from fiveop/doorstatus:fiveopschanges into master
Reviewed-on: http://git.nr18.space:3000/berhsi/doorstatus/pulls/1
2020-11-19 21:43:25 +01:00
Philipp Matthias Schaefer d5e31ca789 Add initial (untested) version of Arduino sketch 2020-11-18 22:45:14 +01:00
Philipp Matthias Schaefer ec3a5daf2b Move server sources to separate directory 2020-11-18 21:59:23 +01:00
Philipp Matthias Schaefer e5109815e7 Add README.md including overview and headings for detailed sections. 2020-11-18 21:56:24 +01:00
+++ 3d824a1c4c anbindung an setstatus 2020-10-22 23:59:04 +02:00
+++ a2a533ac65 Umwandlung in eine Klasse 2020-10-22 23:58:17 +02:00
+++ cc77f32afa keepalive aktiviert 2020-10-22 16:07:16 +02:00
+++ 915d195d33 statusd.py in apistatusd.py, statusd.conf in apistatusd.conf umbenannt 2020-09-10 14:55:07 +02:00
+++ 83dfea8810 dateirechte auf 700 gesetzt 2020-09-10 14:43:35 +02:00
+++ 38ca7e5926 systemd-unit für watchdoor hinzugfügt 2020-09-08 17:59:13 +02:00
+++ 367b1a10db initialer commit der pin-überwachung 2020-09-08 17:56:24 +02:00
+++ ac1d259a95 socket shutdown in finally klausel hinzugefügt 2020-09-08 17:39:39 +02:00
+++ 26c695828f main in funktionen aufgeteilt 2020-09-07 15:19:07 +02:00
+++ 5e7afde181 konfiguration an kraut.space angepaßt 2020-09-07 15:17:49 +02:00
+++ 380661cc64 cert-check added, fix typo 2020-09-04 19:58:23 +02:00
+++ b240de859c client auf configparser umgestellt 2020-09-01 18:16:49 +02:00
berhsi be3f9ecb64 client auf configparser umgestellt 2020-07-09 20:12:49 +02:00
berhsi 08af0365b8 comments inserted 2020-07-09 20:10:58 +02:00
berhsi 022d4a838c loglevel für vollzugsmeldung geändert 2020-07-09 20:09:36 +02:00
berhsi 6872800bba fix type error 2020-07-09 16:09:14 +02:00
berhsi c0f8caddfc statusdeamon auf configparser umgestellt. dank an ndo 2020-07-09 12:08:06 +02:00
+++ cb05cb787a setstatus.py: add check if certs readable 2020-06-22 11:32:36 +02:00
Berhsi eb000bff46 setstatus.py: changes by code review
better english in comments. the command line arguments are now processed by
argparse. reading vom cli removed. fix bug in exception handling.
2019-10-15 19:21:23 +02:00
berhsi a0fda2aaa2 setstatus.py: set the same cipher suite as the server 2019-09-19 10:36:48 +02:00
berhsi 1fbd95facf statusd.py: delete unused parts, make it pep8 conform 2019-09-19 10:21:33 +02:00
berhsi c60bb326cc statusd.conf: add comments, change verbosity level 2019-09-19 09:49:15 +02:00