Skip to content

Instantly share code, notes, and snippets.

@BenPru
BenPru / Lux_WS.py
Last active August 1, 2023 14:50
Python Test Module for connecting luxtronik websocket
#!/usr/bin/env python
import threading
import time
import websocket
import xmltodict
ws_url = "ws://wp-novelan:8214"
subprotocols=["Lux_WS"]
login = "LOGIN;999999"
@Bouni
Bouni / dump-luxtronik.py
Created October 26, 2021 05:21
Dump all readings from a Luxtronik heatpump
from luxtronik import Luxtronik
l = Luxtronik('192.168.88.11', 8889)
print("="*80)
print ('{:^80}'.format(' Parameters '))
print("="*80)
for n, p in l.parameters.parameters.items():
print(f"Number: {n:<5} Name: {p.name:<60} Type: {p.__class__.__name__:<20} Value: {p.value}")
@hkamran80
hkamran80 / SmartTV2.txt
Last active June 14, 2024 21:34
Pi-hole Blocklist for Smart TVs
# THIS FILE IS NO LONGER BEING MAINTAINED. FOR A MAINTAINED VERSION, PLEASE USE THE VERSION IN THE NEW REPOSITORY.
# Repository: https://github.com/hkamran80/blocklists
# New link for this file: https://raw.githubusercontent.com/hkamran80/blocklists/main/smart-tv
# ------
# This is a blocklist to block Smart TVs sending data home.
# Please help to collect domains!
# It could be that the TV does not receive any more updates or other services no longer work. Please report such an incident.