blue led off
This commit is contained in:
parent
29e72a9bd8
commit
1f984ba162
@ -1 +1,11 @@
|
|||||||
[]
|
- id: '1673752036683'
|
||||||
|
alias: blue_led_off
|
||||||
|
description: Po startu vypne modrou LED (Odroid C2)
|
||||||
|
trigger:
|
||||||
|
- platform: homeassistant
|
||||||
|
event: start
|
||||||
|
condition: []
|
||||||
|
action:
|
||||||
|
- service: shell_command.blue_led_off
|
||||||
|
data: {}
|
||||||
|
mode: single
|
||||||
|
|||||||
@ -1,6 +1,9 @@
|
|||||||
# Configure a default setup of Home Assistant (frontend, api, etc)
|
# Configure a default setup of Home Assistant (frontend, api, etc)
|
||||||
default_config:
|
default_config:
|
||||||
|
|
||||||
|
shell_command:
|
||||||
|
blue_led_off: /bin/echo none > /sys/class/leds/c2:blue:alive/trigger
|
||||||
|
|
||||||
# Text to speech
|
# Text to speech
|
||||||
tts:
|
tts:
|
||||||
- platform: google_translate
|
- platform: google_translate
|
||||||
@ -11,6 +14,7 @@ automation: !include automations.yaml
|
|||||||
script: !include scripts.yaml
|
script: !include scripts.yaml
|
||||||
scene: !include scenes.yaml
|
scene: !include scenes.yaml
|
||||||
template: !include template.yaml
|
template: !include template.yaml
|
||||||
|
sensor: !include sensors.yaml
|
||||||
|
|
||||||
http:
|
http:
|
||||||
use_x_forwarded_for: true
|
use_x_forwarded_for: true
|
||||||
@ -23,6 +27,8 @@ recorder:
|
|||||||
purge_keep_days: 30
|
purge_keep_days: 30
|
||||||
commit_interval: 20
|
commit_interval: 20
|
||||||
|
|
||||||
|
history:
|
||||||
|
|
||||||
# InfluxDB - Long-term data
|
# InfluxDB - Long-term data
|
||||||
influxdb:
|
influxdb:
|
||||||
api_version: 2
|
api_version: 2
|
||||||
|
|||||||
@ -10,3 +10,9 @@ xiaomi_cloud_password: Maska.MiAccount
|
|||||||
# Databases
|
# Databases
|
||||||
mariadb_url: mysql://dbadmin:txcqCuH6Ht9epRvQYOF3@core-mariadb/homeassistant?unix_socket=/var/run/mysqld/mysqld.sock&charset=utf8mb4
|
mariadb_url: mysql://dbadmin:txcqCuH6Ht9epRvQYOF3@core-mariadb/homeassistant?unix_socket=/var/run/mysqld/mysqld.sock&charset=utf8mb4
|
||||||
influxdb_token: cqMQvcDUlP6_Zo88s_MXsl672zJQaIcAZ6h5ZZANtgr1Hn-Z08pXp8SPxtRcEfHyXNXthnD6AYCllxJYgQzrvQ==
|
influxdb_token: cqMQvcDUlP6_Zo88s_MXsl672zJQaIcAZ6h5ZZANtgr1Hn-Z08pXp8SPxtRcEfHyXNXthnD6AYCllxJYgQzrvQ==
|
||||||
|
|
||||||
|
# Kiosk mode
|
||||||
|
# Samsung Galaxy Tab3
|
||||||
|
kiosk_galaxy_url: http://192.168.88.55:2323/?cmd=deviceInfo&type=json&password=ha-kiosk
|
||||||
|
kiosk_galaxy_command: "http://192.168.88.55:2323/?cmd={{ cmd }}&key={{ key }}&value={{ value }}&type=json&password=ha-kiosk"
|
||||||
|
kiosk_galaxy_settings: "http://192.168.88.55:2323/?cmd=listSettings&type=json&password=ha-kiosk"
|
||||||
11
sensors.yaml
Normal file
11
sensors.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# MariaDB Database Size Sensor
|
||||||
|
- platform: sql
|
||||||
|
db_url: !secret mariadb_url
|
||||||
|
scan_interval: 3600
|
||||||
|
queries:
|
||||||
|
- name: MariaDB size
|
||||||
|
query: 'SELECT table_schema AS "database", ROUND(SUM(data_length + index_length) / 1024 / 1024, 1) "value" FROM information_schema.tables WHERE table_schema="homeassistant" GROUP BY table_schema;'
|
||||||
|
column: "value"
|
||||||
|
unit_of_measurement: MB
|
||||||
|
|
||||||
|
# InfluxDB 2.x Database Size Sensor
|
||||||
Loading…
Reference in New Issue
Block a user