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
alias: Chilien talvivalojen ohjaus | |
description: Chilien talvivalojen ohjaus. Päälle 2h ennen hämärää | |
triggers: | |
- at: input_datetime.chilien_talvivalot_paalle | |
id: chilien talvivalot päälle | |
trigger: time | |
- at: input_datetime.chilien_talvivalot_pois | |
id: chilien talvivalot pois | |
trigger: time | |
conditions: [] |
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
alias: Chilien talvivalojen ajastusautomaatio | |
description: "Asettaa time-tyyppisen helperin arvot klo 00:10 syttymään 2h ennen auringonlaskua ja sammumaan auringonlaskun hetkellä" | |
triggers: | |
- trigger: time | |
at: "00:10:00" | |
conditions: [] | |
actions: | |
- action: input_datetime.set_datetime | |
target: | |
entity_id: input_datetime.chilien_talvivalot_paalle |
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
data: | |
title: Title | |
message: >- | |
Tuulen suunta 10min Avg: {{ states('sensor.wind_direction_10min_avg')}} ° ( | |
180-220°)<br> Tuulen nopeus 10min Avg: {{ | |
states('sensor.wind_speed_10min_avg') }} m/s<br> Tuulen puuskat 10min Avg: | |
{{ states('sensor.wind_gusts_10min_avg') }} m/s<br> | |
data: | |
sticky: false | |
notification_icon: mdi:slope-uphill |
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
# ESP32C3 (Seeed Studio XIAO) version of the P1 reader | |
# Look at https://github.com/psvanstrom/esphome-p1reader and get that p1reader.h from there | |
esphome: | |
includes: | |
- p1reader.h | |
name: esp32-p1reader | |
friendly_name: esp32-p1reader | |
platformio_options: | |
board_build.f_flash: 40000000L |
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: nedis-esp-004 | |
substitutions: | |
device_name: nedis_esp_004 | |
friendly_name: Nedis ESP 004 | |
# Nedis WIFIPO121FWT with bk7231N | |
# Nedis WIFIPO120FWT with bk7231N chip has markings "10T40 and µ" on it's label | |
# Nedis WIFIPO120FWT with bk7231T chip has no those markings on it's label |
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: nedis-esp-003 | |
substitutions: | |
device_name: nedis_esp_003 | |
friendly_name: Nedis ESP 003 | |
# Nedis WIFIPO120FWT with bk7231N chip has markings "10T40 and µ" on it's label | |
# Nedis WIFIPO120FWT with bk7231T chip has no those markings on it's label (BL0937 pins CF=P7, CF1=P8 and sel=P24, Light=P6 other pins the same) | |
# Use Cloud Cutter profile: tuya-generic-fs-02we-1ch-16a-smart-switch-with-energy-monitoring |
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
type: custom:windrose-card | |
title: Wind direction last 8hrs | |
data_period: | |
hours_to_show: 8 | |
max_width: 400 | |
refresh_interval: 300 | |
windspeed_bar_location: bottom | |
windspeed_bar_full: false | |
wind_direction_entity: | |
entity: sensor.wind_direction_10min_avg |
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
command_line: | |
- sensor: | |
name: "Wind Direction 10min Avg" | |
unique_id: file_fmi_wind_direction | |
unit_of_measurement: "°" | |
scan_interval: 300 | |
command: "python3 /config/FMIWeather.py Tampere winddirection" | |
value_template: "{{ value_json.result[-1].value |int }}" | |
json_attributes: | |
- time |
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
# Copy this on root of config directory or any place you want | |
# Correct the file sensor paths for configuration.yaml if needed | |
# Usage: python3 FMIWeather.py station parameter | |
# Examples: | |
# FMIWeather.py Tampere windspeed | |
# FMIWeather.py Hämeenlinna rain1h | |
# NOTE! If you live place without FMI weather station, like Turenki, Renko or Lammi, It takes the readings for the closest station. | |
# You can find the stations here: https://www.tuulikartta.info/#lang=fi#latlon=61.04,24.29,9#parameter=ws_10min for example | |
# All data with 10 min resolution | |
# ws_10min = Wind Speed 10min avg (in m/s) |
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
service: mqtt.publish | |
data: | |
topic: cmnd/Greenhouse1/wiper1 | |
qos: "0" | |
retain: true | |
payload: >- | |
{% set greenhouse_temp = states('sensor.greenhouse1_ec_fan_control_temperature') |float %} | |
{% if greenhouse_temp <24.0 %} 0 | |
{% else %} | |
{% set temp_min = states('input_number.ec_fan_temp_min') |float %} |
NewerOlder