TwiceAsNice
2019-02-18
|
Functions | |
def | recv_indi_old () |
def | recv_indi () |
Variables | |
fi = open(CHARTPATH+"meteoconfig.js","w") | |
MAIN #############. More... | |
INDIPORT = int(INDIPORT) | |
indi = indiclient(INDISERVER,INDIPORT) | |
vector = indi.get_vector(INDIDEVICE,"CONNECTION") | |
now = time.localtime() | |
dictionary | json_dict = {"TIME":time.strftime("%c",now)} |
def | data = recv_indi() |
string | updateString = "N" |
ret = rrdtool.update('meteo.rrd',updateString); | |
x = simplejson.dumps(json_dict) | |
collected = gc.collect() | |
def meteoRRD_updater.recv_indi | ( | ) |
def meteoRRD_updater.recv_indi_old | ( | ) |
meteoRRD_updater.collected = gc.collect() |
def meteoRRD_updater.data = recv_indi() |
MAIN #############.
Write configuration javascript
meteoRRD_updater.indi = indiclient(INDISERVER,INDIPORT) |
meteoRRD_updater.INDIPORT = int(INDIPORT) |
dictionary meteoRRD_updater.json_dict = {"TIME":time.strftime("%c",now)} |
meteoRRD_updater.now = time.localtime() |
meteoRRD_updater.ret = rrdtool.update('meteo.rrd',updateString); |
string meteoRRD_updater.updateString = "N" |
meteoRRD_updater.vector = indi.get_vector(INDIDEVICE,"CONNECTION") |
meteoRRD_updater.x = simplejson.dumps(json_dict) |