Skip to content

Instantly share code, notes, and snippets.

View ThomasLohner's full-sized avatar

Thomas Lohner ThomasLohner

View GitHub Profile
@ThomasLohner
ThomasLohner / aqara_w500.py
Created January 3, 2026 01:04
zha quirk for Aqara W500 lumi.airrtc.aeu001 with preset temperature support
"""Quirk for Aqara W500 lumi.airrtc.aeu001 with preset temperature support."""
from zigpy import types
from zigpy.quirks import CustomCluster
from zigpy.quirks.v2 import (
NumberDeviceClass,
QuirkBuilder,
SensorDeviceClass,
SensorStateClass,
)
@ThomasLohner
ThomasLohner / apache2.conf
Created April 4, 2016 18:52
Supervisor Apache
[program:apache2]
command=/bin/bash -c "source /etc/apache2/envvars && source /etc/default/apache2 && exec /usr/sbin/apache2 -DFOREGROUND"
auto_start=true
autorestart=true