Closed GoogleCodeExporter closed 8 years ago
Ok. It seems that if you enable MySQL verbose output is disabled. However,
debug log is still not working.
Original comment by janne.ka...@gmail.com
on 4 Jun 2013 at 10:00
I have fixed the rain sensor regarding database export, as well as the verbose
printout if mysql/sqlite is active (updated in the trunk). The debug printouts
I still need to check.
Original comment by sebastia...@gmail.com
on 5 Jun 2013 at 3:09
Latest revision still had a problem (missing unixtime_utc) with the
insert_mysql in rain sensors. See the patch below.
Index: rfxcmd.py
===================================================================
--- rfxcmd.py (revision 539)
+++ rfxcmd.py (working copy)
@@ -2032,11 +2032,11 @@
# MYSQL
if config.mysql_active:
- insert_mysql(timestamp, packettype, subtype, seqnbr,
battery, signal, sensor_id, 0, 0, 0, 0, 0, 0, float(rainrate),
float(raintotal), 0, 0, 0, 0)
+ insert_mysql(timestamp, unixtime_utc, packettype,
subtype, seqnbr, battery, signal, sensor_id, 0, 0, 0, 0, 0, 0, float(rainrate),
float(raintotal), 0, 0, 0, 0)
# SQLITE
if config.sqlite_active:
- insert_sqlite(timestamp, packettype, subtype, seqnbr,
battery, signal, sensor_id, 0, 0, 0, 0, 0, 0, float(rainrate),
float(raintotal), 0, 0, 0, 0)
+ insert_sqlite(timestamp, unixtime_utc, packettype,
subtype, seqnbr, battery, signal, sensor_id, 0, 0, 0, 0, 0, 0, float(rainrate),
float(raintotal), 0, 0, 0, 0)
logger.debug("Decode packetType 0x" + str(packettype) + " - Done")
Original comment by janne.ka...@gmail.com
on 5 Jun 2013 at 7:54
Thanks, I forgot that one. I will fix it asap.
Original comment by sebastia...@gmail.com
on 6 Jun 2013 at 4:56
The verbose and debug output is now fixed, and updated to the SVN
Original comment by sebastia...@gmail.com
on 17 Jun 2013 at 4:52
Original issue reported on code.google.com by
janne.ka...@gmail.com
on 4 Jun 2013 at 9:53