From 3a4b3ce6f73922cf3d135d0b82cd233c328e8493 Mon Sep 17 00:00:00 2001 From: niels <51261230+nmakel@users.noreply.github.com> Date: Thu, 11 Jun 2020 11:37:15 +0200 Subject: [PATCH] remove pprint() from readme --- README.md | 44 -------------------------------------------- 1 file changed, 44 deletions(-) diff --git a/README.md b/README.md index 7603519..d229a81 100644 --- a/README.md +++ b/README.md @@ -168,50 +168,6 @@ Read all input registers by passing the `sdm_modbus.registerType.INPUT` enum to } ``` -To pretty print all input and holding registers *with* formatting and units: - -``` - >>> device.pprint() - SDM120(10.0.0.123:502, unit=0x1): - - Input Registers: - Voltage: 237.00V - Current: 8.63A - Power (Active): -1919.70W - Power (Apparent): 2035.57VA - Power (Reactive): -676.70VA - Power Factor: -0.94 - Phase Angle: 0.00° - Frequency: 50.00Hz - Imported Energy (Active): 1551.37kWh - Imported Energy (Active): 1335.69kWh - Imported Energy (Reactive): 0.01kVAh - Exported Energy (Reactive): 4362.14kVAh - Total Demand Power (Active): 1668.02W - Maximum Total Demand Power (Active): 3347.26W - Import Demand Power (Active): 0.00W - Maximum Import Demand Power (Active): 3347.26W - Export Demand Power (Active): 1668.02W - Maximum Export Demand Power (Active): 2109.45W - Total Demand Current: 7.57A - Maximum Total Demand Current: 14.97A - Total Energy (Active): 2887.07kWh - Total Energy (Reactive): 0.00kVAh - - Holding Registers: - Demand Time: 1s - Demand Period: 60s - Relay Pulse Width: 60ms - Network Parity Stop: N-1 - Meter ID: 1 - Baud Rate: 9600 - P1 Output Mode: Export Energy (Active) - Display Scroll Timing: 0s - P1 Divisor: 0.001kWh/imp - Measurement Mode: 0 - Pulse/LED Indicator Mode: Import + Export Energy (Active) -``` - If you need more information about a particular register, to look up the units or enumerations, for example: ```