Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Variables
immich_api_key="api_key"
immich_url="https://immich.example.com"
album_id="guid"
# Step 1: Create /opt/kiosk directory
mkdir -p /opt/kiosk
@seang96
seang96 / voice_assistant.py
Last active February 11, 2024 22:06
Home Assistant ESPHome Voice Assistant Port Fix Update (Not Working)
"""ESPHome voice assistant support."""
from __future__ import annotations
import asyncio
from collections.abc import AsyncIterable, Callable
import logging
import socket
from typing import cast
from aioesphomeapi import (