Skip to content

Instantly share code, notes, and snippets.

@2ndsky
2ndsky / luxtronic2.py
Created April 23, 2013 13:01
First shot of a smarthome.py plugin for controlling luxtronic 2 heating units.
#!/usr/bin/env python
# vim: set encoding=utf-8 tabstop=4 softtabstop=4 shiftwidth=4 expandtab
#########################################################################
# Copyright 2012-2013 KNX-User-Forum e.V. http://knx-user-forum.de/
#########################################################################
# This file is part of SmartHome.py. http://smarthome.sourceforge.net/
#
# SmartHome.py is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
@2ndsky
2ndsky / solarlog.py
Last active December 14, 2015 13:19
import os
import re
import sys
import logging
import datetime
logger = logging.getLogger('')
class SolarLog():
import time
import socket
import base64
src = '192.168.1.2' # ip of remote
mac = '00-AB-11-11-11-11' # mac of remote
remote = 'python remote' # remote name
dst = '192.168.1.3' # ip of tv
app = 'python' # iphone..iapp.samsung