Add files via upload

This commit is contained in:
Blackymas
2022-09-27 23:40:17 +02:00
committed by GitHub
parent 8595db80bc
commit 184172d032
8 changed files with 6069 additions and 0 deletions

File diff suppressed because it is too large Load Diff

3341
blueprint.yaml Normal file

File diff suppressed because it is too large Load Diff

18
climate.yaml Normal file
View File

@@ -0,0 +1,18 @@
climate:
- platform: generic_thermostat
unique_id: cf308990-0dbd-4e8a-be77-aec56d7a5aa4
name: NSPanel Büro
heater: switch.nspanel_buro_relay_2
target_sensor: sensor.nspanel_buro_temperature
min_temp: 13
max_temp: 27
ac_mode: false
target_temp: 22
cold_tolerance: 0.5
hot_tolerance: 0.5
min_cycle_duration:
seconds: 60
keep_alive:
minutes: 3
initial_hvac_mode: "heat"
precision: 0.5

1168
esphome.yaml Normal file

File diff suppressed because it is too large Load Diff

7
folder_watcher.yaml Normal file
View File

@@ -0,0 +1,7 @@
# Please insert into the default file "configuration.yaml
# Folder must be changed to the directory where the tft file (Nextion Editor) will be uploaded
###########
#
#Folder watcher for NS panel auto upload tft
folder_watcher:
- folder: /config/www/nspanel/

BIN
nspanel_buero.HMI Normal file

Binary file not shown.

BIN
nspanel_buero.tft Normal file

Binary file not shown.

78
sensor.yaml Normal file
View File

@@ -0,0 +1,78 @@
##### Sensor ######
sensor:
- platform: template
sensors:
wochentag:
friendly_name: "Wochentag"
unique_id: 6ac64850-8563-456c-b562-92343dd96f0b
value_template: >
{% set days = ['Montag,', 'Dienstag,', 'Mittwoch,', 'Donnerstag,', 'Freitag,', 'Samstag,', 'Sonntag,'] %}
{{ now().timestamp() | timestamp_custom(days[now().weekday()] ~ ' %d.%m')}}
icon_template: mdi:calendar-range
- platform: template
sensors:
wochentag01:
friendly_name: "Wochentag+1"
unique_id: 6b2aad54-3eb0-48cc-ae32-ee3574197f1b
value_template: >
{% set days = ['Montag,', 'Dienstag,', 'Mittwoch,', 'Donnerstag,', 'Freitag,', 'Samstag,', 'Sonntag,', 'Montag,'] %}
{{(as_timestamp(now())+ (86400)) | timestamp_custom(days[now().weekday()+1] ~ ' %d.%m') }}
icon_template: mdi:calendar-range
- platform: template
sensors:
wochentag02:
friendly_name: "Wochentag+2"
unique_id: edbddaf0-2791-4774-b8d4-aa706f75cc7a
value_template: >
{% set days = ['Montag,', 'Dienstag,', 'Mittwoch,', 'Donnerstag,', 'Freitag,', 'Samstag,', 'Sonntag,', 'Montag,', 'Dienstag,'] %}
{{(as_timestamp(now())+ (172800)) | timestamp_custom(days[now().weekday()+2] ~ ' %d.%m') }}
icon_template: mdi:calendar-range
- platform: template
sensors:
wochentag03:
friendly_name: "Wochentag+3"
unique_id: ad592622-db86-40f7-9961-4c1ffd21c711
value_template: >
{% set days = ['Montag,', 'Dienstag,', 'Mittwoch,', 'Donnerstag,', 'Freitag,', 'Samstag,', 'Sonntag,', 'Montag,', 'Dienstag,', 'Mittwoch,'] %}
{{(as_timestamp(now())+ (259200)) | timestamp_custom(days[now().weekday()+3] ~ ' %d.%m') }}
icon_template: mdi:calendar-range
- platform: template
sensors:
wochentag04:
friendly_name: "Wochentag+4"
unique_id: dcb3ed45-2b89-4672-a04f-a55f025ac745
value_template: >
{% set days = ['Montag,', 'Dienstag,', 'Mittwoch,', 'Donnerstag,', 'Freitag,', 'Samstag,', 'Sonntag,', 'Montag,', 'Dienstag,', 'Mittwoch,', 'Donnerstag,'] %}
{{(as_timestamp(now())+ (345600)) | timestamp_custom(days[now().weekday()+4] ~ ' %d.%m') }}
icon_template: mdi:calendar-range
- platform: template
sensors:
wochentag05:
friendly_name: "Wochentag+5"
unique_id: 77e642a5-de54-452d-9f4a-febe3a7851c2
value_template: >
{% set days = ['Montag,', 'Dienstag,', 'Mittwoch,', 'Donnerstag,', 'Freitag,', 'Samstag,', 'Sonntag,', 'Montag,', 'Dienstag,', 'Mittwoch,', 'Donnerstag,', 'Freitag,'] %}
{{(as_timestamp(now())+ (432000)) | timestamp_custom(days[now().weekday()+ 5] ~ ' %d.%m') }}
icon_template: mdi:calendar-range
###### NSPanel Büro - climate target temperature #####
- platform: template
sensors:
nspanel_buro_target_temp:
unique_id: 2393ab74-21ce-42d3-b15e-ec162b9d6f31
friendly_name: NSPanel Buro Target Temp
value_template: "{{ state_attr('climate.nspanel_buro', 'temperature') }}"
###### NSPanel Büro - climate target temperature #####
- platform: template
sensors:
nspanel_lea_target_temp:
unique_id: e8e61ff7-3a41-47ad-bd6c-303f730de96f
friendly_name: NSPanel Lea Target Temp
value_template: "{{ state_attr('climate.nspanel_lea', 'temperature') }}"