Skip to content

Detect communication failures and attempt graceful HW reset #643

@linknum23

Description

@linknum23

Context

The AmpliPi application running on the Pi does not have direct control over the zone inputs and volumes. It uses an I2C interface to send commands to firmware running on the preamp board. The firmware running on the preamp board controls the zone volumes and inputs over a separate I2C bus.

Problem

A customer has a firmware communication issue where the AmpliPi preamp board stops responding to zone/volume control commands and needs to be reset. This happens to them daily.

Solution

Add a counter for detecting this failure case X times in a short period. When the failure case is detected attempt to reset the firmware and configure it back to its most recent state

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions