Poorly formatted data throws an Error
OWL Energy monitor data logging/display tool
Brought to you by:
pausten
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
self.run()
File "cm160Server.py", line 766, in run
self.store(cm160Data)
File "cm160Server.py", line 774, in store
self.__dataStore.store(cm160Data)
File "cm160Server.py", line 1070, in store
[cm160Data.getDatetime(),
File "cm160Server.py", line 314, in getDatetime
self.__day, self.__hour, self.__min, self.__sec)
ValueError: month must be in 1..12
Looks like the data from the CM160 device is not what is expected.
If you can reproduce this problem could you post the cm160server.log when running the following (enables debug)
cm160server -d > /tmp/cm160server.log
Regards
Paul