Compare commits
10 Commits
2ac4ca2600
...
139f9f1bd2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
139f9f1bd2 | ||
|
|
973d63fc6a | ||
|
|
4b77baa8a5 | ||
|
|
493a3112fb | ||
|
|
ad7aabb715 | ||
|
|
18ef1474d7 | ||
|
|
e39f9732d4 | ||
|
|
9bc212f3a0 | ||
|
|
0be76da2e8 | ||
|
|
936ed1b03c |
1014
automations.yaml
1014
automations.yaml
File diff suppressed because it is too large
Load Diff
@@ -6,6 +6,7 @@ python_script:
|
|||||||
logger:
|
logger:
|
||||||
default: info
|
default: info
|
||||||
|
|
||||||
|
|
||||||
# Load frontend themes from the themes folder
|
# Load frontend themes from the themes folder
|
||||||
frontend:
|
frontend:
|
||||||
themes: !include_dir_merge_named themes
|
themes: !include_dir_merge_named themes
|
||||||
@@ -17,11 +18,12 @@ scene: !include scenes.yaml
|
|||||||
mqtt: !include mqtt.yaml
|
mqtt: !include mqtt.yaml
|
||||||
climate: !include climate.yaml
|
climate: !include climate.yaml
|
||||||
modbus: !include modbus.yaml
|
modbus: !include modbus.yaml
|
||||||
|
#generic_hygrostat: !include generic_hygrostat.yaml
|
||||||
|
#frigate: !include frigate.yml
|
||||||
#switch: !include switches.yaml
|
#switch: !include switches.yaml
|
||||||
#template: !include template.yaml
|
#template: !include template.yaml
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
media_player:
|
media_player:
|
||||||
- platform: "vlc"
|
- platform: "vlc"
|
||||||
|
|||||||
101
docker-compose.yml
Normal file
101
docker-compose.yml
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
services:
|
||||||
|
# esphome:
|
||||||
|
# container_name: esphome
|
||||||
|
# image: ghcr.io/esphome/esphome
|
||||||
|
# volumes:
|
||||||
|
# - /path/to/esphome/config:/config
|
||||||
|
# - /etc/localtime:/etc/localtime:ro
|
||||||
|
# restart: always
|
||||||
|
# privileged: true
|
||||||
|
# network_mode: bridge
|
||||||
|
# environment:
|
||||||
|
# - USERNAME=silver
|
||||||
|
# - PASSWORD=cbvgcjy0
|
||||||
|
# ports:
|
||||||
|
# - "6052:6052"
|
||||||
|
# - "6053:6053"
|
||||||
|
|
||||||
|
homeassistant:
|
||||||
|
image: "ghcr.io/home-assistant/home-assistant:stable"
|
||||||
|
container_name: homeassistant
|
||||||
|
privileged: true
|
||||||
|
ports:
|
||||||
|
- "8123:8123"
|
||||||
|
volumes:
|
||||||
|
- /home/homeassistant/.homeassistant/:/config
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
environment:
|
||||||
|
TZ: Asia/Yekaterinburg
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
|
||||||
|
portainer:
|
||||||
|
image: portainer/portainer-ce:latest
|
||||||
|
container_name: portainer
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- portainer_data:/data
|
||||||
|
ports:
|
||||||
|
- "8000:8000"
|
||||||
|
- "9443:9443"
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
|
||||||
|
portainer_agent:
|
||||||
|
image: portainer/agent
|
||||||
|
restart: always
|
||||||
|
container_name: portainer_agent
|
||||||
|
ports:
|
||||||
|
- "9001:9001"
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- /var/lib/docker/volumes:/var/lib/docker/volumes
|
||||||
|
network_mode: bridge
|
||||||
|
|
||||||
|
mosquitto:
|
||||||
|
image: eclipse-mosquitto:latest
|
||||||
|
container_name: mosquitto
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "1883:1883" # MQTT default port
|
||||||
|
- "8080:8080"
|
||||||
|
# - "9001:9001" # WebSockets port (optional)
|
||||||
|
volumes:
|
||||||
|
- ./mosquitto/config:/mosquitto/config
|
||||||
|
- ./mosquitto/data:/mosquitto/data
|
||||||
|
- ./mosquitto/log:/mosquitto/log
|
||||||
|
network_mode: bridge
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Yekaterinburg # Adjust timezone as needed
|
||||||
|
|
||||||
|
ntp:
|
||||||
|
build: .
|
||||||
|
image: cturra/ntp:latest
|
||||||
|
container_name: ntp
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 123:123/udp
|
||||||
|
environment:
|
||||||
|
- LOG_LEVEL=0
|
||||||
|
- TZ=Asia/Yekaterinburg
|
||||||
|
volumes:
|
||||||
|
- ./chrony/chrony.conf:/etc/chrony.conf:ro
|
||||||
|
|
||||||
|
# deepstack:
|
||||||
|
# container_name: deepstack
|
||||||
|
# image: robmarkcole/deepstack-ui:latest
|
||||||
|
# restart: always
|
||||||
|
# ports:
|
||||||
|
# - "80:5000"
|
||||||
|
# environment:
|
||||||
|
# Enable desired DeepStack APIs
|
||||||
|
# - VISION-FACE=True
|
||||||
|
# - VISION-DETECTION=True
|
||||||
|
# Set performance mode (High, Medium, Low)
|
||||||
|
# - MODE=High
|
||||||
|
# volumes:
|
||||||
|
# - deepstack_data:/datastore
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
portainer_data:
|
||||||
|
# deepstack_data:
|
||||||
18
frigate.yml
Normal file
18
frigate.yml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
mqtt:
|
||||||
|
host: 192.168.88.4 # ip address сервера mqtt
|
||||||
|
port: 1883
|
||||||
|
topic_prefix: frigate
|
||||||
|
client_id: frigate
|
||||||
|
|
||||||
|
detectors:
|
||||||
|
cpu0:
|
||||||
|
type: cpu
|
||||||
|
|
||||||
|
cameras:
|
||||||
|
cam_01:
|
||||||
|
ffmpeg:
|
||||||
|
input_args: ""
|
||||||
|
inputs:
|
||||||
|
- path: rtsp://silver:cimpson0@192.168.88.9:554/1 #ссылка камеры
|
||||||
|
roles:
|
||||||
|
- detect
|
||||||
9
generic_hygrostat.yaml
Normal file
9
generic_hygrostat.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
- name: Bedroom
|
||||||
|
humidifier: switch.dehumidifier
|
||||||
|
target_sensor: sensor.humidity_koridor
|
||||||
|
min_humidity: 30
|
||||||
|
max_humidity: 80
|
||||||
|
target_humidity: 50
|
||||||
|
dry_tolerance: 3
|
||||||
|
wet_tolerance: 0
|
||||||
|
device_class: "humidifier"
|
||||||
152419
home-assistant.log
152419
home-assistant.log
File diff suppressed because it is too large
Load Diff
1326
home-assistant.log.1
1326
home-assistant.log.1
File diff suppressed because it is too large
Load Diff
30
modbus.yaml
30
modbus.yaml
@@ -27,3 +27,33 @@
|
|||||||
unit_of_measurement: "%"
|
unit_of_measurement: "%"
|
||||||
device_class: humidity
|
device_class: humidity
|
||||||
state_class: measurement
|
state_class: measurement
|
||||||
|
|
||||||
|
|
||||||
|
- name: modbus_hub_podval
|
||||||
|
type: tcp
|
||||||
|
host: 192.168.88.169
|
||||||
|
port: 502
|
||||||
|
sensors:
|
||||||
|
- name: "Температура в подвале"
|
||||||
|
scan_interval: 2
|
||||||
|
slave: 1
|
||||||
|
address: 1
|
||||||
|
data_type: int16
|
||||||
|
input_type: input
|
||||||
|
scale: 0.1
|
||||||
|
precision: 2
|
||||||
|
unit_of_measurement: "°C"
|
||||||
|
device_class: temperature
|
||||||
|
state_class: measurement
|
||||||
|
|
||||||
|
- name: "Влажность в подвале"
|
||||||
|
scan_interval: 2
|
||||||
|
slave: 1
|
||||||
|
address: 2
|
||||||
|
data_type: int16
|
||||||
|
input_type: input
|
||||||
|
scale: 0.1
|
||||||
|
precision: 2
|
||||||
|
unit_of_measurement: "%"
|
||||||
|
device_class: humidity
|
||||||
|
state_class: measurement
|
||||||
39
mqtt.yaml
39
mqtt.yaml
@@ -31,19 +31,19 @@ switch:
|
|||||||
sensor:
|
sensor:
|
||||||
|
|
||||||
#Shelly-1PM
|
#Shelly-1PM
|
||||||
- name: Напряжение на 1 этаже
|
# - name: Напряжение на 1 этаже
|
||||||
unique_id: shelly1pmg3-sun
|
# unique_id: shelly1pmg3-sun
|
||||||
state_topic: "light_ventilation/status/switch:0"
|
# state_topic: "light_ventilation/status/switch:0"
|
||||||
value_template: "{{ value_json.voltage }}"
|
# value_template: "{{ value_json.voltage }}"
|
||||||
unit_of_measurement: "V"
|
# unit_of_measurement: "V"
|
||||||
device_class: 'energy'
|
# device_class: 'energy'
|
||||||
|
|
||||||
- name: Напряжение кочегарка
|
# - name: Напряжение кочегарка
|
||||||
unique_id: shelly1pmg3-sun_koch
|
# unique_id: shelly1pmg3-sun_koch
|
||||||
state_topic: "light_kochegarka/status/switch:0"
|
# state_topic: "light_kochegarka/status/switch:0"
|
||||||
value_template: "{{ value_json.voltage }}"
|
# value_template: "{{ value_json.voltage }}"
|
||||||
unit_of_measurement: "V"
|
# unit_of_measurement: "V"
|
||||||
device_class: 'energy'
|
# device_class: 'energy'
|
||||||
|
|
||||||
#Shelly-1PM
|
#Shelly-1PM
|
||||||
- name: Temperature_kitchen_vent
|
- name: Temperature_kitchen_vent
|
||||||
@@ -62,14 +62,15 @@ sensor:
|
|||||||
device_class: 'temperature'
|
device_class: 'temperature'
|
||||||
|
|
||||||
#Контроллер WeMos D1 Mini на базе ESP8266
|
#Контроллер WeMos D1 Mini на базе ESP8266
|
||||||
- name: gas_kitchen
|
# - name: gas_kitchen
|
||||||
unique_id: gas_kitchen
|
# unique_id: gas_kitchen
|
||||||
state_topic: "gas_kitchen/sensor/smoke"
|
# state_topic: "gas_kitchen/sensor/smoke"
|
||||||
value_template: "{{ value_json.data.ppm | round(2) if value_json.data.online == true else -1 }}"
|
# value_template: "{{ value_json.data.ppm | round(2) if value_json.data.online == true else -1 }}"
|
||||||
unit_of_measurement: "ppm"
|
# unit_of_measurement: "ppm"
|
||||||
device_class: 'gas'
|
# device_class: 'gas'
|
||||||
|
|
||||||
|
#KC868-A8 Теплицаcd
|
||||||
|
|
||||||
#KC868-A8 Теплица
|
|
||||||
- name: windows_teplica_status
|
- name: windows_teplica_status
|
||||||
unique_id: windows_teplica_status
|
unique_id: windows_teplica_status
|
||||||
icon: mdi:window-closed
|
icon: mdi:window-closed
|
||||||
|
|||||||
Reference in New Issue
Block a user