Skip to content

Instantly share code, notes, and snippets.

View christhehoff's full-sized avatar

FrontBottom christhehoff

View GitHub Profile
@christhehoff
christhehoff / holman_wx2_taptimer.yaml
Last active September 24, 2023 23:52
"Tuya Local" device file for Holman WX2
name: Holman WX2 Tap Timer
products:
- id: wfchjk5vc9bysjtk
model: WX2
manufacturer: Holman
primary_entity:
entity: switch
name: Z1 Manual
icon: "mdi:watering-can"
dps:
@christhehoff
christhehoff / esphome_power_meter.yaml
Created July 11, 2020 05:44
ESPHome based power meter for EM5100 "smart" meters
esphome:
name: esphome_power_meter
platform: ESP8266
board: nodemcuv2
wifi:
ssid: SSID
password: PASSWORD
# Enable fallback hotspot (captive portal) in case wifi connection fails
@christhehoff
christhehoff / MyTouchStatus.py
Last active December 13, 2021 23:16
Python script to query Rinnai Touch status and return info in JSON format
import socket
import time
import argparse
import json
tryMQQT = False
debugOn = False
if tryMQQT:
import os
import socket
import time
import argparse
import json
#import enum
# Define some fixed types strings
# Rather than loading enum libraru
class Mode: