Commit Graph

13 Commits

Author SHA1 Message Date
Joshua King
9decccdce5 feat: Enhance motion sensor functionality with I2C error handling and display updates 2026-02-22 15:39:45 -05:00
Joshua King
df9bd461d1 feat: Add restart button functionality and motion calibration
- Implemented a restart button with debounce handling and long-press detection in App.cpp.
- Added motion calibration settings to Settings.cpp and Settings.h, allowing for roll and pitch zero offsets.
- Enhanced WebUI to include motion calibration controls and a restart option.
- Updated FaceRenderer to adjust eye and mouth positions based on screen dimensions.
- Introduced deadzone handling for motion sensor readings to improve stability.
2026-02-22 13:58:59 -05:00
Joshua King
a8e8268b65 Refactor I2C device scanning and update display pin assignments
- Changed I2C scanning function to probe only expected device addresses, improving startup reliability.
- Updated logging to provide clearer output for found and missing devices.
- Modified I2C SDA and SCL pin assignments from 6 and 7 to 8 and 9, respectively, to accommodate hardware changes.
- Added a timeout for I2C communication to enhance robustness.
2026-02-22 11:21:29 -05:00
Joshua King
a80a6b59d1 Refactor code structure for improved readability and maintainability 2026-02-21 22:25:59 -05:00
Joshua King
df00d77ce1 Refactor BatterySensor and Display classes to integrate MAX17048 and SH110X support 2026-02-21 22:09:13 -05:00
Joshua King
63061bdab2 Add Motion Sensor functionality and integrate timezone, bedtime, and wake time settings 2026-02-21 20:25:30 -05:00
Joshua King
192e657b07 Refactor platformio.ini for ESP32-S3 and add Ambient Light Sensor functionality with adaptive display contrast 2026-02-21 20:09:41 -05:00
Joshua King
08a2ee0852 Updates 2026-02-10 21:31:36 -05:00
Joshua King
b2752b8f72 Implement battery low mode rendering and update logic 2026-02-10 17:09:05 -05:00
Joshua King
0b627ffa75 Add Battery Sensor functionality and integrate with display and app
- Implement BatterySensor class to monitor battery voltage and status.
- Update App to initialize and loop BatterySensor.
- Modify FaceRenderer to display battery status on the screen.
- Enhance Display class with a method to draw battery icon.
- Update WebUI to include battery status in the interface.
- Refactor WiFiManager to improve connection handling and logging.
- Adjust Settings to include factory reset functionality.
- Improve HTML structure and styling in WebUI for better user experience.
2026-02-10 17:05:42 -05:00
Joshua King
483507e26c Refactor configuration for ESP32-C3 and update moisture sensor pin assignment 2026-02-10 14:17:55 -05:00
Joshua King
26a839f6e0 Update display library to use Adafruit SSD1306 for improved compatibility 2026-02-09 12:50:09 -05:00
Joshua King
558c209b6c Initial Commit 2026-02-09 11:41:12 -05:00