Skip to content

Instantly share code, notes, and snippets.

View gersilex's full-sized avatar

Leroy Förster gersilex

  • Hamburg, Germany
View GitHub Profile
@tomhicks
tomhicks / sweep-swoop.js
Last active December 10, 2021 10:02
Listen to your web pages
const audioCtx = new window.AudioContext();
const oscillator = audioCtx.createOscillator();
oscillator.connect(audioCtx.destination);
oscillator.type = "sine";
let numItems = 0
oscillator.frequency.setValueAtTime(
1,
audioCtx.currentTime
@DelusionalAI
DelusionalAI / gist:c3bfa05b5268a96f8a0c527ceace5f1b
Last active November 10, 2023 10:27
ESPHome Fallback config example.
output:
- platform: gpio
pin: GPIO4
id: shelly_25_relay_1
- platform: gpio
pin: GPIO15
id: shelly_25_relay_2
fan:
- platform: binary