Skip to content

Instantly share code, notes, and snippets.

/**
* Sony TV Smartthings Integration, Currently testing on: KDL-55W829B
Working on KDL-55W829B,
*
*
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
version: '2.1'
services:
grafana:
container_name: grafana
image: proxx/grafana-armv7
user: "1000"
ports:
- 3000:3000
volumes:
- /opt/grafana:/etc/grafana:rw
# Redirect all http traffic to https
server {
listen 80;
return 301 https://$host$request_uri;
}
# Portainer Upstream
upstream portainer {
server YOUR.PI.IP.ADDRESS:9000;
keepalive 32;
#!/bin/bash
function usage () {
echo "$0 [username]"
exit 1
}
if [ $# -ne 1 ]
then
usage
#
# OpenSSL example configuration file.
# This is mostly being used for generation of certificate requests.
#
# This definition stops the following lines choking if HOME isn't
# defined.
HOME = .
RANDFILE = $ENV::HOME/.rnd
@x99percent
x99percent / gist:a991cd7bdacf20a7d5be9d7712d25320
Created December 3, 2018 22:03
Node-RED flow for OwnTracks presence detection and remote config
[
{
"id": "c98e7d43.2a73f",
"type": "subflow",
"name": "Startup Delay",
"info": "",
"category": "",
"in": [
{
"x": 60,