Commit graph

8 commits

Author SHA1 Message Date
Ludwig Behm 10bb19497d
Cleanup after REED sensor pin change 2024-01-22 09:26:38 +01:00
martin ab0f3e8c6b Pin D1 war defekt, daher haben wir dauf D4 geändert. Dieser ist geleichzeitig die 2. Status LED auf dem Lua Bord und zeigt den Status geschlossen an. 2024-01-20 10:03:49 +01:00
Ludwig Behm 66bc266f2e
Fix nodemcu/statusclient: I now know what a reed switch is 2023-10-24 11:30:48 +02:00
Ludwig Behm 63f9f25b00
Cleanup nodemcu/statusclient 2023-10-24 01:33:39 +02:00
Ludwig Behm 78e31e52a1
Refactored nodemcu/statusclient
- Fix init_wifi: removed `ESP8266WiFiMulti`; replaced with simple
  wifi ap connection
- Fix send_status: refactored return type into `bool`
- Fix send_status: optimized if-branch for calculation of `status` into
  array access
- Fix send_status: removed `client.connected()` => `client.connect(...)`
  is enough
- Fix: renamed `reed` into `read`
- Cleanup: changed int variables into uint8_t
- Cleanup: moved static data (`ca_certs`, `client_cert/key` into global
  data
- Style: changed typedef enum into scoped enum (enum class decl)
- Style: changed int const definitions into anonymous enum constants
- Style: reorderd headers alphabetically
2023-10-24 01:08:04 +02:00
Ludwig Behm c2fd6ec7b0
Refactored config.h: converted #defines in constants 2023-10-24 01:07:23 +02:00
+++ 621c41dcd6 anzeige des zertifikates in eigener funktion 2023-10-21 21:04:29 +02:00
+++ af78204005 clientprogramme in eigenes verzeichnis verschoben 2023-10-21 20:42:26 +02:00