Skip to content

Instantly share code, notes, and snippets.

View Rodney-Smith's full-sized avatar

Rodney Smith Rodney-Smith

  • Sacramento, CA
View GitHub Profile
@EverythingSmartHome
EverythingSmartHome / esp32-voice.yaml
Last active July 2, 2024 23:02
ESP32 & ESPHome Voice Assistant
esphome:
name: esp32-mic-speaker
friendly_name: esp32-mic-speaker
on_boot:
- priority: -100
then:
- wait_until: api.connected
- delay: 1s
- if:
condition:
@tetele
tetele / README.md
Last active June 16, 2024 10:58
ESPHome config - Raspiaudio Muse Luxe as a voice assistant satellite in Home Assistant

Introduction

The purpose of this ESPHome config is to be able to use the Raspiaudio Muse Luxe as a voice assistant satellite in Home Assistant.

Features

  • wake word, push to talk and continuous conversation support
  • response playback
  • service exposed in HA to start and stop the voice assistant from another device/trigger
  • visual feedback of the recording/success/error status via the Luxe's onboard LED
@MarkWattTech
MarkWattTech / Doorbell_Camera_TV_Notifications.yaml
Created June 24, 2021 18:56
Code From Doorbell and Camera TV notifications video
## Taking the image
service: camera.snapshot
target:
entity_id: camera.e1_zoom
data:
filename: /config/tmp/camera.png
## TV Notification
@MarkWattTech
MarkWattTech / Alexa Actionable Notifications.txt
Created June 9, 2021 21:49
Alexa Actionable Notifications Video Code
Thanks for checking out my tutorial!
Dont forget to drop the video a like and hit that subscribe button for more!
====================================================================================
INPUT TEXT (Add it to your config.yaml or wherever you store input text)
===================================================================================
input_text:
alexa_actionable_notification:
name: Alexa Actionable Notification Holder
######### Mini Graph ##########
type: 'custom:mini-graph-card'
entities:
- sensor.processor_use_percent
line_color: blue
line_width: 8
name: Processor Usage
font_size: 75
@MarkWattTech
MarkWattTech / Alexa Custom MP3.yaml
Created April 22, 2021 17:11
Supporting content for the Alexa Custom MP3s video
#Dev Tool
service: notify.alexa_media
data:
message: "<audio src='https://yourPublicURL.ui.nabu.casa/local/mp3/potato.mp3'/>"
target: media_player.downstairs_echo
data:
type: tts
@MarkWattTech
MarkWattTech / TV Notifications.yaml
Created April 20, 2021 22:55
Code from TV Notifications Video
# Dont forget to Subscribe to Mark Watt Tech!
# Example configuration.yaml entry
notify:
- platform: nfandroidtv
name: yourDeviceName
host: 192.168.1.12
# Simple notification
duration: 10
@MarkWattTech
MarkWattTech / 3 Simple Room Assistant Cards and Automations
Created April 15, 2021 16:31
Code from the latest room assistant video
# CARD 1 - Current Presence
# The first card that shows you what state and what room a given device is in
type: glance
entities:
- entity: device_tracker.marks_apple_watch_tracker
- entity: sensor.marks_apple_watch_room_presence
title: Current Presence
# CARD 2 - Occupancy Card
version: '3.1'
services:
unifi:
container_name: unifi
restart: unless-stopped
image: linuxserver/unifi
volumes:
- /srv/docker/unifi:/config
environment:
- PGID=0