Skip to content

Instantly share code, notes, and snippets.

View peyanski's full-sized avatar

Kiril Peyanski peyanski

View GitHub Profile
esphome:
name: phsensor
platform: ESP8266
board: d1_mini
wifi:
ssid: "YOUR_WIFI_NAME"
password: "YOUR_WIFI_PASS"
# Enable fallback hotspot (captive portal) in case wifi connection fails
esphome:
name: esp32-cam
platform: ESP32
board: esp32dev
# Enable logging
logger:
# Enable Home Assistant API
api:
esphome:
name: idasen
platform: esp32
board: esp32dev # Replace with your board
# Starting with ESPHome 2021.10, libraries need to be included manually
libraries:
- "ESP32 BLE Arduino"
# Enable logging
logger:
esphome:
name: temperature-sensor-bmp280
esp8266:
board: d1_mini
# Enable logging
logger:
# Enable Home Assistant API
esphome:
name: temperature-sensor-bme280
esp8266:
board: d1_mini
# Enable logging
logger:
# Enable Home Assistant API
alias: Send notification when alarm is Disarmed
description: ""
trigger:
- platform: state
entity_id:
- alarm_control_panel.home_alarm
to: disarmed
condition: []
action:
- service: notify.mobile_app_kiril
substitutions:
name: victron-mppt
external_components_source: github://KinDR007/VictronMPPT-ESPHOME@main
esphome:
name: ${name}
platform: ESP8266
board: d1_mini
external_components:
esphome:
name: soundsensor
friendly_name: SoundSensor
esp8266:
board: d1_mini
# Enable logging
logger:
@peyanski
peyanski / docker-compose.yml
Last active March 5, 2025 18:30
docker-compose.yml file for Home Assistant for Windows
services:
homeassistant:
container_name: ha
image: ghcr.io/home-assistant/home-assistant:stable
volumes:
- 'C:\homeassistant:/config'
environment:
- TZ=Europe/Sofia # get your Time Zone from - https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
# network_mode: host
ports:
@peyanski
peyanski / ESPHome-YAML-ld2410-esp32.yaml
Last active April 21, 2025 22:01
Use this code to make your LD2410 sensor to work with ESP32 or ESP8266 board
esphome:
name: ld2410-esp32
friendly_name: ld2410-esp32
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging