Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sisamiwe
sisamiwe / soco_play_all1.py
Created October 20, 2023 12:37
soco_play_all
import soco
zones = soco.discover()
# store current topology
named_zones = {zone.player_name: zone for zone in zones}
_topology = {}
alert_uri = "https://ia800503.us.archive.org/8/items/futuresoundfx-98/futuresoundfx-96.mp3"
print('>> GROUPING: Group Büronos to Esszimmer')
@sisamiwe
sisamiwe / __schnell_mal.py
Last active December 2, 2022 09:54
NSPanel Logic for shNG
#!/usr/bin/env python3
# __schnell_mal.py
import time
import yaml
from lib.item import Items
items = Items.get_instance()
# Define Tasmota Topic
tasmota_topic = "NSPanel1"