Skip to content

Instantly share code, notes, and snippets.

View Luc3as's full-sized avatar

Lukáš Porubčan Luc3as

View GitHub Profile
@Luc3as
Luc3as / RTVS-radiozurnal-flow.js
Last active January 24, 2021 15:59
NodeRED Flow pre vytiahnutie URL posledneho radiozurnalu RTVS, vysledok je sensor v HomeAssistant
[
{
"id": "ead32ffc.71b4f",
"type": "tab",
"label": "Správy RTVS",
"disabled": false,
"info": ""
},
{
"id": "ffb87676.f49f98",
@Luc3as
Luc3as / ESPhome_morning_light.yaml
Created December 4, 2020 07:20
Sunrise Effect for WS2812b and ESPHome
light:
- platform: neopixelbus
name: Ranné svetlo
type: GRB
pin: GPIO3
num_leds: 90
effects:
- addressable_lambda:
name: "Sunrise"
update_interval: 5ms
@Luc3as
Luc3as / homeassistant_alarm_clock.yaml
Created March 11, 2020 10:07
HomeAssistant_Alarm_clock
// Lovelace CARD
entities:
- entity: input_number.alarm_offset
- entity: input_boolean.alarm_weekday_enabled
- entity: sensor.alarm_weekday_time
- entity: input_number.alarm_weekday_hour
- entity: input_number.alarm_weekday_minutes
- entity: input_boolean.alarm_weekend_enabled
- entity: sensor.alarm_weekend_time