Skip to content

Instantly share code, notes, and snippets.

import pyaudio
import numpy as np
import time
import queue
import threading
from collections import deque
import os
import signal
# Frequency range to check for peaks.

re: Luca Android App

Huhu, ich wollte mal den Aufschlag machen, was den Code der Luca-App für Android angeht. Seht es als "persönliche, nicht-kommerzielle Betrachtung", oder so.

Kurz zu mir: Ich bin kein IT-Security-Mensch und ich habe keine formale Vorbildung in Informatik. Aber ich habe schon mal die eine oder andere Java-Anwendung von innen gesehen und weiß ungefähr, was möglich ist und worauf man achten sollte. Wenn ich was vergessen haben sollte, haut mich gerne an, und ich ergänze es.

Der Übersicht halber, in mehreren Abschnitten:

@sbyx
sbyx / wake-up-light-alarm-with-sunrise-effect.yaml
Last active November 26, 2025 03:09
Home Assistant Blueprint: Wake-up light alarm with sunrise effect
blueprint:
name: Wake-up light alarm with sunrise effect
description: 'A wake-up light alarm with a brightness and color temperature sunrise
effect. Note: Requires date_time_iso sensor in configuration, not manually executable!'
domain: automation
input:
light_entity:
name: Wake-up light entity
description: The light to control. Turning it off during the sunrise will keep
it off. Color temperature range is auto-detected.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MOBA-Time</title>
<style>
* {
cursor: none !important;
pointer-events: none !important;