This applet is used to log CurrentCost sensor data and generate events for their minute totals. Latter again can be configured to to posted on Pachube.
Using CurrentCost digital development boards and some TTL logic++ it is possible to count pulses from gas and water meters.
Enjoy,
Aivo
CcSensorsApplet.lua
require("xap")
module (...,package.seeall)
info = {version="1.0", description="Log CurrentCost sensor data & xAP send their 1min sums"}