Energy Monitoring Hardware
- 1 Harvest Scripts
- 2 Building Monitoring Data Table
- 3 Correct EGX100 Dip Switch States
- 4 Siemens Sentron Pac3200
- 5 EGX100 and Voltage Regulator
- 6 EGX100 and the Enercept Meter
- 7 Setting up an EGX100
- 8 Mounting an EGX100 for Installation in Building
- 9 Coloring Conventions for Wires Connecting EGX100 to Enercept Meters
- 10 Documentation
There is a unique harvest script for every individual building, but the only differences between these scripts are the value of the ip number and the . The harvest scripts are called by cron every minute.
Procedure for the Script
- 0. Sets a timestamp.
- 1. Sets a variable $pReal to the return value of java --cp with the following arguments:
- filepath to the production directory
- the ip number of the EGX100 of the building in question
- the amperage correction of the building in question.
This return value represents electrical energy usage.
- 2. Connects to the energy database.
- 3. Inserts into the electrical_energy table (located within the energy database) a row for the energy usage of the building in question at the time of the timestamp.
Building Monitoring Data Table
|Building||Installed?||EGX100 Old IP||EGX100 New IP||New IP used?||MAC Addr.||Directly off main switch?||Amperage Correction||Feed Size (Amps)||Square Footage*||Occupancy|
|Mills||Yes||18.104.22.168||22.214.171.124||Yes||00:80:67:82:99:2D||No||31.25||800 (bus bar)||132|
|Stanley||Yes||126.96.36.199 and 188.8.131.52||184.108.40.206 and 220.127.116.11||Yes||20:bb:c6:00:a2:58 and 20:bb:c6:01:13:f3||No|
|Remainder||No||No||Unknown||(Total Feed Size - Measured Feed Sizes)|
* : By Square Footage we mean the summed square footage of all the floors
Mills energy usage can be checked with: Total_of_the_U - (Warren + Wilson) = Mills
Correct EGX100 Dip Switch States
|Up | Down||Down||Up||Up||Up||Up||Up|
Siemens Sentron Pac3200
EGX100 and Voltage Regulator
The voltage regulator takes 110/220VAC and converts it to 24VDC for the EGX100.
The V- port on the voltage regulator connects to port #6 on the EGX100
The V+ port on the voltage regulator connects to port #7 on the EGX100
EGX100 and the Enercept Meter
A solid orange wire goes from port #3 on the EGX100 to the + port on the RS485 node of the Enercept meter.
A solid brown wire goes from port #4 on the EGX100 to the - port on the RS485 node of the Enercept meter.
A solid green wire goes from port #5 on the EGX100 to the shield port (S) on the RS485 node of the Enercept meter
A 100 Ohm resistor is placed between the + and - ports on connector that plugs into the Enercept meter.
Setting up an EGX100
- Configure your computer's IP Manually. Set IP to 169.254.0.11 and subnet to 255.255.0.0. Apply these changes.
- Connect your computer to the 10/100 BASE TX port on the EGX100 with an ethernet cord.
- Type in the default IP address, 169.254.0.10, into a web browser, a password prompt should appear.
- If this does not work make sure you're on the correct subnet.
- If the EGX 100 is already configured (i.e. not the default configuration), be sure to be on the subnet 255.255.248.0 and assign your ip to the gateway ip 18.104.22.168
- Enter the default username is Administrator and the default password is Gateway
- Click on "Setup" in the top menu bar.
- Click "SNMP" on the sidebar
- Check the box "Enable SNMP" and configure the rest of the settings: contact information to "Charlie Peck," set system name and system location appropriately.
- Click the "Apply" button to apply changes.
- Click on "Ethernet & TCP/IP" in the sidebar
- Configure the TCP/IP information here.
- IP address for the EGX is in the table above, gateway is 22.214.171.124, subnet is 255.255.248.0
- Click "Apply" the device will essentially reboot and you will have to log back in to make any more changes. Login through the new device gateway and subnet to make sure changes stuck.
- Log out of the EGX.
- That's it the device is configured and good to go.
- This is easiest if your computer's wifi is off.
- Troubleshooting with Wireshark and the ping command will reveal a lot if you make a typo in one of the fields.
- The EGX100 Manual is also helpful to have on hand to decode the blinking lights.
- The reset button on the EGX100 only power cycles the device, it does not actually clear any data according to the manual.
Mounting an EGX100 for Installation in Building
- Cut a length of din rail sufficient to mount an EGX100 and its power supply. 13 cm is sufficient.
- Place the rail so that its center is as close to the box's center as possible. Mark holes at the rail hole locations and drill holes into plastic box at those locations.
- Turn the screws into the holes to secure the rail onto the box.
- BEFORE placing the EGX100 or power supply in the box, drill three holes into the box to provide access points to the power input, the wires coming from the magnet, and the top ethernet port (labeled 10/100 Base Tx). Choose the location of the holes so that wires running through them will take a short path to their ports. Because the hole will be used as space for a conduit screw (see photo documentation), select a drill bit that is appropriate for the diameter of the screw. See photo 3 for an example.
- Turn a conduit screw (see photo documentation) into each hole in the box. This conduit will give passage to all necessary I/O.
- The EGX100 and power supply have clips on their undersides designed to fix onto the din rail. With the clip open, place the EGX100 and power supply onto the din rail. Then, click it closed.
Coloring Conventions for Wires Connecting EGX100 to Enercept Meters
|Building||Color for +||Color for -||Color for Shield|