Skip to content

Instantly share code, notes, and snippets.

View lumascet's full-sized avatar
🦦

Lukas Schröer lumascet

🦦
View GitHub Profile
@lumascet
lumascet / aqara_aq3.yaml
Last active November 17, 2021 18:57 — forked from wwohl/aqara_aq3.yaml
Aqara aq3 blueprint
blueprint:
name: ZHA - Aqara Wireless Mini Switch
description: Automate your Xiaomi Aqara Wireless Mini Switch using ZHA events.
domain: automation
input:
aqara_mini_switch:
name: Aqara Wireless Mini Switch
description: Aqara Wireless Mini Switch to use
selector:
device:
@lumascet
lumascet / base64defaultbin.txt
Created September 12, 2022 09:02
default ut210E config - base64 encoded
//////8AgOgD6AP6AAC+A3AXmAi+AD09PDz//wr/QP9zmGmBZACWAACAF4D7fjh1TgIJzgIJd/8K6xMKHQMKAAABAAEAB5gAZABkAGQAAAAFn6uYAIAAgAAAAAABAAAA439IfgEAuCoAAAAAAAAAADSAAIDZf+B87AUAAAAAAAAAAAAAAAAAFwAAABkeGwQHAAAAAAAAABYAAAAYABoFCQAAAAAAAAAAAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAALDQACMA0AAyAgAAMgIAADEEEAAwhBAAMFQQADBQ0AAjAAgACAAIAAgACAtAHyAh0EtAHwAicEAIBax+8PD4AAAA==
@lumascet
lumascet / esphome.yaml
Last active August 11, 2024 14:43
FYSETC-E4 esphome roller blinds
substitutions:
device_name: "lush-cover-controller"
pulley_diameter_mm: "21.963"
gear_ratio: "1880/2000"
distance_mm: "2050"
acceleration: 500 steps/s^2
velocity: 2500 steps/s # 200 (motor steps) * ${microsteps}
back_off_steps: "200" # back off some steps to reduce stepper energize noise
open_current_x: 1000ma
@lumascet
lumascet / multiple_covers_wip.yaml
Last active September 19, 2024 08:47
WIP multiple covers yaml configuration for FYSETC-E4 esphome
substitutions:
device_name: "lush-cover-controller"
pulley_diameter_mm: "21.963"
gear_ratio: "1880/2000"
distance_mm: "2050"
acceleration: 500 steps/s^2
velocity: 2500 steps/s # 200 (motor steps) * ${microsteps}
back_off_steps: "200" # back off some steps to reduce stepper energize noise
open_current_x: 1000ma
@lumascet
lumascet / symfonsic_controller_gen2_button_mapping.yaml
Last active July 19, 2023 12:49
IKEA symfonsic gen2 button mapping
blueprint:
name: ZHA - IKEA Symfonisk sound controller GEN2 for media and dot-buttons control
description:
Control media with an IKEA Symfonisk sound controller GEN2 (Square
one). Full media control with the media buttons (play/pause, volume up/down and
skip/previous track). Fully customisable dot-buttons, with options for single,
double and long press for each one.
domain: automation
input:
remote:
@lumascet
lumascet / e1743.yaml
Last active July 19, 2023 10:21
fixed long press, double press and release 2023.07.01
blueprint:
name: Controller - IKEA E1743 TRÅDFRI On/Off Switch & Dimmer
description:
"# Controller - IKEA E1743 TRÅDFRI On/Off Switch & Dimmer\n\nController
automation for executing any kind of action triggered by the provided IKEA E1743
TRÅDFRI On/Off Switch & Dimmer. Allows to optionally loop an action on a button
long press.\nSupports deCONZ, ZHA, Zigbee2MQTT.\n\nAutomations created with this
blueprint can be connected with one or more [Hooks](https://epmatt.github.io/awesome-ha-blueprints/docs/blueprints/hooks)
supported by this controller.\nHooks allow to easily create controller-based automations
for interacting with media players, lights, covers and more.\nSee the list of
substitutions:
name: sp111
friendly_name: SP111
# Higher value gives lower watt readout
current_res: "0.0010266"
# Lower value gives lower voltage readout. In my case of about 15 of those devices this value is closest to my voltage meter
voltage_div: "1670.24"
current_measured: "0.468"
current_truth: "0.424"
current_zero: "0.020"