Skip to content

Instantly share code, notes, and snippets.

View peyanski's full-sized avatar

Kiril Peyanski peyanski

View GitHub Profile
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:
@peyanski
peyanski / HA_DevTOOLS_Actionable_Notifications.yaml
Created September 9, 2020 12:53
Home Assistant Developer Tools Fun YAML snippets to test Actionable Notifications in Companion App
# simple notification test
notify.mobile_app_kiril_s_iphone
message: subscribe
# click to open url
title: "Open my website"
message: "URL"
data:
url: https://peyanski.com
# Example configuration.yaml entry
sensor:
- platform: history_stats
name: "Vacation Kitchen"
entity_id: light.kitchen_lights
state: "on"
type: count
start: >
{{ as_timestamp(now()) - 86400 }}
duration: 00:00:10
@peyanski
peyanski / reolink_rlc-410w_RTSP.json
Created June 10, 2020 06:17
Custom flow to test the connectivity to Reolink RLC-410W camera using RTSP protocol