Skip to content

Instantly share code, notes, and snippets.

View mark-wilson's full-sized avatar

Mark Wilson mark-wilson

View GitHub Profile
@mark-wilson
mark-wilson / Ethernet_Pushbutton_Red_Amber_Green_LED.ino
Created July 31, 2012 20:50
The file that is currently on an Arduino Uno with a serial number of 74132343530351609150
/*
Red/green LED indicator with pushbutton control
Based on http://www.makeuseof.com/tag/arduino-traffic-light-controller/
USE_GITHUB_USERNAME=mark-wilson
*/
// Setup Ethernet Shield
#include <SPI.h>
@mark-wilson
mark-wilson / readme.txt
Created January 11, 2016 13:14
Verifying that +markwilson is my blockchain ID. https://onename.com/markwilson
Verifying that +markwilson is my blockchain ID. https://onename.com/markwilson
@mark-wilson
mark-wilson / hue-dimmer-rwl021-fixed.yaml
Created November 3, 2026 18:35
Home Assistant ZHA blueprint for Philips Hue RWL020/RWL021 dimmers. Corrects Off and brightness event handling and removes light transitions. Tested with RWL021.
# Philips Hue Dimmer Switch (RWL020/RWL021) - ZHA blueprint
#
# Based on the Home Assistant community blueprint:
# https://community.home-assistant.io/t/zha-philips-hue-dimmer-switch-rwl020-rwl021/255048
#
# Modifications:
# - Handle the Off button using the off_with_effect command.
# - Read brightness direction and step size from structured ZHA event parameters.
# - Remove one-second light transitions for faster response.
@mark-wilson
mark-wilson / LICENSE
Last active November 9, 2026 16:45
Škoda Enyaq EV charging dashboard for Home Assistant
MIT License
Copyright (c) 2026 Mark Wilson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions: