1-Wire Power Usage Meter

Weather-Display now can show your house holds power usage using a 1-Wire counter module and a Smart Power meter. The Smart Power meter needs to have an opto-isolated output. Basically this means that it has extra two terminals that 5 volts can be applied, you will get a pulse output which will vary depending on how much power you are using. I am using a Single phase DEM011 power meter with an 800 pulse per kWh. The meters come in either 3200, 1600 or 800 pulse and single or three phase models.
Our house has the older type of meter which the Power Company ownes with spinning disk and the dials above which is outside the house in the Meter cabinet. It does not have an output of any sort. We are going to install another new meter with opto-isolated pulse output inside the house on the power fuse board. Can I stress out that because this is mucking around with High Voltages you should always have a registered electrician perform all work! These instructions do not cover how to install the Power Meter into your house holds power system, that’s up to the sparkys.
Before anything is connected to the power meter check while power is applied that there are no voltages between the two opto-isolated terminals and also to earth using a trusty volt meter.(Check the volt meter is on the correct settings also) Before any connections are made - make sure all power is removed from any circuits and test using a volt meter that the meter has no voltages on any of the terminals)
These instructions are for reference purposes only; CompuTecNetworks.com takes no responsibly for how these instructions are used.

Parts you need:
1x Installed DEM011 Power meter or equivalent with opto-isolated output. 5v Input
1x 1-Wire Counter from hobby-boards.com (or Lightning Sensor)
2 core cable.

1) First off if you have the 1-Wire counter you will need to unsolder and remove the battery otherwise the battery will try and power the rest of the network through the 5v 1-Wire bus when the power supply is removed.
2) Setup a jumper wire between the two inputs A and B.
3) Remove all power to the Power Meter.
4) Using 2 core cable, Connect the +5v terminal on the 1-Wire Counter to the + Collector (Terminal 3) on the Power Meter. Connect the A and B input (with jumper) to the - Emitter (Terminal 2) on the Power Meter. Please refer to the documentation that came with the Power Meter for the exact terminals to use. DO THIS BEFORE you connections are made.
5) Wire up the 1-Wire counter up to the rest of your 1-wire network. Connect up the DQ, +5v and GND terminals.
6) Now you will need to find the 1-Wire counter rom ID and enter this into the Weather-Display configuration. (TO BE UPDATED)