<div>Hi<br></div><div><br></div><div>Sorry I haven't replied before now. I'm working through lockdown so have been very busy.<br></div><div><br></div><div>My power usage monitor uses an Arduino ESP8266 that has a small LDR circuit that collects the pulses from my power meter. My meter pulses 1000 times per Kw/H. <a href="https://photos.app.goo.gl/nZdce2HDEbvERMRf9">https://photos.app.goo.gl/nZdce2HDEbvERMRf9</a><br></div><div><a href="https://photos.app.goo.gl/Bg7j75GA8e5rhpWE8">https://photos.app.goo.gl/Bg7j75GA8e5rhpWE8</a><br></div><div><br></div><div>The ESP8266 subscribes to a channel on my MQTT server. The ESP8266 listens to the channel and when I put a particular command on the channel, the ESP8266 sends its current pulse count onto a second channel. The ESP8266 counter is then reset to zero. I poll the channel every 5 minutes so I'm getting the power usage at a 5 minute cadence.<br></div><div><br></div><div>A script on my home automation server reads the pulse count MQTT channel and then uploads the value to a No-SQL database (InfluxDB <a href="https://www.influxdata.com/products/influxdb/">https://www.influxdata.com/products/influxdb/</a>). No-SQL allows you to place any information, in any format, into the database so I can use the same database for many different applications.</div><div><br></div><div>To graph the power usage I use Grafana. <a href="https://grafana.com">https://grafana.com</a>, it queries the InfluxDB directly and give a nice pretty interface. Gafana allows you to drill down on data and export in CSV.<br></div><div><a href="https://photos.app.goo.gl/BUvp7WFJgxsQsjHQ6">https://photos.app.goo.gl/BUvp7WFJgxsQsjHQ6</a><br></div><div><br></div><div>Darran</div><div><br></div><div><br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user protonmail_signature_block-empty"></div><div class="protonmail_signature_block-proton">Sent with <a href="https://protonmail.com/" target="_blank">ProtonMail</a> Secure Email.</div></div><div><br></div><div class="protonmail_quote">
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br>
On Monday, August 23rd, 2021 at 2:25 PM, hamster@snap.net.nz <hamster@snap.net.nz> wrote:<br>
<blockquote class="protonmail_quote" type="cite">
<div dir="auto">For what is is worth, I have a few PCBs with an LDR and transister buffer for sensing these LEDs. If anybody wants one just ask and I can post you one. <div><br></div><div>Because of the slow response of LDRs and ambient light changes it is best used with a ADC rather than trying to use high gains and triming it to work with a digital input. </div><div><br></div><div>Mike<br><br></div></div><div style="line-height:1.5"><br><br>-------- Original message --------<br>From: Henri Shustak <henri.shustak@gmail.com><br>Date: Mon, 23 Aug 2021, 1:26 PM<br>To: Christchurch Robotics <chchrobotics@lists.ourshack.com><br>Subject: Re: [chbot] Electrical Meter LED pulse detection and capture<br><blockquote>Hi I am not this person. Also, I have not gotten a pi to monitor the flashing. But I do know that the pulse of the LED on a digital smart power meeter is able to report various information such as current.<br><br>It is just based on the frequency of the pulses.<br><br>Hope that helps.<br>Henri <br><br>> On 18/08/2021, at 11:34 AM, Andrew Sands <andrew@theatrix.org.nz> wrote:<br>> <br>> Hi all,<br>> <br>> During the Q and A around the possibilities of how to use a raspberry pi to monitor a water pump, a gentleman from the group stated that he had some form of detector monitoring the power pulse LED on his mains electrical meter.<br>> <br>> I began a brief discussion with him (sorry, whomever you are as I completely forgot to ask your name, me I'm just one of the Andrew's) before Mark shuffled us all out of the building.<br>> <br>> So, now that I might have a couple of extra days of 'forced' downtime would it be possible for said gentleman to describe what he has implemented / installed to the group via this reflector or pointers to a website. Or just communicate with me via direct email, it would be very much appreciated.<br>> <br>> Everyone keep up the social distancing, stay safe and just go make something.<br>> <br>> Regards all,<br>> Andrew Sands<br>> (022)681 6655<br>> <br>> _______________________________________________<br>> Chchrobotics mailing list Chchrobotics@lists.ourshack.com<br>> https://lists.ourshack.com/mailman/listinfo/chchrobotics<br>> Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/<br>> Meetings usually 3rd Monday each month. See http://kiwibots.org for venue, directions and dates.<br>> When replying, please edit your Subject line to reflect new subjects.<br><br><br>_______________________________________________<br>Chchrobotics mailing list Chchrobotics@lists.ourshack.com<br>https://lists.ourshack.com/mailman/listinfo/chchrobotics<br>Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/<br>Meetings usually 3rd Monday each month. See http://kiwibots.org for venue, directions and dates.<br>When replying, please edit your Subject line to reflect new subjects.</blockquote></div>_______________________________________________
Chchrobotics mailing list Chchrobotics@lists.ourshack.com
https://lists.ourshack.com/mailman/listinfo/chchrobotics
Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
Meetings usually 3rd Monday each month. See http://kiwibots.org for venue, directions and dates.
When replying, please edit your Subject line to reflect new subjects.
</blockquote><br>
</div>