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
| #!/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 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
| # 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 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
| # Create a Template Sensor in Home Assistant to show Liters Per Minute (L/m) instead of Meters Cubed Per Hour (m³/h) | |
| # Set "Unit of Measurement" to "L/min" and "Device Class" to "Volume FLow Rate" | |
| {{ (states('sensor.front_garden_sprinklers_flow') | float * 1000 / 60) | round(2) }} |
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
| # 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 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
| ### 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 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
| ### 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 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
| # Always good to update things first | |
| sudo apt-get update | |
| sudo apt-get upgrade | |
| # Install SSH | |
| sudo apt-get install openssh-server | |
| # Enable Service | |
| sudo systemctl enable ssh | |
| # Allow through Firewall | |
| sudo ufw allow ssh |
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
| # Start iVentoy web interface for first time | |
| sudo bash iventoy.sh start | |
| # Start iVentoy Web interface and service (no need to press green button) | |
| sudo bash iventoy.sh -R start | |
| # Transfer ISO image from local machine to PXE Boot Server | |
| scp thefilename.iso username@ipaddress:/isopath | |
| # Create symbolic link so that ISOs can be saved somewhere else but seen by iVentoy | |
| # iVentoy needs to see ISOs in the "iso" folder |
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
| ### 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! |
NewerOlder