Compare commits

...

10 Commits

Author SHA1 Message Date
Victor Alexandrovich Tsyrenschikov
139f9f1bd2 python 2026-03-21 12:04:51 +05:00
Victor Alexandrovich Tsyrenschikov
973d63fc6a python 2026-03-21 12:02:09 +05:00
Victor Alexandrovich Tsyrenschikov
4b77baa8a5 HA 2026-03-05 20:58:01 +05:00
Victor Alexandrovich Tsyrenschikov
493a3112fb Esphome and Homeassistant backup 2026-02-03 08:29:20 +05:00
Victor Alexandrovich Tsyrenschikov
ad7aabb715 docker-compose.yml 2025-12-13 23:37:08 +05:00
Victor Alexandrovich Tsyrenschikov
18ef1474d7 project docker homeassistant 2025-12-13 23:15:40 +05:00
Victor Alexandrovich Tsyrenschikov
e39f9732d4 project docker homeassistant 2025-12-13 22:32:32 +05:00
Victor Alexandrovich Tsyrenschikov
9bc212f3a0 Modbus podval 2025-11-22 20:05:13 +05:00
Victor Alexandrovich Tsyrenschikov
0be76da2e8 Осушитель 2025-11-21 00:04:38 +05:00
Victor Alexandrovich Tsyrenschikov
936ed1b03c Frigate None 2025-11-21 00:04:38 +05:00
9 changed files with 2747 additions and 152213 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -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
View 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
View 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
View 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"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -17,6 +17,36 @@
state_class: measurement state_class: measurement
- name: "Влажность в ванной" - 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
- 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 scan_interval: 2
slave: 1 slave: 1
address: 2 address: 2

View File

@@ -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