Skip to content

Instantly share code, notes, and snippets.

@labmonkey
labmonkey / Readme.md
Last active March 27, 2026 19:09
Philips Hue Lights - Scenes and Color Palettes

Philips Hue Lights - Scenes and Color Palettes

The following is a dump of all the Scenes and colors used by default Scenes in Philips Hue mobile app. I had 10 lights so each of the scenes is showing values for each of them. Normally a Scene has up to 6 color variants but I've decided to just list them all as it is. If you need unique values then it is easy to convert it.

It is useful if you want to use the scenes in your application with lights that are not Philips hue or if you don't have the Gateway to setup scenes and read the data etc.

I have included an .csv file which can be easily converted to anything and scenes.yaml file that can be imported as part of Home Assistant yaml configuration.

All of the lights have dummy names such as light.hue_1 up to light.hue_10 making it easier to replace the names with your own lights when importing to any other application.

@hekmon
hekmon / README.md
Last active July 21, 2025 16:01
EDF Time based Tempo prices

Simply include the file within your configuration.yaml file like this:

# ...
template: !include templates.yaml
# ...

You will need prices input number from this gist and the RTE Tempo extension.

@hekmon
hekmon / README.md
Last active February 2, 2026 15:53
EDF Tarif Bleu prices within Home Assistant

Simply include the file within your configuration.yaml file like this:

# ...
input_number: !include input_numbers.yaml
# ...

Restart your Home Assistant to update the values (reloading YAML will not be enough).

@pierremarc
pierremarc / test_cc.py
Created September 19, 2012 15:21
Add files to a repo with pygit2
"""
test commit creation with pygit2
To see the result:
rm -rf foo && python test_cc.py && cd foo/ && git log --graph --oneline --date-order --decorate --color --all && git status && cd ..
"""
import os
import sys
import pygit2