Changes between Version 7 and Version 8 of WaterMeterPulseSensor
- Timestamp:
- 2014-01-05 18:11:08 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WaterMeterPulseSensor
v7 v8 7 7 You can download the Arduino sketch [[http://code.mios.com/git_public/mios/arduino-sensor.git/tree/HEAD:/VeraArduino/Arduino/libraries/Vera/examples/WaterMeterPulseSensor?js=1|here]].\\ 8 8 9 This sensor counts pulses from a house water meter and converts it into liters or gallons/m. There are a few parameters that needs to be tuned before everything works. On your meter it is usually specified how many pulses/kwh. Set '''PULSE_FACTOR''' to this value. You can also set '''SEND_FREQUENCY''' (how often you want the sensor to report values). Default is each 20 seconds.9 This sensor counts pulses from a house water meter and converts it into liters or gallons/m. There are a few parameters that needs to be tuned before everything works. Set '''PULSE_FACTOR''' to how many turns the meter has to go for each m3 water (or similar thing in gallons). You can also set '''SEND_FREQUENCY''' (how often you want the sensor to report values). Default is each 20 seconds. 10 10 11 11 If you want the vera device to show your current meeter value. First '''turn off your sensor'''. Update '''Variable1''' value under the vera device advanced tab. Set it to your meters current water meter value * your PULSE_FACTOR.\\ … … 22 22 '''SLEEP_MODE = true''' 23 23 24 Use this if you run the sensor on battery. In this mode the sensor will report KWH but cannot report any Watt-value. This is because when sensor sleeps it will lose track of time and therefore it is impossible to calculate a correct Watt-value.\\24 Use this if you run the sensor on battery. In this mode the sensor will report volume but cannot report any flow-value. This is because when sensor sleeps it will lose track of time and therefore it is impossible to calculate a correct flow-value.\\ 25 25 \\ 26 26 '''SLEEP_MODE = false'''