Skip to content

Post-Eurobot Event Merge: Stable Foundation for Web Integration and Refactor#21

Merged
SeanChangX merged 28 commits intomainfrom
dev
Apr 24, 2025
Merged

Post-Eurobot Event Merge: Stable Foundation for Web Integration and Refactor#21
SeanChangX merged 28 commits intomainfrom
dev

Conversation

@SeanChangX
Copy link
Collaborator

This pull request introduces several changes across different scripts and configurations to enhance functionality, improve user experience, and streamline operations. The updates include enhancements to battery and network monitoring scripts, changes to browser configuration and handling, and the addition of a modern action button with advanced functionality in the ESP Daemon web interface.

Battery and Network Monitoring Enhancements:

  • Enhanced the battery_watchdog.sh script to handle scenarios where the ESP32 device disconnects and reconnects. It ensures proper handling of the battery status file and restarts the kiosk browser session upon reconnection.
  • Added functionality to trigger a low battery warning only after a sustained low voltage condition for 30 seconds, improving the accuracy of alerts.
  • Updated the conky_entry.sh script to switch from Firefox to Chromium for the Robot UI, with a new configuration for the web server and websocket connection.

Browser Configuration Updates:

  • Removed the handlers.json and prefs.js files from the Firefox configuration, likely to reset or simplify the browser's settings. [1] [2]

User Preference Management:

  • Refactored the 15-user_preference.sh script to use a centralized DIT_HOME variable for paths, simplifying maintenance and improving flexibility. Added logic to restore the Firefox profile from a backup archive. [1] [2]

ESP Daemon Web Interface Improvements:

  • Added a modern floating action button to the ESP Daemon's web interface, providing a tooltip and visual feedback.
  • Implemented short and long press functionality for the action button in the web interface's JavaScript, enabling navigation on short press and page refresh on long press. [1] [2]

…esktop entry and icon; enhance udev rules for esp-daemon symlink
@SeanChangX SeanChangX added the enhancement New feature or request label Apr 24, 2025
@SeanChangX SeanChangX self-assigned this Apr 24, 2025
@SeanChangX SeanChangX merged commit 22760fd into main Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant