You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Stuart Lamont 3837f6c6be
Updates with links back to README.md
3 years ago
Render Adding syntax highlighting to MarkDown 3 years ago
.gitignore adding Gitignore 3 years ago
DadJoke.png First Commit 3 years ago
QuoteSensor.png First Commit 3 years ago
README.md updates 3 years ago
RandomFact.png First Commit 3 years ago
automations.yaml First Commit 3 years ago
briefing notes.md updates 3 years ago
final call.md Updates with links back to README.md 3 years ago
fun.md Updates with links back to README.md 3 years ago
inside temps.md Updates with links back to README.md 3 years ago
pending updates.md Updates with links back to README.md 3 years ago
pendingUpdate.png Adding syntax highlighting to MarkDown 3 years ago
scripts.yaml First Commit 3 years ago
time.md Updates with links back to README.md 3 years ago
weatherTemperature.md Updates with links back to README.md 3 years ago
weatherWind.md Updates with links back to README.md 3 years ago

README.md

Hive Mind Automation - Video - Getting a Briefing from your Smart Home in Home Assistant

Preface

This serves as supplemental information for the Hive Mind Automation YouTube Video
Create a Daily Briefing with Home Assistant

It contains code snippets of Jinja2 Templates used in the announcements, and I've added a scripts.yaml file so you can see how I use it in my setup.

I've broken the scripts into individual snippets to be triggered by the automation.

Reference materials are available at:

Time Announcement
Weather - Temperature
Weather - Wind
Inside Temperatures
Dad Joke, Quote and Random Fact
Pending Updates

Script Contents

The Basis of each Script in Home Assistant is:

service: notify.alexa_media
data:
  data:
    type: tts
  message: "
    <YOUR TEMPLATED MESSAGE HERE>
  "
  target:
    - media_player.dining_room_echo_plus
    - media_player.bedroom_echo_dot
    - media_player.office_echo_dot
    - media_player.spare_room_echo_dot

Where we'll then swap out <YOUR TEMPLATED MESSAGE HERE> for what we want to actually say. In this case, I'm using the Alexa Media ACS add-on, but you could reasonably use this with Google home, or ANY text to speech engine from Home Assistant, including

TO-DO's

  • Turn multi-value outputs into an array of dictionaries/tuples and run through the template in a for loop.
    • i.e. Indoor Temperatures & pending updates.

Powered by TurnKey Linux.