Commit Graph

29 Commits

Author SHA1 Message Date
OMGeeky
2e6908db74 remove unnecessary sleep call before reading data to improve responsiveness 2025-06-05 21:08:49 +02:00
OMGeeky
4ba3728c44 add MQTT connection handling and topic retrieval for improved configuration updates 2025-06-05 21:08:49 +02:00
OMGeeky
8029b20210 refactor configuration handling to improve clarity and support ESP32MQTTClient 2025-06-05 21:08:49 +02:00
OMGeeky
594de8b0a9 implement custom ESP32MQTTClient and enhance MQTT handling with improved connection management and message processing 2025-06-05 21:08:49 +02:00
OMGeeky
356cbadd98 add sensor ID generation and improve MQTT debug messages 2025-06-05 21:08:49 +02:00
OMGeeky
5bd5b59e9e validate MQTT topic in configuration callback to ensure message relevance 2025-06-05 21:08:49 +02:00
OMGeeky
a1919e811d refactor config management and MQTT handling for improved clarity and functionality 2025-06-05 21:08:49 +02:00
OMGeeky
ef4661cb41 optimize imports 2025-06-05 21:08:49 +02:00
OMGeeky
0d42fc2cb9 add configuration management and MQTT update handling 2025-06-05 21:08:49 +02:00
OMGeeky
cac7da733c update MQTT data payload to include uptime instead of timestamp 2025-05-27 21:47:12 +02:00
OMGeeky
53af433516 add display initialization log to oled_display.py 2025-05-27 21:47:03 +02:00
OMGeeky
99b755709d add null check for display before showing status message 2025-05-27 21:46:39 +02:00
OMGeeky
55f23c6dc4 refactor MQTT handling and improve status messages 2025-05-27 21:46:24 +02:00
OMGeeky
96a8d1f751 update default DHT22 sensor pin configuration from 4 to 16 2025-05-27 21:45:24 +02:00
OMGeeky
c33edc9e68 improve display & reorder operations
also switch to umqtt.robust form umqtt.simple for basic reconnects

this should change it, so it shows the values quickly after startup and
only then tries to connect to wifi and mqtt for uploading, while still
showing the values

also has a status bar now
2025-05-18 00:45:08 +02:00
OMGeeky
80423925d0 improve OLED display initialization and add status messages during WiFi and MQTT setup 2025-05-17 17:22:31 +02:00
OMGeeky
9f96d5c1b9 add timeout configuration for WiFi connection 2025-05-17 15:29:54 +02:00
OMGeeky
baccbfbfdd a bunch of changes 2025-05-17 15:22:12 +02:00
OMGeeky
8bc58e4056 make timer consistent, no matter if the button was pressed or not & some cleanup/formatting etc. 2025-05-07 23:36:49 +02:00
OMGeeky
065252513b timed push to mqtt with manual trigger 2025-05-07 23:06:57 +02:00
OMGeeky
855510d474 basic working mqtt setup 2025-05-07 22:54:26 +02:00
OMGeeky
13d7e4a220 initial mqtt setup 2025-05-07 22:44:40 +02:00
OMGeeky
71f1b89621 update documentation & examples 2025-05-07 22:32:34 +02:00
OMGeeky
c5e02c1d73 refactor config logic 2025-05-07 22:07:25 +02:00
OMGeeky
f544a64ecf add configuration system for ESP Sensors project 2025-05-07 21:27:32 +02:00
OMGeeky
e12ba1aaee add main 2025-05-07 20:55:57 +02:00
OMGeeky
46f4e5a95e split dht sensor, add oled impl, add button triggered display example 2025-05-07 20:19:42 +02:00
OMGeeky
f5af3419d5 dht22 implementation 2025-05-07 19:28:35 +02:00
OMGeeky
5d15df6bde let junie create initial structure 2025-05-07 19:17:19 +02:00