Commit Graph

69 Commits

Author SHA1 Message Date
OMGeeky
e3f3cf070d fix: comment out connection loss assumption in MQTT publish and subscribe methods 2025-06-07 14:05:45 +02:00
OMGeeky
e666f7b8c8 fix: improve MQTT client connection and publishing error handling 2025-06-07 13:53:44 +02:00
OMGeeky
7eea051d3a feat: add configuration for Black code formatter in config.toml 2025-06-07 13:24:35 +02:00
OMGeeky
6b8ec730c3 fix: ensure topic and message are hashable in callback by converting to bytes 2025-06-07 13:20:47 +02:00
OMGeeky
1c65e13903 fix: resolve socket timeout error in ESP32MQTTClient and update task status 2025-06-07 13:13:20 +02:00
OMGeeky
95d54c5e39 feat: add task to fix socket timeout error in ESP32MQTTClient 2025-06-07 13:07:04 +02:00
OMGeeky
e713ddefb7 feat: add improvement tasks document for ESP Sensors project 2025-06-07 12:53:28 +02:00
OMGeeky
1a241e4744 refactor: clean up imports in MQTT modules and tests 2025-06-07 12:42:59 +02:00
OMGeeky
81cd6127ef docs: add CI badge to README for build status visibility 2025-06-07 12:32:38 +02:00
OMGeeky
5a8a6461f8 test: update topic prefix and data assertions in MQTT tests 2025-06-07 12:30:42 +02:00
OMGeeky
3f0c9bdd0f test: comment out no longer true publish assertions in MQTT tests 2025-06-07 12:25:02 +02:00
OMGeeky
8d9b9eef47 test: update last_ping handling to prevent premature ping triggers 2025-06-07 12:21:49 +02:00
OMGeeky
4a776b58eb fix: ensure newline at end of file in CI configuration 2025-06-07 12:19:37 +02:00
OMGeeky
4525ce82e8 refactor: improve timeout handling and error checking in MQTT packet processing 2025-06-07 12:18:12 +02:00
OMGeeky
49bd52b7d0 format 2025-06-07 11:41:20 +02:00
OMGeeky
ee95ec14c6 test: add timeout handling tests for MQTT client connection and subscription 2025-06-07 11:37:45 +02:00
OMGeeky
18b0ce1355 test: add specific test case for MQTT client publish functionality 2025-06-07 11:36:28 +02:00
OMGeeky
940e034c8a refactor: handle timeout scenarios in MQTT packet reception 2025-06-07 11:31:02 +02:00
OMGeeky
7a9a248978 format with black 2025-06-07 11:25:02 +02:00
OMGeeky
2f99b86859 refactor: update MQTT client tests to use mock methods for packet handling 2025-06-07 11:23:40 +02:00
OMGeeky
c2090180ca refactor: update MQTT client tests to use mock methods for packet handling 2025-06-07 11:19:20 +02:00
OMGeeky
7633a3db0e refactor: move MQTT client implementation to a separate module for better organization 2025-06-07 11:14:17 +02:00
OMGeeky
86681fb36f remove wrong comment 2025-06-07 10:54:21 +02:00
OMGeeky
239fef1220 comment out temperature and humidity topic publishing in MQTT handler 2025-06-07 10:52:59 +02:00
OMGeeky
d0f243d261 remove simulation mode support from MQTT handling and related files 2025-06-07 10:52:40 +02:00
OMGeeky
2a710d63c9 remove simulation mode checks from MQTT packet handling and message checking 2025-06-05 21:08:49 +02:00
OMGeeky
ffd2085b53 fix writing config file 2025-06-05 21:08:49 +02:00
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
3585cebdf3 enhance deploy script to support additional flags for library copying and file synchronization 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
f9c729c8bd Merge pull request #1 from OMGeeky/junie-init
Initialize JetBrains Junie 🚀
2025-06-02 16:26:19 +02:00
jetbrains-junie[bot]
0717118042 feat(junie): added .devcontainer.json 2025-06-02 14:21:19 +00:00
jetbrains-junie[bot]
b69da2cedd feat(junie): added .junie workflow 2025-06-02 14:21:18 +00:00
OMGeeky
9483b181d8 add ProjectRootManager component to misc.xml 2025-05-27 21:47:23 +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
4b41629d63 update deployment script to use rshell instead of ampy and revise documentation 2025-05-27 21:45:12 +02:00
OMGeeky
2589918c53 add firmware installation script for ESP32 2025-05-27 21:44:45 +02:00
OMGeeky
36e2eccf74 update todo 2025-05-27 19:57:55 +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