Skip to content

Instantly share code, notes, and snippets.

View mkosmo's full-sized avatar

Matthew Kosmoski mkosmo

View GitHub Profile
@mkosmo
mkosmo / closet-light-from-door-sensor.yaml
Last active January 26, 2023 22:22
Home Assistant - Automate closet light with door
blueprint:
name: Closet Light from Door Sensor
description: >
Automatically actitvate a light with a door sensor attached to the door,
activating a smart switch or light. The light will turn off at the end of
a timer, or when you close the door. Logic is also implemented to turn
off the light in the event it's manually turned on while the door is open
or after the automation has already run.
domain: automation
input:
@mkosmo
mkosmo / bambu_mqtt.json
Last active August 1, 2023 01:49
Node-RED Flow - BambuLab X1 MQTT Relay for Home Assistant MQTT Auto-Discovery
[
{
"disabled": false,
"env": [
],
"id": "fbda6ab16491b918",
"info": "",
"label": "BambuLab MQTT",
"type": "tab"
},
@mkosmo
mkosmo / docker-compose.yml
Last active June 9, 2022 21:42
Satisfactory Docker Compose
version: '3.3'
services:
satisfactory-server:
restart: always
container_name: satisfactory-server
volumes:
- 'data:/steamcmd/satisfactory'
- 'saves:/app/.config'
ports:
- '7777:7777/udp'
@mkosmo
mkosmo / DCS_Monitor.ahk
Created August 11, 2021 17:36
DCS Monitoring
#SingleInstance Force
#Persistent
#NoEnv
#Warn
SetWorkingDir %A_ScriptDir%
EnvGet, vUserProfile, USERPROFILE
FileAppend, %vUserProfile%\DCS_Monitor.log
SetTimer, dcsChecker, 10000
@mkosmo
mkosmo / api.diff
Created September 5, 2019 21:15
World Time API OpenAPI Spec Patch
292c292
< type: bool
---
> type: boolean
315c315
< descripiton: >-
---
> description: >-

Keybase proof

I hereby claim:

  • I am mkosmo on github.
  • I am mkosmo (https://keybase.io/mkosmo) on keybase.
  • I have a public key ASBrHwSv3aRQ6YKanmzViRjtHv4gAxX0aV46nsJlSqyElwo

To claim this, I am signing this object: