Skip to content

Instantly share code, notes, and snippets.

@Noschvie
Noschvie / post-133815
Last active September 6, 2024 05:53
"Circulating Hot Water Pump" Controller (https://forum.iobroker.net/post/133815)
//https://forum.iobroker.net/post/133815
//VL, outgoing temperature
const idTempVL = 'sonoff.0.HWR.DS18B20-2_Temperature';
const iddTVL = '0_userdata.0.WWZirkulationspumpe.dTVL';
const swOn = 0.7; // Grenzwert in K/min
var speedVL
var speedVLold = 0;
//RL, return temperature
@Noschvie
Noschvie / Test-max31865.ino
Last active January 14, 2022 06:27
Arduino Example: Adafruit P1000 RTD Sensor / MAX31865
/***************************************************
This is a library for the Adafruit PT100/P1000 RTD Sensor w/MAX31865
Designed specifically to work with the Adafruit RTD Sensor
----> https://www.adafruit.com/products/3328
This sensor uses SPI to communicate, 4 pins are required to
interface
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing
@Noschvie
Noschvie / docker-compose.yml
Last active October 11, 2022 08:50
Node-Red and Traefik : Configuration and Setup
version: '3.3'
services:
###############################################
#### Traefik Proxy Setup #####
###############################################
traefik:
image: traefik:latest
container_name: traefik
restart: always
@Noschvie
Noschvie / docker-compose.yml
Last active May 4, 2020 15:05 — forked from Mau5Machine/docker-compose.yml
Traefik Configuration and Setup
version: "3.3"
services:
################################################
#### Traefik Proxy Setup #####
###############################################
traefik:
image: traefik:v2.0
restart: always
@Noschvie
Noschvie / create_docker_compose_basic_auth_string_for_traefik.sh
Last active May 3, 2020 13:00 — forked from movd/create_docker_compose_basic_auth_string_for_traefik.sh
Generator to create basic authentication string for traefik (docker-compose.yml and .env)
#!/bin/bash
command -v docker >/dev/null 2>&1 || { echo >&2 "I require Docker but it's not installed. Aborting."; exit 1; }
echo "Basic auth for traefik >= v1.7"
read -p "User: " USER
read -p "Password: " PW
# Pull httpd:alpine image (small and includes httpasswd)
docker pull httpd:alpine >/dev/null 2>&1