This file contains 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
# Topic: zigbee2mqtt/Name of Device Here/set | |
# MQTT Payload | |
# This example releases 5 liters of water, once and then turns off | |
{ | |
"cyclic_quantitative_irrigation": { | |
"total_number": 1, | |
"irrigation_capacity": 5, | |
"irrigation_interval": 0 |
This file contains 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
# Create this script and then add a card to the dashboard linking to the script | |
alias: Add New Zone | |
sequence: | |
- service: zone.create | |
metadata: {} | |
data: | |
radius: "{{radius|default(100)}}" | |
name: "{{zone_name}}" | |
latitude: "{{ state_attr('device_tracker.marc_phone','latitude') }}" | |
longitude: "{{ state_attr('device_tracker.marc_phone','longitude') }}" |
This file contains 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
# Example from YouTube video: https://www.youtube.com/watch?v=0XH61uCqMDw | |
# Air Quality sensor adapted to not use Home Assistant | |
# but use MQTT and HTTP instead. | |
# Original Air Quality Sensor video: https://www.youtube.com/watch?v=XIY1xOzM3fs | |
### START - Update this section with relevant details ### | |
substitutions: |
This file contains 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
#!/bin/bash | |
# If you're having difficulty running this file then ensure the file has execute permissions | |
# chmod 755 esphome_install.sh | |
# To run the script type: | |
# sudo ./esphome_install.sh | |
### START - Install Docker ### | |
# Remove any old docker files |
This file contains 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
### START - Update this section with relevant details ### | |
substitutions: | |
device_name: "device-name-here" | |
friendly_name: Device Name Here | |
board_type: esp32dev | |
framework: esp-idf # arduino or esp-idf (recommended for ESP32) | |
# ESPHome API used by Home Assistant, etc |
This file contains 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
[ | |
{ | |
"id": "021eb3f3192c53ca", | |
"type": "tab", | |
"label": "Switchbot", | |
"disabled": false, | |
"info": "", | |
"env": [] | |
}, | |
{ |
This file contains 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
# Example from YouTube video: https://www.youtube.com/watch?v=XIY1xOzM3fs | |
# Push Button, Status LEDs, Analog Input (FSR Sensor), Air Quality Sensor, Distance Sensor | |
### START - Update this section with relevant details ### | |
substitutions: | |
device_name: "device-name-here" | |
friendly_name: Device Name Here | |
board_type: d1_mini |
This file contains 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
### START - Update this section with relevant details ### | |
substitutions: | |
device_name: "device-name-here" | |
friendly_name: Device Name Here | |
board_type: esp32dev | |
framework: esp-idf # arduino or esp-idf (recommended for ESP32) | |
# ESPHome API used by Home Assistant, etc |
This file contains 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
### START - Update this section with relevant details ### | |
substitutions: | |
device_name: "device-name-here" | |
friendly_name: Device Name Here | |
board_type: d1_mini | |
# ESPHome API used by Home Assistant, etc | |
# If you go to this page it generates one for you automatically! |
This file contains 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: bme680 | |
friendly_name: Air Quality Sensor | |
esp8266: | |
board: d1_mini | |
# Enable logging | |
logger: |
NewerOlder