README.md in ekm-omnimeter-0.2.0 vs README.md in ekm-omnimeter-0.2.1
- old
+ new
@@ -47,47 +47,78 @@
:power_configuration => :single_phase_3wire, # Valid values are :single_phase_2wire, :single_phase_3wire, :three_phase_3wire, :three_phase_4wire
:meter_number=>300000001, # Your nine digit meter id
:remote_address=>'192.168.1.125', # The IP address of your iSerial device
:remote_port => 50000) # The port on which your iSerial device is listening
-# Read some values
+# These values change based on the value of :power_configuration in the constructor
+m.volts # 248.7
+m.amps # 21.6
+m.watts # 2664
+
+# Warning: Dates seem off
+# My computer clock said 2014-04-03 3:32PM when these outputs came out
+m.meter_timestamp # 2014-04-03 05:15:32
+m.computer_timestamp # Time.now() = 2014-04-03 15:32:10 -0400
+
+# Read meter values
m.remote_address # 192.168.1.125
m.remote_port # 50000
m.meter_number # 000300000001
-m.address # 000300000001
-m.measurement_timestamp # 2014-04-03 05:03:01
-m.total_active_kwh # 00450609
-m.total_kvarh # 00080417
-m.total_rev_kwh # 00007590
-m.three_phase_kwh # 002115660023898000000000
-m.three_phase_rev_kwh # 000000000000759000000000
-m.resettable_kwh # 00450609
-m.resettable_reverse_kwh # 00007590
-m.volts_l1 # 1245
-m.volts_l2 # 1254
-m.volts_l3 # 0000
-m.amps_l1 # 00200
-m.amps_l2 # 00056
-m.amps_l3 # 00000
-m.watts_l1 # 0002504
-m.watts_l2 # 0000664
-m.watts_l3 # 0000000
-m.watts_total # 0003172
-m.cosϴ_l1 # 100
-m.cosϴ_l2 # 100
-m.cosϴ_l3 # C000
-m.var_l1 # 0000052
-m.var_l2 # 0000000
-m.var_l3 # 0000000
-m.var_total # 0000052
-m.freq # 6006
-m.pulse_count_1 # 00000003
-m.pulse_count_2 # 00000006
-m.pulse_count_3 # 00000000
-m.pulse_input_hilo # 4
-m.direction_of_current # 1
-m.outputs_onoff # 1
-m.kwh_data_decimal_places # 2
+m.address # 000300000001
+m.total_kwh # 4583.51
+m.total_forward_kwh # 4507.610000000001
+m.total_reverse_kwh # 75.9
+m.net_kwh # 4431.710000000001
+m.total_kwh_t1 # 2826.64
+m.total_kwh_t2 # 1756.87
+m.total_kwh_t3 # 0.0
+m.total_kwh_t4 # 0.0
+m.reverse_kwh_t1 # 47.93
+m.reverse_kwh_t2 # 27.97
+m.reverse_kwh_t3 # 0.0
+m.reverse_kwh_t4 # 0.0
+m.volts_l1 # 123.9
+m.volts_l2 # 124.8
+m.volts_l3 # 0.0
+m.amps_l1 # 18.4
+m.amps_l2 # 3.2
+m.amps_l3 # 0.0
+m.watts_l1 # 2276
+m.watts_l2 # 384
+m.watts_l3 # 0
+m.watts_total # 2664
+m.power_factor_1 # 1.0
+m.power_factor_2 # 0.0
+m.power_factor_3 # 0.0
+m.maximum_demand # 226400
+m.maximum_demand_period # 1
+m.ct_ratio # 400
+m.pulse_1_count # 3
+m.pulse_1_ratio # 1000
+m.pulse_2_count # 6
+m.pulse_2_ratio # 3
+m.pulse_3_count # 0
+m.pulse_3_ratio # 1000
+m.reactive_kwh_kvarh # 812.63
+m.total_kwh_l1 # 2165.46
+m.total_kwh_l2 # 2417.42
+m.total_kwh_l3 # 0.0
+m.reverse_kwh_l1 # 0.0
+m.reverse_kwh_l2 # 75.9
+m.reverse_kwh_l3 # 0.0
+m.resettable_total_kwh # 4583.51
+m.resettable_reverse_kwh # 75.9
+m.reactive_power_1 # 24
+m.reactive_power_2 # 60
+m.reactive_power_3 # 0
+m.total_reactive_power # 84
+m.frequency # 60.04
+m.pulse_input_hilo # 0
+m.direction_of_current # 1
+m.outputs_onoff # 1
+m.kwh_data_decimal_places # 2
+m.auto_reset_max_demand # 0
+m.settable_pulse_per_kwh_ratio # 800
```
## Special Thanks