Skip to content

Instantly share code, notes, and snippets.

View Misiu's full-sized avatar

Tomasz Misiu

  • 17:54 (UTC +02:00)
View GitHub Profile
@krissen
krissen / 1-Description.md
Last active November 16, 2023 18:48
Weather on a 1.54" epaper tag through Home assistant and OpenEPaperLink

I've long been searching for a simple display to show various things on HA. I wanted it to be cordless with wireless updates, small in size, and without extra sensors since the values to be displayed are already in HA. It's been hard to find something that matches all that, at a reasonable price.

I just stumbled upon a Reddit thread (since removed), where someone recommended OpenEPaperLink and this seller on Tindie. An access point for $35. Five screens (2.9" or 1.54") for $25; a 4.2" for $20. (It seems many have been looking for the same thing. The seller quickly ran out of stock, but more is on the way; more info at the link above.)

There's a HA integration via HACS.

You'll find my example of an automation that updates humidity and temperature here.

It was easy to get

@sbyx
sbyx / zha_symfonisk_remote_lights.yaml
Last active January 10, 2023 11:10 — forked from seamus65/zha_symfonisk_remote_lights.yaml
Home Assistant Blueprint: ZHA - Symfonisk Sound Controller as dimmer
blueprint:
name: ZHA - IKEA Symfonisk sound controller for lights
description:
"Control lights with an IKEA Symfonisk sound controller (the spinny
ones).
You can set functions for single press, double press and triple press. This allows
you to assign, e.g., a scene or anything else.
Rotating left/right will change the brightness smoothly of the selected light."
@0xced
0xced / ForEachAsync.cs
Created May 26, 2018 17:57
Parallel foreach async enumeration with maximum degree of parallelism
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Parallel
{
public static class EnumerableExtensions
{
@DanielSWolf
DanielSWolf / Program.cs
Last active June 13, 2024 17:26
Console progress bar. Code is under the MIT License: http://opensource.org/licenses/MIT
using System;
using System.Threading;
static class Program {
static void Main() {
Console.Write("Performing some task... ");
using (var progress = new ProgressBar()) {
for (int i = 0; i <= 100; i++) {
progress.Report((double) i / 100);