Hello,
I am starting a project to monitor power at my house for my microprocessors class. I have the idea to capture and send datapoints for the current and voltage waveforms to display power factor visually. I have experience working with web applications so I think I could improve the cms code but I need some help.
Could I get some advice on where to look to add this functionality? I was thinking I could send in a bulk json or csv as an input with a group and add a custom feed to create a realtime waveform. This group of data could be visualized to show a line graph of the current and voltage.
Any advice or where I should start would be great.
Thanks,
-Troy
Re: emoncms waveform capture
I started by creating a new module called waveform. It sets up the waveform input and I also needed to add a field to the feeds table. Once the waveform input comes in it can be assigned to a waveform feed. It then takes a string of data and puts it in the feed_x data but doesn't use time for the x axis. It just uses an index. I had to change the VIS module to allow a different approach to the graph. I am going back and forth because I am not sure how many "waveforms" I want to store.
Another section of this will be calling an FFT C program to extract out the harmonic to show total harmonic distortion.
Here is a quick look at what I have so far.