Skip to content

🧯 My Collection of Automation and Script Blueprints for Home Assistant 🧯

License

Notifications You must be signed in to change notification settings

SirGoodenough/HA_Blueprints

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 This my Home Assistant Blueprint Library

This is the Home Assistant Blueprint Library I have created and am sharing with the community. I have both Script and Automation Blueprints in separate folders. Each Blueprint has a file with the .yaml suffix with all the code and a file with the .md suffix which is a markdown description for set-up and usage of the blueprint. The .md file contains important information and if you want a successful install, you should read it.

⚙ Want to request a new feature request or found a BUG?

Open an issue on GitHub.

🫴 Support

You can use the threads on the Home Assistant community for the blueprint you are interested in (links below) to ask any questions you have.

Also pop in there and say Thanks if you like my stuff!

Or join me on (Sir_Goodenough#9683) Discord Discord Server WhatAreWeFixingToday.

🤹🏾‍♂️ Contact Links or see my other work

What are we Fixing Today Homepage / Website: https://www.WhatAreWeFixing.Today/

YouTube Channel Link URL: (WhatAreWeFixingToday) https://bit.ly/WhatAreWeFixingTodaysYT

🧀 If you want to support me

Buy me a Coffee: https://www.buymeacoffee.com/SirGoodenough

PayPal one-off donation link: https://www.paypal.me/SirGoodenough

#WhatAreWeFixingToday #SirGoodEnough

Here is a list of each of my blueprints, a quick description, an import link for import to Home Assistant, and jump links to the Blueprints Exchange post and the files in my GIT Repo...

🌀 Scripts

🧯Broadlink on Script Blueprint

This is a SCRIPT Blueprint that uses my Broadlink RM3 to turn my TV on and get it into the correct mode, IE: antenna, FireTV, Chromecast, etc. The defaults are specific to me and you should change them to match your situation.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

https://community.home-assistant.io/t/script-blueprint-to-turn-my-tv-on-and-put-it-into-the-correct-mode-for-the-input-device-i-want/338755

The scripts built with this Blueprint gives you a common scenario for turning your stuff on and putting the device in the correct mode to do the things you want to do. I have a number instances of this blueprint script created in my system. Here is a shot of them:

🧯Tasmota EZ Button Blueprint

This Script Blueprint generates 3 Buttons to help you manage your Tasmota installed base. Restart All, Update a few, and Update all.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

https://community.home-assistant.io/t/script-blueprint-that-generates-3-ez-buttons-to-manage-your-tasmota-cluster/376934

🧯Play Media File Script Blueprint Blueprint

This is a SCRIPT Blueprint. This provides a way to play canned media files with the big long list of YAML entries but keep the main script or automation clean.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

https://community.home-assistant.io/t/script-blueprint-to-play-media-player-files-not-an-automation-blueprint/371988

I decided I wanted to clean up a bunch of my automations by removing the several lines of YAML every time I wanted to play an mp3 file. In addition to that, playing specific sound files and other things becomes a simple call to a script file, so really a function. The actual meat and potatoes of the function is exactly the same for all the sounders and if a change needs to be made, it only has to be made in 1 place in a multiple re-use scenario.

🧯TTS All Message Blueprint

This script can use any of the 11 integrated TTS Platforms in Home Assistant to send a message to a media player.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

https://community.home-assistant.io/t/tts-script-blueprint-for-all-11-ha-core-tts-flavors/400700


NOTE: This blueprint replaces 2 other blueprints, so those have been removed from the repository. All the functionality in those has been moved to this one.

  • tts_cloud_message_script.yaml

  • tts_google_translate_say_message_script.yaml


🧯Miscellaneous Blueprint Scripts designed to be called by other BP's for specific tasks

Color Control. Designed for Magic Cube rotation input but can be used for anything. Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Dimmer Control. Designed for Magic Cube rotation input but can be used for anything. Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Long-short Toggle Control. Designed for Magic Cube rotation input but can be used for anything. Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Volume Control. Designed for Magic Cube rotation input but can be used for anything. Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Device Reset. Turn something off, wait, then turn it back on. Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

https://community.home-assistant.io/t/miscellaneous-blueprint-scripts-volume-dimming-reset-long-short-press-simulation-color-change/602059

🔃 Automations

🧯Auto Fan Control Blueprint

This Blueprint is for controlling a 3 speed fan based on a temperature sensor. Both fan% control & MQTT fan control versions.

Click this badge to import this Blueprint. This is the version that uses HA fan integration and 0%, 33%, 66%, & 100% values to control the fan: Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Click this badge to import this Blueprint. This is the version that uses MQTT speeds 0, 1, 2, 3 to control the fan: Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

https://community.home-assistant.io/t/auto-fan-temp-control-for-3-speed-fan-using-ha-fan-or-mqtt-integration/326419

This functionality started as a way to help my Bedroom AC unit keep an even temperature throughout the bedroom over night. My partner wanted the fan on, but not faster than it had to be. I wanted it to change speeds following the temperature of the room. So that's what I did.

🧯Door Open TTS Cloud-Say Message Blueprint

This Blueprint is a TTS.cloud-say version of another Door Announcer I found in the HA Blueprint Exchange. This has changed drastically since I first encountered the original.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

https://community.home-assistant.io/t/door-open-tts-cloud-say-and-piper-announcer-piper-or-nabu-casa-required/316046

Works with BOTH Piper and Nabu-Casa tts-cloud-say. This blueprint is set up to watch a binary sensor. When it goes from off to on (closed to open) it triggers a message to be sent to the google enabled speaker of your choice. The message will play after a delay you set and repeat on that same delay until the switch returns to off (closed), at which time it sends a different message. The delay time and all the other parameters are adjustable.

🧯Keypad Lock or puzzle Box Tool Blueprint

This Blueprint accepts 5 actions & when done in the right order, flips an input_boolean.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

https://community.home-assistant.io/t/keypad-cipher-code-for-5-button-presses-before-you-turn-on-an-input-boolean/322385

Think on this Blueprint as a lock from a common keypad, or a puzzle to solve in a safe house.
ALSO you can watch the accompanying YouTube Video about it here for detailed info!

🧯Zigbee2MQTT - Xiaomi Cube Controller MQTT Triggred Blueprint

This Blueprint uses a Zigbee2MQTT built sensor to sort out the 100+ commands from the Xiaomi Magic Cube Remote.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

https://community.home-assistant.io/t/zigbee2mqtt-xiaomi-cube-controller/393203

The split out of functions gives you the ability to assign local scripts or functions to do the things you want the remote to do. Functions that are left empty will simply do nothing. NOTICE: Using this Blueprint, this cube can be triggered 74 ways, but only 38 of them are unique...

🧯ZemiSmart ZM-RM02 Controller Blueprint

This Blueprint uses the Z2M (Zigbee2MQTT) imported Action sensor to sort out the 18 commands from the ZemiSmart ZM-RM02 Controller.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

https://community.home-assistant.io/t/zigbee2mqtt-zemismart-zm-rm02-controller/412650

The split out of functions gives you the ability to assign local scripts or functions to do the things you want the remote to do. Functions that are left empty will simply do nothing.

🧯ZHA - Xiaomi Cube Controller Blueprint

This Blueprint uses a ZHA built sensor to sort out the 38 commands from the Xiaomi Magic Cube Remote.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

https://community.home-assistant.io/t/zha-xiaomi-cube-controller/495975

The split out of functions gives you the ability to assign local scripts or functions to do the things you want the remote to do. Functions that are left empty will simply do nothing. NOTICE: Using this Blueprint, this cube can be triggered many ways, but only 38 of them are unique...

🧯Device_tracker Monitor & Notifier

This Blueprint monitors device_tracker entities that you choose & notifies you if they go offline

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

https://community.home-assistant.io/t/device-tracker-monitor-notifier/500688

It gives you the opportunity to devise an action to deal with it. It started as a pfSense centered project but any device_tracker that has a state of home when it is running and something else when it is not available will work with this.

🧯 Zigbee2MQTT Aqara Magic Cube T1-Pro CTP-R01 Xiaomi Lumi cagl02

This Blueprint gives you literally hundreds of actions available on the new Magic Cube.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

https://community.home-assistant.io/t/zigbee2mqtt-aqara-magic-cube-t1-pro-ctp-r01-xiaomi-lumi-cagl02/525111

🧯 Humidifier Water Throttle Control

This blueprint monitors a humidity sensor & by determining the error from the goal, sends info to a humidifier as to how long to flow the water. This saves water & has a minimal effect on function. Requires a Sonoff SV, Generic hygrostat Integration, & a suitable humidifier.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

https://community.home-assistant.io/t/humidifier-water-throttle-control/527583

🧯 Person_alert_Blueprint

This BluePrint will monitor a person or persons, and when they 'enter' or 'leave' the zone or zones you pick, it will trigger an action for both enter and leave phases. Yes, it will watch multiple people and multiple zones at the same time!

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

https://community.home-assistant.io/t/person-alert-blueprint/542209

🧯 Octoprint_Additional_Buttons_Helper

This is Blueprint is provided as a helper for people using the Octoprint Plugin called OctoPrint-HomeAssistant. What this does is add 6 buttons, 4 of which you as the user can set your own G-Codes to for customizing. Also adds safe shutdown and presentation functions.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

https://community.home-assistant.io/t/octoprint-additional-buttons-helper-blueprint/549826

🧯 Stage_1_Temperature_Control

This is Blueprint is provided as a helper for people using the Octoprint Plugin called OctoPrint-HomeAssistant. What this does is add 6 buttons, 4 of which you as the user can set your own G-Codes to for customizing. Also adds safe shutdown and presentation functions.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

https://community.home-assistant.io/t/stage-1-temperature-control-for-climate-entity/649401