AmpliPi icon indicating copy to clipboard operation
AmpliPi copied to clipboard

Detect communication failures and attempt graceful HW reset

Open linknum23 opened this issue 1 year ago • 3 comments

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

linknum23 avatar Feb 14 '24 22:02 linknum23

Is this a duplicate of #539?

rtertiaer avatar Apr 22 '24 14:04 rtertiaer

Support ticket 116 would have benefited from this.

rtertiaer avatar Apr 22 '24 14:04 rtertiaer

These 2 issues should be combined.

linknum23 avatar Apr 23 '24 15:04 linknum23