This script is made for a 12 panels nanoleaf. It has been tested with a canvas model.
The hour is shown with a static color, each panel represents an hour (1 to 12). The minute is shown with a blinking color, each panel represents 5 minutes. The other panels are synchronized with a hue light (for example a lightstrip), with a random variation of color for each panel. If the hue light is off, the color is choosed randomly.
1- Install the hue-python-rgb-converter library.
sudo python3 setup.py install
2- Configure the config.py file
3- launch the clock.py script