so i got an emontx set to count my water usage...
i got total use, use between readings, flowrate...
now i wanted to have a graph that show the daily use... but kwhd etc did not quite fit and the date was off by one day toowhat is the correct way to do it?
Re: Daily use of water??
What kind of sensor you use? Do you have photos of the system working?
Re: Daily use of water??
the meter has an read switch and magnet built in and a cable with 2 wires... for every 1 liter there is 2 pulses
the cable is connected to emontx pulse input with the optional pulldown mounted
no pic thou
Re: Daily use of water??
a similar problem is causing me some headache..
the problem is not how to get the pulses from my meter, but how to get emoncms on my local server to display what I want to see:
the usage of water over the day, showering, the washing machine, the dishwasher, etc ,etc in liters
how to setup the input processes, that is where a little help would be more than useful
there are enough examples around showing what I want to see, but no explanation how to get there.
to answer the question for pictures:
here is my setup for the watermeter,
idea from
(http://www.fingers-welt.de/gallerie/eigen/elektro/energie/energie.htm)
nearly in the middle of the story (it is all in german!)
the red dot is for aligning the sensor to the very small pointer at the 1 liter dial, every liter gives 1 pulse
the sensor is a SUNX EX26-A (http://www.clrwtr.com/PDF/SUNX/Sunx-EX-20-Photoelectric-Sensors.pdf)
regards
khs
Re: Daily use of water??
I would also like to know the best way to log the daily water usage.
I also have a pulse sensor (30 pulses per L) which uses a hall effect sensor and opamp to count the rotations of the water meters using its internal magnets (similar to this http://www.instructables.com/id/Monitoring-residential-water-usage-by-re...) I feed the output into the interrupt pin on the Atmega328 to count the pulses. I send L/h (log to feed) and number of L since last transmit (accumulator).
I had a couple of thoughts for achieving this.
1. ) also count daily use in the sensor node and reset each day and simply do a log to feed. This would need a notification of a new day at the node. It would have the benefit of enabling loss of communications through the day and not miss total count.
2. ) Modify the process_model.php file to create an additional process option for my needs
Any thoughts on the best option? I am not keen on shaving a yak.
Re: Daily use of water??
sorry for beeing so much away..... will boomark and read later on
openenergy might give more "native" support for water... only problem is that they dont have water meters... i have tweeted them that i'm willing to test sketches and let them have direct access to my raspi
Re: Daily use of water??
btw... is there any bounce on the led read method?
my sensor is the one from the meter company.... its a read switch.... gives a lot of bounce.... would like to get a read method that does not reqire any debounce.. if thats possible
Re: Daily use of water??
on 1.)
the very potential problem is loss of data if power goes out... better do math and processing on the server side
Re: Daily use of water??
I agree about power loss possibly causing data loss. How is doing the processing on the server side a solution to this?