Skip to content

Instantly share code, notes, and snippets.

View gerard33's full-sized avatar

Gerard gerard33

  • The Netherlands
View GitHub Profile
@gerard33
gerard33 / gist:8bef158b338fdb0cb1c67f680077f3a7
Created January 19, 2022 19:43
LXC USB Passthrough (Proxmox)
1. Plug USB device
root@proxmox01:~# lsusb
[...]
Bus 004 Device 005: ID 0658:0200 Sigma Designs, Inc.
[...]
2. Take a look of device
root@proxmox01:~# ls -l /dev/bus/usb/004/005
crw-rw-r-- 1 root root 189, 388 Oct 25 16:19 /dev/bus/usb/004/005
@gerard33
gerard33 / climate.py
Last active July 16, 2019 21:30
ICY E-Thermostaat for HA 0.96
"""
Adds support for the Essent Icy E-Thermostaat units.
For more details about this platform, please refer to the documentation at
https://github.com/custom-components/climate.e_thermostaat
"""
import logging
import requests
import voluptuous as vol
from homeassistant.components.climate import ClimateDevice, PLATFORM_SCHEMA
@gerard33
gerard33 / media_player.py
Created June 10, 2019 12:40
Sony Bravia PSK for Homekit
"""
Support for interface with a Sony Bravia TV.
For more details about this platform, please refer to the documentation at
https://github.com/custom-components/media_player.braviatv_psk
"""
import logging
import voluptuous as vol
from homeassistant.components.media_player import (