This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| blueprint: | |
| name: Calendar Notifications & Actions | |
| description: > | |
| # 📅 Calendar Notifications & Actions | |
| **Version: 1.9** | |
| Transform Your Calendar: Turn Events Into Notifications and Actions! 📅🔔⚙️ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Warn of a detected water leak | |
| # | |
| # Detect a leak | |
| template: | |
| - binary_sensor: | |
| - name: "Water Leak Detected" | |
| state: > | |
| {{ states.binary_sensor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| blueprint: | |
| name: State Based Entity Control Ignoring Target Entity State Changes | |
| description: >- | |
| Change the target entity to desired entity state base on the trigger entity's state, | |
| illuminance sensor's state, Sun elevation and so on. | |
| Adapted from State Based Entity Control (https://github.com/ql-owo-lp/homeassistant/blob/main/blueprints/state_based_entity_control.yaml) | |
| Mods by NateEaton to ignore state of target entity. | |
| domain: automation | |
| source_url: https://gist.github.com/NateEaton/3d7ee2960b7f3beca25ce25dbb8f264f | |
| input: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| blueprint: | |
| name: Outdoor Night Lighting Control with Migration Overrides | |
| description: > | |
| Control outdoor lights with options for on at sunset and off at sunrise (with optional offsets), or at fixed times, and bird migration overrides. | |
| - By default, lights are turned on at sunset and turned off at sunrise. If an offset is specified (positive or negative), that is applied to either the sunset or sunrise time. | |
| - As an alternative to using sunset or sunrise, lights can be turned on and/or off at a fixed time. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Zigbee Tipping Bucket Rain Gauge | |
| # For 3D parts: https://smartsolutions4home.com/ss4h-zrg-zigbee-rain-gauge/ | |
| # | |
| # Because the rain gauge is designed for each bucket tip to change the state of | |
| # binary_sensor.rain_gauge_sensor from On to Off or Off to On, the following | |
| # intermediate components are used so that it just takes one history stats | |
| # sensor per time period. | |
| # - input_boolean.rain_gauge_bucket_tipped | |
| # - automation.rain_gauge_bucket_tipped | |
| # These are set up using the UI but copies of yaml for each are included |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # yamllint disable rule:brackets rule:commas | |
| esphome: | |
| name: sound-level-meter | |
| friendly_name: sound-level-meter | |
| external_components: | |
| - source: github://stas-sl/esphome-sound-level-meter | |
| esp32: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| esphome: | |
| name: "magnetometer" | |
| friendly_name: "magnetometer" | |
| esp32: | |
| board: seeed_xiao_esp32c3 | |
| variant: esp32c3 | |
| framework: | |
| type: arduino |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| esphome: | |
| name: light-measurement | |
| friendly_name: light-measurement | |
| esp32: | |
| board: esp32dev | |
| framework: | |
| type: arduino | |
| # Enable logging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| esphome: | |
| name: environment | |
| friendly_name: environment | |
| esp32: | |
| board: esp32dev | |
| framework: | |
| type: arduino | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| import getopt | |
| import math | |
| # Function to calculate the height of water column per tip in metric units | |
| def calculate_height_metric(volume_ml, radius_mm): | |
| radius_m = radius_mm / 1000 # Convert mm to meters | |
| volume_m3 = volume_ml / 1e6 # Convert ml to cubic meters | |
| height_m = volume_m3 / (math.pi * radius_m**2) | |
| return height_m * 1000 # Convert meters to mm |
NewerOlder