Skip to content

Instantly share code, notes, and snippets.

View MarkWattTech's full-sized avatar

Mark Watt Tech MarkWattTech

View GitHub Profile
@MarkWattTech
MarkWattTech / onju-voice.yaml
Last active May 5, 2024 22:09
ESPHome Code For Onju Voice
substitutions:
name: "onju-voice2"
friendly_name: "Onju Voice 2"
wifi_ap_password: "password"
esphome:
name: ${name}
friendly_name: ${friendly_name}
name_add_mac_suffix: false
min_version: 2023.10.1
service: notify.alexa_media
data:
message: test
data:
method: all
type: announce
title: my announce
target:
- media_player.downstairs_echo
- media_player.kitchen_echo
@MarkWattTech
MarkWattTech / Camera Commands
Last active August 26, 2021 21:56
Full command
Moved Commands to GIST as YouTube is shortening some of them.
3) sudo apt install autoconf automake build-essential pkgconf libtool git libzip-dev libjpeg-dev gettext libmicrohttpd-dev libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavdevice-dev default-libmysqlclient-dev libpq-dev libsqlite3-dev libwebp-dev
4) sudo wget https://github.com/Motion-Project/motion/releases/download/release-4.3.1/pi_buster_motion_4.3.1-1_armhf.deb
Video at : https://youtu.be/QH8fRGRofv4
@MarkWattTech
MarkWattTech / 5MoreHacs.yaml
Created July 15, 2021 13:53
5 More Frontend HACS for Home Assistant
# IF YOU MAKE USE OF THIS DOCUMENT,
# Let me know in the comments of my video. That way I will know if it's worthwhile putting this together.
# Cheers, Mark
# SIMPLE VACUUM CARD
type: custom:vacuum-card
entity: vacuum.your_vacuum
image: default
compact_view: false
show_name: true
@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 / gist:86bb228f2d1ae832ae9b4b81f1b95401
Created April 28, 2021 22:37
Alexa TTS for announcing Pi Temp
service: notify.alexa_media_downstairs_echo
data:
message: >-
Home Assistants Pi is currently running at {{states('sensor.processor_temperature') }} degrees
data:
type: tts
target: alexa_media_downstairs_echo
@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