Skip to content

Instantly share code, notes, and snippets.

@michaelkamprath
michaelkamprath / frigate-ollama-docker-compose.yaml
Last active August 22, 2025 18:03
A docker compose file to launch an integrated Frigate / Ollama / Open WebUI service using an NVIDIA GPU for computation.
# This docker compose file will deploy an integrated Frigate / Ollama / Open WebUI deployment
# using an NVIDIA GPU for Frigate model inferencing the Ollama LLMs.
#
# Installation
#
# * Ensure your docker deployment is enabled to provide GPU services:
# - https://docs.docker.com/compose/how-tos/gpu-support/
#
# * Create a directory containing the following sub-directories:
# - frigate/config
@michaelkamprath
michaelkamprath / feit-electric-dimmer-openbk7231t-conversion.md
Last active October 9, 2025 02:41
FEIT Electric Smart WiFi Dimmer Conversion to OpenBK7231T

Converting FEIT Electric Smart Wifi Dimmer to OpenBK7231T

The following steps shuld be taken to convert the FEIT Electic Smart WiFi Dimmer switch to be cloud-free using the OpenBK7231T software.

WARNING - Modifying electrical equipment that operates at mains power can be dangerous, even deadly, if you you make a mistake. Seek professional help with this conversion if you have any doubts (or should have doubts) in your ability to do it.

Reflashing Switch with OpenBK7231T Software

Note that this process requires you to have a UART capable of operating at 3.3 volts, some wires to connect the UART to the switch's circuit board, and a computer the UART can conncet to that has Python 3 installed.

Disassemble the switch, removing the circuit board form the switch unit. Be sure not to lose any of the screws or the platstic PCB cover you had to remove. Then, attach 4 wires tyoe the RX1, TX1, 3V3, and GND points on the circuit board. Also, connected a jumper from the `NRST

<property>
<name>hadoop.tmp.dir</name>
<value>/data/hdfs/tmp</value>
<description>Where Hadoop will place all of its working files</description>
</property>
<property>
<name>fs.defaultFS</name>
<value>hdfs://master:9000</value>
<description>Where HDFS NameNode can be found on the network</description>
</property>