Commit d12d5ab0 authored by Nico Schottelius's avatar Nico Schottelius

Cleanup and new adeunis

parent 21efc5d6
......@@ -26,7 +26,7 @@ import sys
log = logging.getLogger("adeunis")
log.setLevel(logging.DEBUG)
known_devices = [ "0018B20000000C58", "0018B20000000C37", "0018B20000000C59", "0018B20000000CD0" ]
known_devices = [ "0018B20000000C58", "0018B20000000C37", "0018B20000000C59", "0018B20000000CD0", "0018B200000001C5" ]
def convert_gps_from_stdin():
for line in sys.stdin:
......
......@@ -87,7 +87,6 @@ def pg_wait_for_pkg(conns, callback):
callback(notify.channel, notify.payload)
class DB(object):
def __init__(self, query):
self.query = query
......
../Sodaq_RN2483.cpp
\ No newline at end of file
../Sodaq_RN2483.h
\ No newline at end of file
../StringLiterals.h
\ No newline at end of file
../Switchable_Device.cpp
\ No newline at end of file
../Switchable_Device.h
\ No newline at end of file
../Utils.h
\ No newline at end of file
......@@ -3,7 +3,7 @@
void gpsSetup() {
sodaq_gps.init(GPS_ENABLE);
}
}
/* FIXME: find out power consumption if turned off */
// void gpsStop() { sodaq_gps.off(); }
......
......@@ -25,3 +25,8 @@ void sendPacket(String packet);
/* sunlight.ino */
String getSunLight();
void setupSunLight();
/* gps.ino */
void gpsSetup();
String gpsGetPostion(long waittime);
String gpsGetDateTime(long waittime);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment