Skip to content

Instantly share code, notes, and snippets.

@hectorzin
hectorzin / Dockerfile
Last active June 19, 2026 08:52
CrowPanel Advanced 10 1inch ESP32 P4 HMI AI Display ESPHome Examples
FROM mcr.microsoft.com/playwright:v1.60.0-jammy
WORKDIR /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
git \
jq \
socat \
ca-certificates \
@hectorzin
hectorzin / script.yaml
Created October 31, 2025 10:06
HALLOWEEN
alias: 🎃 Halloween Jardín Show
mode: restart
max_exceeded: silent
sequence:
- target:
entity_id: light.luces_jardin
data:
rgb_color:
- 255
- 69
@hectorzin
hectorzin / configuration.yaml
Last active November 4, 2025 16:04
Create lights over IR devices
input_boolean:
luz_lagrima_state:
name: Estado Luz IR
initial: false
input_number:
luz_lagrima_level:
name: Luz lágrima – brillo
min: 1
max: 10
@hectorzin
hectorzin / v1
Last active August 26, 2025 06:56
Panel calidad del aire
type: vertical-stack
cards:
- type: custom:button-card
name: Calidad del aire exterior
entity: sensor.o_1pst_temperatura
double_tap_action:
action: more-info
entity: sensor.o_1pst_humedad
show_state: true
show_icon: false
@hectorzin
hectorzin / Automation
Created July 10, 2025 21:03
Tracking Aliexpress
alias: Añadir tracking Aliexpress por telegram
description: ""
triggers:
- event_type: telegram_command
event_data:
command: /aliexpress
trigger: event
id: Nuevo tracking
- trigger: event
event_type: aliexpress_package_data_updated
@hectorzin
hectorzin / Air Quality PM2.5 Alert
Last active July 21, 2025 12:51
Home Assistant automations to create Ulanzi Awtrix Apps
alias: Aviso calidad aire exterior PM2.5 Awtrix
description: Muestra calidad del aire exterior PM2.5 en Awtrix
triggers:
- entity_id: sensor.ws2900_v2_02_03_pm2_5_1
trigger: state
- minutes: /15
trigger: time_pattern
conditions: []
actions:
- variables:
@hectorzin
hectorzin / Cocina
Created February 6, 2025 02:49
Tarjetas de Habitación
type: custom:room-card
entity: light.luz_cocina
title: Cocina
tap_action:
action: toggle
double_tap_action:
action: more-info
icon: phu:kitchen-alt
show_icon: true
templates:
@hectorzin
hectorzin / coupons.yaml
Last active June 14, 2026 06:41
Coupons
amazon:
- code: https://amzn.to/3QAbJYX
description: "OFERTAS FLASH!"
aliexpress:
- code: IFPTUJNB
description: |
🇺🇸 *$2* OFF for orders over $15
🇪🇸 *2$* de descuento en pedidos superiores a 15$
- code: IFPYAOYX
@hectorzin
hectorzin / creator_affiliate.yaml
Last active June 14, 2026 06:40
Creator configuration file for botaffiumeiro
configuration:
amazon:
amazon.es: botaffiumeiro_cofee-21
amazon.com: hectorzindomo-20
amazon.com.au: hectorzindomo-22
amazon.co.uk: hectorzindomo-21
amazon.fr: hectorzindo0d-21
amazon.it: hectorzindo04-21
amazon.de: hectorzindo0e-21
@hectorzin
hectorzin / termostato.yaml
Last active September 14, 2024 10:41
Termostato para infrarrojos
#####################################
# AIRE ACONDICIONADO MODO FRÍO #
#####################################
climate:
- platform: generic_thermostat
name: "Aire acondicionado salón"
unique_id: "termostato_aire_acondicionado"
heater: switch.aire_abajo
target_sensor: sensor.termostato_calefaccion
min_temp: 22