Skip to content
This repository was archived by the owner on Feb 15, 2026. It is now read-only.

Releases: hatlabs/HALPI2-python-daemon

v4.0.7+2_pre (Pre-release)

22 Nov 13:38
cd4d47b

Choose a tag to compare

Pre-release

HALPI2 Daemon vv4.0.7+2_pre (Pre-release)

⚠️ This is a pre-release build from the main branch. Use for testing only.

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 halpid

v4.0.7+1_pre (Pre-release)

22 Nov 10:21
e9838b2

Choose a tag to compare

Pre-release

HALPI2 Daemon vv4.0.7+1_pre (Pre-release)

⚠️ This is a pre-release build from the main branch. Use for testing only.

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 halpid

Version 4.0.7 🦑

20 Oct 16:21
26c82c9

Choose a tag to compare

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

@mairas

Version 4.0.5 🦑

20 Sep 17:13

Choose a tag to compare

What’s Changed

  • No changes; bump the version because the previous released packages had wrong version number.

👥 List of contributors

@mairas

Version 4.0.4 🦑

18 Sep 12:11
5bb2dc1

Choose a tag to compare

What’s Changed

  • Add new commands for USB port power control and reporting device ID and hardware version (#14) @mairas

👥 List of contributors

@mairas

Version 4.0.3 🦑

14 Aug 14:52
cf4c601

Choose a tag to compare

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_version instead)

⬆️ Dependencies updates

👥 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

Full Changelog: v4.0.2...v4.0.3

Version 4.0.2 🦑

07 Aug 10:17
e113a8f

Choose a tag to compare

What’s Changed

  • Bump the Debian package version number as well.

👥 List of contributors

@mairas

Version 4.0.1 🦑

07 Aug 10:01
a5e7f09

Choose a tag to compare

What’s Changed

  • State enum did not match the states reported by the firmware, causing incorrect states to be reported.

👥 List of contributors

@mairas

Version 4.0.0 🦑

07 Aug 09:07
bdbd9c8

Choose a tag to compare

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

⚠️ Breaking Changes

  • 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

👥 List of contributors

@mairas

Version 3.0.3 🦑

10 Jun 15:30

Choose a tag to compare

What’s Changed

  • Bump version to trigger APT repo update

👥 List of contributors

@mairas