Skip to content

Instantly share code, notes, and snippets.

@jceloria
jceloria / ttn-lw-stack.yml
Created July 2, 2020 18:47
The Things Stack deployment configuration
# Identity Server configuration
is:
# Email configuration
email:
sender-name: 'The Things Stack'
sender-address: 'noreply@lora.<redacted>'
network:
name: 'The Things Stack'
console-url: 'https://lora.<redacted>/console'
identity-server-url: 'https://lora.<redacted>/oauth'
@jceloria
jceloria / docker-compose.yaml
Created July 2, 2020 18:33
The Things Stack docker-compose configuration
#
# Ansible managed
#
version: "3.7"
secrets:
ca.pem:
file: /root/.acme.sh/<redacted>/ca.cer
cert.pem:
@jceloria
jceloria / docker-compose.yaml
Created July 2, 2020 17:32
The Things Stack docker-compose configuration
#
# Ansible managed
#
version: "3.7"
secrets:
ca.pem:
file: /root/.acme.sh/<redacted>.org/ca.cer
cert.pem:
@jceloria
jceloria / ttn-lw-stack.yml
Created July 2, 2020 17:30
The Things Stack deployment configuration
#
# Ansible managed
#
version: "3.7"
secrets:
ca.pem:
file: /root/.acme.sh/<redacted>.org/ca.cer
cert.pem:
@jceloria
jceloria / sun2.yaml
Last active June 23, 2020 14:35
HA sun2 package
---
# #################################################################################################################### #
# #################################################################################################################### #
sensor:
# ------------------------------------------------------------------------------------------------------------------ #
- platform: sun2
entity_namespace: sun2
monitored_conditions:
@jceloria
jceloria / wd
Last active July 6, 2021 13:10
write down time stamped notes from the command line
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# -------------------------------------------------------------------------------------------------------------------- #
"""
Write Down, take quick notes from the command line
The MIT License (MIT)
Copyright © 2019 by John Celoria.
@jceloria
jceloria / calendar.yaml
Created March 27, 2019 13:43
HA calendar package
---
# ############################################################################ #
# ############################################################################ #
calendar:
# -------------------------------------------------------------------------- #
- platform: caldav
url: !secret ha_caldav_url
username: !secret ha_caldav_user
#
# Ansible managed
#
version: "2"
services:
nzbget:
environment:
- PUID=110000
@jceloria
jceloria / alarm_clock.yaml
Created February 25, 2019 17:52
alarm clock package in HA
---
# ############################################################################ #
# ### ALARM CLOCK PACKAGE #################################################### #
group:
# -------------------------------------------------------------------------- #
alarm_clock:
name: Alarm Clock
entities:
@jceloria
jceloria / docker-nginx-rtmp.sh
Created October 3, 2018 21:36
setup nginx-rtmp in docker/systemd
#!/usr/bin/env bash
SELF=${0##*/} SDIR=${0%/*}
########################################################################################################################
: '
The MIT License (MIT)
Copyright © 2018 by John Celoria.
Permission is hereby granted, free of charge, to any person obtaining a copy