Releases: hatlabs/HALPI2-python-daemon
v4.0.7+2_pre (Pre-release)
HALPI2 Daemon vv4.0.7+2_pre (Pre-release)
Build Information:
- Commit: cd4d47b (
cd4d47be43c575b3eea4d0eb3dc7f936e14947f2) - Built: 2025-11-22 13:38:43 UTC
Recent Changes
- fix(ci): add explicit apt-distro and apt-component (264d4f9)
- fix(ci): use PACKAGE_NAME from workflow or debian/control in rename script (#49) (e9838b2)
- fix: run docker build as root for write permissions (#48) (cb58f3f)
- fix: explicitly save output directory and add build diagnostics (#47) (7ecbfb4)
- fix(ci): use PACKAGE_NAME from workflow or debian/control (#46) (92ac31e)
- fix: update build action and fix artifact collection (#45) (186a57f)
- refactor: align build system with container-packaging-tools (#44) (9adbef6)
- fix(ci): handle grep exit code 1 when .env contains only comments (#43) (d4acf4a)
- debug: add logging to build-deb to diagnose CI failure (#42) (9413355)
- fix(ci): handle missing .env and .env.defaults in _env function (ae3cdf2)
- fix(ci): fix build-deb function for shared-workflows compatibility (be9bc58)
- fix(ci): correct docker-build-deb command reference (245374f)
- feat: migrate to shared-workflows (7d5a9df)
- fix(ci): attach assets during draft creation (85c28af)
- ⬆️ Bump actions/checkout from 4 to 6 (b45e708)
- ⬆️ Bump peter-evans/repository-dispatch from 3 to 4 (7414133)
- config: enable automatic commits in bumpversion (40f205d)
- refactor: simplify run script command names (afd2038)
- fix(ci): correct build command in build-deb action (d70b092)
- refactor: update run script to use hyphen-separated naming (694d75c)
- fix(ci): address PR review comments (16235db)
- ci: refactor workflows with extended naming support (b7d82bf)
- Build again for arm64 (f350258)
- Fix the artifact upload in release-drafter.yml (4d255d9)
- Debug missing artifact issues (9245b36)
Installation
To install this pre-release on your HALPI2:
# Add Hat Labs repository (if not already added)
curl -fsSL https://apt.hatlabs.fi/hat-labs-apt-key.asc | sudo gpg --dearmor -o /usr/share/keyrings/hatlabs-apt-key.gpg
# Add unstable channel
echo "deb [signed-by=/usr/share/keyrings/hatlabs-apt-key.gpg] https://apt.hatlabs.fi unstable main" | sudo tee /etc/apt/sources.list.d/hatlabs-unstable.list
# Update and install
sudo apt update
sudo apt install halpidv4.0.7+1_pre (Pre-release)
HALPI2 Daemon vv4.0.7+1_pre (Pre-release)
Build Information:
- Commit: e9838b2 (
e9838b2d56df4e881f06938fbff211e7ac79ac22) - Built: 2025-11-22 10:21:52 UTC
Recent Changes
- fix(ci): use PACKAGE_NAME from workflow or debian/control in rename script (#49) (e9838b2)
- fix: run docker build as root for write permissions (#48) (cb58f3f)
- fix: explicitly save output directory and add build diagnostics (#47) (7ecbfb4)
- fix(ci): use PACKAGE_NAME from workflow or debian/control (#46) (92ac31e)
- fix: update build action and fix artifact collection (#45) (186a57f)
- refactor: align build system with container-packaging-tools (#44) (9adbef6)
- fix(ci): handle grep exit code 1 when .env contains only comments (#43) (d4acf4a)
- debug: add logging to build-deb to diagnose CI failure (#42) (9413355)
- fix(ci): handle missing .env and .env.defaults in _env function (ae3cdf2)
- fix(ci): fix build-deb function for shared-workflows compatibility (be9bc58)
- fix(ci): correct docker-build-deb command reference (245374f)
- feat: migrate to shared-workflows (7d5a9df)
- fix(ci): attach assets during draft creation (85c28af)
- ⬆️ Bump actions/checkout from 4 to 6 (b45e708)
- ⬆️ Bump peter-evans/repository-dispatch from 3 to 4 (7414133)
- config: enable automatic commits in bumpversion (40f205d)
- refactor: simplify run script command names (afd2038)
- fix(ci): correct build command in build-deb action (d70b092)
- refactor: update run script to use hyphen-separated naming (694d75c)
- fix(ci): address PR review comments (16235db)
- ci: refactor workflows with extended naming support (b7d82bf)
- Build again for arm64 (f350258)
- Fix the artifact upload in release-drafter.yml (4d255d9)
- Debug missing artifact issues (9245b36)
Installation
To install this pre-release on your HALPI2:
# Add Hat Labs repository (if not already added)
curl -fsSL https://apt.hatlabs.fi/hat-labs-apt-key.asc | sudo gpg --dearmor -o /usr/share/keyrings/hatlabs-apt-key.gpg
# Add unstable channel
echo "deb [signed-by=/usr/share/keyrings/hatlabs-apt-key.gpg] https://apt.hatlabs.fi unstable main" | sudo tee /etc/apt/sources.list.d/hatlabs-unstable.list
# Update and install
sudo apt update
sudo apt install halpidVersion 4.0.7 🦑
This is a long journey of a single highly useful change visible to the end user (the package now works when used on different Debian distributions) and a whole bunch of attempts to make the CI behave.
What’s Changed
- Build again for arm64 (#28) @mairas
- Fix the artifact upload in release-drafter.yml (#27) @mairas
- Debug missing artifact issues (#26) @mairas
- Wait for the merge build to finish before trying to draft the release (#25) @mairas
- Build packages on every PR update to make debugging easier (#24) @mairas
- Try to fix the CI package builds (#23) @mairas
- Add a run function for testing the build workflow locally using act (#22) @mairas
- Use docker compose v2 (#21) @mairas
- Fix the release process (#20) @mairas
- Use UV for Debian packaging (#19) @mairas
👥 List of contributors
Version 4.0.5 🦑
What’s Changed
- No changes; bump the version because the previous released packages had wrong version number.
👥 List of contributors
Version 4.0.4 🦑
Version 4.0.3 🦑
What’s Changed
- Rename power_off_threshold to solo_power_off_threshold for clarity in configuration API
- Improve float number formatting in CLI config display to show 1-2 decimal places
- Remove redundant firmware-version CLI command (functionality available via
halpi get firmware_version) - Disable auto-generation of release notes in GitHub workflow
- Bump version to 4.0.3 and update dependencies
API/Configuration Changes
- Renamed configuration parameter: power_off_threshold → solo_power_off_threshold in both HTTP API and I2C device interface for better clarity
about its specific function - Updated all related getter/setter methods and API endpoints
CLI Improvements
- Enhanced config display formatting: Float values in halpi config output now display with 1-2 decimal places (e.g., 4.0 instead of 4.00, 3.25
stays 3.25) while individual value requests still show exact values - Removed duplicate command: Eliminated redundant firmware-version command (use
halpi get firmware_versioninstead)
⬆️ Dependencies updates
- ⬆️ Bump peter-evans/repository-dispatch from 2 to 3 (#3) @dependabot[bot]
- ⬆️ Bump softprops/action-gh-release from 1 to 2 (#4) @dependabot[bot]
- ⬆️ Bump actions/checkout from 4 to 5 (#11) @dependabot[bot]
👥 List of contributors
@dependabot[bot], @mairas and dependabot[bot]
What's Changed
- ⬆️ Bump actions/checkout from 4 to 5 by @dependabot[bot] in #11
- ⬆️ Bump softprops/action-gh-release from 1 to 2 by @dependabot[bot] in #4
- ⬆️ Bump peter-evans/repository-dispatch from 2 to 3 by @dependabot[bot] in #3
- Release 4.0.3 by @mairas in #12
New Contributors
- @dependabot[bot] made their first contribution in #11
Full Changelog: v4.0.2...v4.0.3
Version 4.0.2 🦑
Version 4.0.1 🦑
What’s Changed
- State enum did not match the states reported by the firmware, causing incorrect states to be reported.
👥 List of contributors
Version 4.0.0 🦑
Release Notes - halpid v4.0.0
🚀 Major Features
CLI Refactoring (#7)
- Complete CLI overhaul with improved command structure and user experience
- New status command replaces the old print command for better clarity
- Enhanced get command for querying individual device values with improved formatting
- New config subcommands: halpi config get and halpi config set for easier configuration management
- Unified shutdown/standby commands - consolidated power management interface
- Help message display when running halpi without arguments
Enhanced Device Configuration
- Auto-restart support - new auto_restart configuration option for automatic device recovery
- Solo depleting timeout configuration - ability to set custom timeout values for battery depletion scenarios
- PCB temperature monitoring - added support for querying T_pcb (PCB temperature)
🛠️ Improvements
I2C Communication
- Optimized I2C writes - now performed in single messages for better efficiency and reliability
- Updated state enums - synchronized with latest firmware state names
- Improved error handling - better firmware flashing error reporting
API and Server Enhancements
- Separate subsystem version reporting - distinct version information for different components
- Enhanced HTTP API - improved endpoints for device control and monitoring
- Standardized terminology - renamed "sleep" to "standby" across all interfaces for consistency
🐛 Bug Fixes
- Fixed voltage reporting - corrected voltage measurement display issues
- Fixed state output formatting - improved readability of device state information
- Linting error fixes - resolved code style and formatting issues
🔧 Infrastructure & Packaging
- Firmware package integration - firmware config file now installed by firmware package
- Debian packaging updates - improved package versioning and changelog
- Documentation overhaul - significantly streamlined README with focus on essential information
📦 What's Changed
- 22 commits with extensive CLI refactoring
- Major version bump from 3.0.3 to 4.0.0 due to breaking CLI changes
- Improved I2C communication reliability
- Enhanced configuration management capabilities
- Better error handling and user feedback
- CLI command structure has been redesigned - scripts using the old CLI may need updates
- print command replaced with status command
- Configuration commands now use subcommand structure (config get/set)
- "Sleep" terminology replaced with "standby" in API endpoints
🔄 Migration Guide
- Replace halpi print with halpi status
- Update configuration scripts to use halpi config get and halpi config set
- Update any references to "sleep" mode to use "standby"
---Full Changelog: https://github.com/hatlabs/halpid/compare/v3.0.3...v4.0.0