Skip to content

Instantly share code, notes, and snippets.

View peyanski's full-sized avatar

Kiril Peyanski peyanski

View GitHub Profile
esphome:
name: temperature-sensor-bme280
esp8266:
board: d1_mini
# Enable logging
logger:
# Enable Home Assistant API
esphome:
name: temperature-sensor-bmp280
esp8266:
board: d1_mini
# Enable logging
logger:
# Enable Home Assistant 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: esp32-cam
platform: ESP32
board: esp32dev
# Enable logging
logger:
# Enable Home Assistant API
api:
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
@peyanski
peyanski / gist:5f9ef7fc84dd98ece1af6d5d435bf0a2
Created June 23, 2021 09:29
10k_giveaway_node-red_flow
[{"id":"1d5440f5.6d729f","type":"tab","label":"10k giveaway","disabled":false,"info":""},{"id":"867aa0be.203158","type":"inject","z":"1d5440f5.6d729f","name":"start","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":90,"y":40,"wires":[["c058f7a7.1cf59"]]},{"id":"9cdae97a.a6ed98","type":"csv","z":"1d5440f5.6d729f","name":"","sep":",","hdrin":true,"hdrout":"none","multi":"one","ret":"\\n","temp":"","skip":"0","strings":true,"include_empty_strings":"","include_null_values":"","x":110,"y":140,"wires":[["60a8653c.c99764"]]},{"id":"c058f7a7.1cf59","type":"template","z":"1d5440f5.6d729f","name":"IDs, Names, Comments ","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"id,name,comment\n1,Alex Vanhecke,Im the first\n2,jaga vj,Is there any innervation use of AirTag in HA.....?\n3,Knax,My AirTag should come in a view days... I think I put it on my Bike...Thanks for the nice Video
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"LocalAccountTokenFilterPolicy"=dword:00000001
detectors:
cpu1:
type: cpu
mqtt:
# Required: host name
host: 10.0.0.250
# Optional: port (default: shown below)
port: 1883
# Optional: topic prefix (default: shown below)
# WARNING: must be unique if you are running multiple instances
@peyanski
peyanski / ShellyMotionSensorBlueprint.yaml
Last active March 12, 2021 09:05
Shelly Motion Blueprint
blueprint:
name: ShellyMotionSensor-activated Light KP
description: Turn on a light when motion is detected.
domain: automation
source_url: https://gist.github.com/peyanski/e4795f8a85d0d2ee55bb9fde42cef892
input:
motion_entity:
name: Motion Sensor
selector:
entity: