Beispiel #1
0
except:
	pass
import reloader
import datetime
import re

#def _log(type, text): # 'virtual' function, will be modified to call 
#	pass

def log(*args):
	domoticz_.log(0, " ".join([str(k) for k in args]))

def error(*args):
	domoticz_.log(1, " ".join([str(k) for k in args]))
	
reloader.auto_reload(__name__)

# this will be filled in by the c++ part
devices = {}
device = None


def do():
	print "lalalal"

testing = False
commands = []

event_sytem = None # will be filled in by domoticz
def command(name, action, file):
	if testing:
Beispiel #2
0
except:
	pass
import reloader
import datetime
import re

#def _log(type, text): # 'virtual' function, will be modified to call 
#	pass

def log(*args):
	domoticz_.log(0, " ".join([str(k) for k in args]))

def error(*args):
	domoticz_.log(1, " ".join([str(k) for k in args]))
	
reloader.auto_reload(__name__)

# this will be filled in by the c++ part
devices = {}
device = None


def do():
	print "lalalal"

testing = False
commands = []

event_sytem = None # will be filled in by domoticz
def command(name, action, file):
	if testing:
Beispiel #3
0
 def auto_reload():
     reloader.auto_reload(__name__)
     return