Commit Graph

14 Commits

Author SHA1 Message Date
marcus 121673fde1 oops ... doubled up 2024-10-20 17:23:13 +11:00
marcus 0c21de1a73 Improve MQTT handling and add detailed logging
- Replaced blocking MQTT loop with non-blocking `loop_start()`.
- Enabled MQTT client logging to get detailed logs for debugging.
- Added debugging print statements to verify successful subscription.
2024-10-20 16:39:50 +11:00
marcus f74e8fc632 Simplify snapshot handling and improve debug logging
- Removed redundant `process_latest_snapshot()` function.
- Directly process snapshots from MQTT messages upon receiving.
- Added improved logging to help with debugging snapshot processing issues.
2024-10-20 16:35:19 +11:00
marcus be63a43613 Handle fetching latest snapshot from MQTT topic upon connection
- Added `get_latest_snapshot()` function to subscribe to the MQTT topic for the latest snapshot image.
- Updated `process_latest_snapshot()` to utilize the `get_latest_snapshot()` function.
- Improved the logging to provide better information about snapshot subscription status.
2024-10-20 16:31:57 +11:00
marcus fe25895b38 Better handling of payloads 2024-10-20 16:26:50 +11:00
marcus 05c9b1f713 improve 2024-10-20 16:25:27 +11:00
marcus 4801f4c56a Assess image at startup and add debug 2024-10-20 16:10:02 +11:00
marcus 8c21481f6e Move to ChatGPT canvas for improvements 2024-10-20 16:01:20 +11:00
marcus f5dee30509 improve debug 2024-10-20 15:55:45 +11:00
marcus 3fd01f4551 Improve 2024-10-20 14:04:42 +11:00
marcus ca8ff5c58d MQTT debug 2024-10-20 14:04:13 +11:00
marcus 72c69be09f setup MQTT topics for Home Assistant 2024-10-20 13:54:44 +11:00
marcus 227115a1c8 increase debug and assess at startyup 2024-10-20 13:24:51 +11:00
marcus b5255e4996 0.14.1 initial dayglo 2024-10-20 13:05:00 +11:00