www.homeseer.com

Go Back   HomeSeer Message Board > 3rd Party Plug-Ins/Scripts > MCS Plug-Ins and Scripts > xAP > xAP Discussions

xAP Discussions Discussion area for the xAP plug-in and the plug-in nodes posted in the xAP Library.

Reply
 
Thread Tools Display Modes
  #1  
Old November 18th, 2009, 06:03 AM
eole's Avatar
eole eole is online now
Seer
 
Join Date: Sep 2006
Location: France
Posts: 41
Default How to calibrate a counter ?

Hello,

I began to test a water meter with pulse transmitter and GP1 module to monitor my water consumption using my 1wire network.

I manage now to get back the daily consumption in liter (I had difficulty in understanding where to put the conversion gallon / liter but 0,2642 seems to be the good value)

I also manage to get the hourly average consumption and a counter. The counter shown in IO 1wire is near 610 liter at the moment and the counter which I get back in xap1wire is 2578108181,2 liter. It is not a big problem because it increments correctly.

But my problem is that the counter is 2578108181,2 liter and that I do not manage to find how to reset this value.

If I understand, the GP1 can not be reinitialized but I would like to find a place "to calibrate" by adding for example -2578108181,2 to have zero at the beginning of my statements.

In mscXap, the device is informed in string but nothing in value. In string, there is an icon, the figure and ‘liter' (for example)
HTML Code:
[IMG]http://board.homeseer.com/images/sensors/Water.gif[/IMG]valign='middle' aling='left'>2578108178,8 liter 
Is there a way :
either to reset the GP1 meter,
or to calibrate the value in mscXap, or Xap1wire,
or to get back the value in this html string and store it in the same device or in the other one?

I hope my English is clear enough.

Thanks in advance for your help
__________________
ASUS EeeBox / 1G RAM
HS 2.3.0.84 Pro
RFXCom, USB-UIRT, USBModem, Oregon Scientific Sensors, X10 devices
BLBackup, BLGarbage, BLIcon, RFXCOM, Teleinfo, CallerID, PHNetwork, mcsXap, NetCAM, RFXCharts, HSTouch
Reply With Quote
  #2  
Old November 18th, 2009, 11:50 AM
mfisher's Avatar
mfisher mfisher is offline
Seer Master
 
Join Date: Jan 2001
Location: Moorpark, CA, USA
Posts: 810
Default

eole,

To reset the counter, you will need to edit the file 'mcsXap1Wire.ini'. Please refer to this thread: http://board.homeseer.com/showthread.php?t=138535 starting with post 7 for details on making the edits.
__________________
Best regards,
-Mark-

If you're not out on the edge, you're taking up too much room!
Interested in maps? Check out my company site: Solid Terrain Modeling
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:49 AM.


Copyright 1998-2008 HomeSeer Technologies, LLC