Skip to content

Instantly share code, notes, and snippets.

Avatar
🤓
Just coding.

Markus Ressel markusressel

🤓
Just coding.
View GitHub Profile
@markusressel
markusressel / esphome_hx711_smart_scale.yaml
Last active Mar 27, 2021
ESPHome sample configuration for an HX711 powered Smart Scale including Auto-Tare functionality.
View esphome_hx711_smart_scale.yaml
## Node configuration ##
esphome:
name: smart_scale
platform: ESP8266
board: nodemcuv2
globals:
- id: auto_tare_difference
type: float
@markusressel
markusressel / esphome_neopixel_clock_effect.yaml
Last active Apr 1, 2021
ESPHome configuration example to create an animated clock using the Neopixel 60 LED ring
View esphome_neopixel_clock_effect.yaml
esphome:
# [...]
on_boot:
priority: -10
then:
# enable clock effect after boot
- light.turn_on:
id: light_ring
brightness: 100%
effect: Clock
@markusressel
markusressel / network_traffic.py
Created Oct 23, 2018
This is a simple python script to measure network interface traffic in bytes per second.
View network_traffic.py
#!/usr/bin/env python3
import click
import psutil
import pickle
import datetime
import os.path