OMGeeky
1f1253f290
feat: update humidity reading method to return last known value and adjust related test
2025-06-07 16:53:12 +02:00
OMGeeky
a0d7e27510
feat: remove hardware reading logic from humidity reader
...
having it at both temp and humidity caused problems
2025-06-07 16:47:40 +02:00
OMGeeky
8785e20528
feat: improve file copying in deploy script to exclude unnecessary directories
2025-06-07 16:25:39 +02:00
OMGeeky
acf4cc6dd5
feat: implement simulation mode for DHT22 sensor and add dummy sensor for testing
2025-06-07 16:11:40 +02:00
OMGeeky
f76c0c7bc4
chore: add .output.txt to .gitignore
2025-06-07 15:44:26 +02:00
OMGeeky
bc5ebca13e
feat: enhance MQTT configuration update process with version checking
2025-06-07 15:31:15 +02:00
OMGeeky
a9ee843059
formatting
2025-06-07 15:00:43 +02:00
OMGeeky
171336b6fd
feat: add display power management and improve WiFi connection handling
2025-06-07 15:00:29 +02:00
OMGeeky
21ad532cf4
Merge pull request #3 from OMGeeky/jetbrains-junie/issue-2-run-75eae3ea-54e4-40a5-bf5b-51361fd684d8
...
[Junie]: feat: implement daily reconnection strategy with persistence
2025-06-07 14:28:29 +02:00
OMGeeky
dda437e1eb
formatting
2025-06-07 14:27:34 +02:00
OMGeeky
77f23fb202
Merge remote-tracking branch 'origin/jetbrains-junie/issue-2-run-75eae3ea-54e4-40a5-bf5b-51361fd684d8' into jetbrains-junie/issue-2-run-75eae3ea-54e4-40a5-bf5b-51361fd684d8
...
# Conflicts:
# src/esp_sensors/mqtt.py
# src/main.py
2025-06-07 14:26:39 +02:00
OMGeeky
4c5e664c77
refactor: simplify MQTT client connection logic and remove unused configuration
2025-06-07 14:24:34 +02:00
jetbrains-junie[bot]
19c0aec290
feat: implement daily reconnection strategy with persistence
...
The reconnection strategy was implemented to ensure at least four connection attempts per day while conserving battery life through state persistence in a configuration file.
2025-06-07 14:22:09 +02:00
OMGeeky
2ad51bad06
refactor: simplify MQTT client connection logic and remove unused configuration
2025-06-07 14:15:19 +02:00
OMGeeky
25f2d9e342
fix: allow save_config method to use existing configuration if none provided
2025-06-07 14:10:47 +02:00
OMGeeky
e3f3cf070d
fix: comment out connection loss assumption in MQTT publish and subscribe methods
2025-06-07 14:05:45 +02:00
OMGeeky
3c72b4f39d
Update src/esp_sensors/mqtt.py
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-06-07 14:05:05 +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
jetbrains-junie[bot]
cd7673f78a
feat: implement daily reconnection strategy with persistence
...
The reconnection strategy was implemented to ensure at least four connection attempts per day while conserving battery life through state persistence in a configuration file.
2025-06-07 10:50:08 +00: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