Installation Docs:
# Download
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
blueprint: | |
name: ZHA - Moes Smart Knob for lights with color change v2 | |
description: 'Control lights with a Moes Smart Knob. | |
You can set functions for a single press. This allows you to assign, | |
e.g., a scene or anything else. | |
Rotating left/right will change the brightness smoothly of the selected light. | |
Press and rotate to smoothly step through the color temperature | |
Long press allows you to bind anything you want. For example, set scenes in home assistant to quickly change to a desired light temperatur and brightness. | |
Not all functionality of the device is available at time of writing, e.g. double press' |
blueprint: | |
name: Z2M - Inovelli 2-in-1 switch + dimmer Scene Controls | |
description: | | |
For Inovelli Blue Series 2-in-1 switch + dimmer, model VZM31-SN | |
Allows setting a few different actions such as 2,3,4,5 clicking the up/down and config buttons. | |
domain: automation | |
input: | |
switch: | |
name: Switch |
from dcim.models import * | |
from extras.scripts import ObjectVar, Script | |
class OSPPatchFrontPorts(Script): | |
name = "Outside Plant - Patch Front Ports" | |
description = "Patch all front ports through" | |
site = ObjectVar( |
# Download
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
blueprint: | |
name: ZHA - Moes Smart Knob for lights | |
description: 'Control lights with a Moes Smart Knob. | |
You can set functions for a single press. This allows you to assign, | |
e.g., a scene or anything else. | |
Rotating left/right will change the brightness smoothly of the selected light. | |
Not all functionality of the device is available at time of writing, e.g. double press, long press and press and rotate.' |
import time | |
from functools import partialmethod | |
from http.server import BaseHTTPRequestHandler, HTTPServer | |
import utils | |
class Request: | |
def __init__(self, method, path, headers, stream): | |
self.path = path | |
self.method = method.upper() |
# For recent versions of Ubuntu: | |
- https://www.pugetsystems.com/labs/hpc/ubuntu-22-04-server-autoinstall-iso/ | |
# Docs: | |
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls | |
- https://wiki.ubuntu.com/FoundationsTeam/AutomatedServerInstalls/ConfigReference | |
- https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html | |
- https://discourse.ubuntu.com/t/please-test-autoinstalls-for-20-04/15250/53 | |
# Download ISO Installer: |
#!/usr/bin/env python | |
# -*- coding: utf-8 -* | |
import pytest | |
import typing as typ | |
import pymongo as pm | |
import mongoengine as me | |
import shapely.geometry as geo |