|
|
|
@ -42,15 +42,15 @@ do_install_detail() {
|
|
|
|
|
[ -z "$host" ] && { echo "Error: MQTT host not found in configuration."; exit 1; }
|
|
|
|
|
|
|
|
|
|
echo "Fetching Coral status from configuration..."
|
|
|
|
|
coral=$(uci get frigate.detectors.coral 2>/dev/null)
|
|
|
|
|
coral=$(uci get frigate.tpu.enabled 2>/dev/null)
|
|
|
|
|
[ -z "$coral" ] && { echo "Error: Coral status not found in configuration."; exit 1; }
|
|
|
|
|
|
|
|
|
|
echo "Fetching Coral type from configuration..."
|
|
|
|
|
type=$(uci get frigate.detectors.type 2>/dev/null)
|
|
|
|
|
type=$(uci get frigate.tpu.type 2>/dev/null)
|
|
|
|
|
[ -z "$type" ] && { echo "Error: Coral type not found in configuration."; exit 1; }
|
|
|
|
|
|
|
|
|
|
echo "Fetching Coral device from configuration..."
|
|
|
|
|
device=$(uci get frigate.detectors.device 2>/dev/null)
|
|
|
|
|
device=$(uci get frigate.tpu.device 2>/dev/null)
|
|
|
|
|
[ -z "$device" ] && { echo "Error: Coral device not found in configuration."; exit 1; }
|
|
|
|
|
|
|
|
|
|
LAN_IP=$(uci get network.lan.ipaddr)
|
|
|
|
|