Open2300 - Skip Data Rubbish

Skip Data Rubbish

Prevent from adding nonsense data

Introduction

Sometimes the transmissions between the sensors and the display fails. Data is then completely unusable. Add this data to logfiles or database causes unnecessary rework.

Description of Patch

This patch for mysqlhistlog2300 and mysql2300 checks the humidity outdoor. If over 100% the record is skipped.

Installation of Patch

Replace existing files and recompile.

Change History of Patch

Discussion and Comments

I have finally taken time to pay attention to open2300.

I have included mysqlhistlog.c in the 1.11 sources. But I took the latest version from BugReport2006x04x17x075310.

-- KennethLavrsen - 19 Jul 2006


I Attachment Action Size Date Who Comment
mysql2300.cc mysql2300.c manage 5 K 22 Jan 2006 - 12:06 UnknownUser Added if-statement in line 88. Perhaps output on stderr is usefull.
mysqlhistlog2300.cc mysqlhistlog2300.c manage 7 K 22 Jan 2006 - 12:10 UnknownUser Will skip usuable data. Also implemented: Every record in the display is send to database not only the new one. Benefit: You can use mysqlhistlog2300 to catch up records lost during system downtime.
Topic revision: r3 - 19 Jul 2006, KennethLavrsen
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.