-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into rpc_inspection
- Loading branch information
Showing
64 changed files
with
4,117 additions
and
1,612 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,5 @@ __pycache__ | |
start-rabbitmq | ||
stop-rabbitmq | ||
rabbitmq.log | ||
.coverage | ||
htmlcov/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ pytest-timeout | |
mock | ||
websocket-client | ||
numpy>1.13<2 | ||
pandas | ||
pandas | ||
mysql-connector-python-rf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
446 changes: 208 additions & 238 deletions
446
docs/source/core_services/drivers/driver_configuration/ecobee_web_driver.rst
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+28.8 KB
docs/source/core_services/drivers/driver_configuration/files/ecobee_add_app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+61.8 KB
docs/source/core_services/drivers/driver_configuration/files/ecobee_api_key.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+63.4 KB
docs/source/core_services/drivers/driver_configuration/files/ecobee_apps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+55.3 KB
docs/source/core_services/drivers/driver_configuration/files/ecobee_console.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+31.6 KB
docs/source/core_services/drivers/driver_configuration/files/ecobee_create_app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+64.5 KB
...urce/core_services/drivers/driver_configuration/files/ecobee_developer_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+21.2 KB
docs/source/core_services/drivers/driver_configuration/files/ecobee_pin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.9 KB
docs/source/core_services/drivers/driver_configuration/files/ecobee_verify_pin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
140 changes: 140 additions & 0 deletions
140
...urce/core_services/drivers/driver_configuration/the-energy-detective-driver.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
.. _The-Energy-Detective-Driver: | ||
|
||
The Energy Detective Meter Driver | ||
------------------------------------ | ||
|
||
|
||
Introduction | ||
------------ | ||
|
||
The TED-Pro is an energy monitoring system that can measure energy consumption | ||
of multiple mains and supports submetering of individual circuits. | ||
This driver connects to a TED Pro Energy Control Center (ECC) and can collect | ||
information from multiple Measuring Transmiting Units (MTUs) and Spyder submetering | ||
devices connected to the ECC. | ||
|
||
configuration | ||
------------- | ||
|
||
The TED Pro device interface is configured as follows. You'll need the ip address | ||
or hostname of the ECC on a network segment accessible from the Volttron instance, | ||
if configured to use a port other than 80, you can provide it as shown below, | ||
following a colon after the host address. | ||
|
||
.. code-block:: json | ||
{ | ||
"driver_type": "ted_meter", | ||
"driver_config": { | ||
"device_address": "192.168.1.100:8080", | ||
"username": "username", | ||
"password": "password", | ||
"scrape_spyder": true, | ||
"track_totalizers": true | ||
} | ||
} | ||
Parameters | ||
********** | ||
|
||
- **username** - Username if the TED Pro is configured with Basic Authentication | ||
- **password** - Password if the TED Pro is configured with Basic Authentication | ||
- **device_address** - Hostname or IP address of the TED Pro ECC, a non-standard port can be included if needed | ||
- **scrape_spyder** - Default true, enables or disables collection of the submetering data from spyder devices | ||
connected to the TED Pro | ||
- **track_totalizers** - Default true, enables or disables tracking of lifetime totals in the VOLTTRON Driver | ||
|
||
.. note:: | ||
|
||
The TED Pro does not expose its internal lifetime totalized metering, instead offering month to date (MTD) | ||
and daily totals (TDY). Using the "track_totalizers" setting, the ted-meter driver will attempt to maintain | ||
monotonically increasing lifetime totalizers. To do so, it must retain state regarding the running total and | ||
the last read value. The driver makes use of the VOLTTRON Config subsystem to store this state. | ||
To reset these totals, delete the state/ted_meter/<device_path> config from the master driver config store and restart the | ||
master driver. | ||
|
||
.. note:: | ||
|
||
This driver does not make use of the registry config. Because it is able to determine the configuration | ||
of the TED Pro Device via the API, it simply creates registers for each data source on the TED Pro | ||
|
||
|
||
.. note:: | ||
|
||
This driver is internally aware of the appropriate HayStack Tags for its registers, however, the | ||
MasterDriver Framework makes no provision for publishing those tags during a scrape. Therefore, | ||
integration of the tagging data is left to the end user. | ||
|
||
Examples | ||
******** | ||
|
||
|TED Pro showing spyder outputs| | ||
|
||
The above configuration in the TED will result in the following scrape from the ted-meter driver on the message bus: | ||
|
||
.. code-block:: text | ||
[ | ||
{ | ||
'mtu-1/load_kva': 0.271, | ||
'mtu-1/load_kw': 0.203, | ||
'mtu-1/phase_angle': 195, | ||
'mtu-1/phase_current-a': '0', | ||
'mtu-1/phase_current-b': '0', | ||
'mtu-1/phase_current-c': '0', | ||
'mtu-1/phase_voltage-a': '0', | ||
'mtu-1/phase_voltage-b': '0', | ||
'mtu-1/phase_voltage-c': '0', | ||
'mtu-1/power_factor': 0.749, | ||
'mtu-1/voltage': 121.30000000000001, | ||
'spyder-1/AHU/load': 0.0, | ||
'spyder-1/AHU/mtd': 0.0, | ||
'spyder-1/AHU/mtd_totalized': 0.0, | ||
'spyder-1/C/U/load': 0.0, | ||
'spyder-1/C/U/mtd': 0.0, | ||
'spyder-1/C/U/mtd_totalized': 0.0, | ||
'spyder-1/Fridge/load': 0.0, | ||
'spyder-1/Fridge/mtd': 0.056, | ||
'spyder-1/Fridge/mtd_totalized': 0.056, | ||
'spyder-1/HW/load': 0.0, | ||
'spyder-1/HW/mtd': 0.14400000000000002, | ||
'spyder-1/HW/mtd_totalized': 0.14400000000000002, | ||
'spyder-1/Toaster/load': 0.0, | ||
'spyder-1/Toaster/mtd': 0.24, | ||
'spyder-1/Toaster/mtd_totalized': 0.24, | ||
'system/mtd': 0.652, | ||
'system/mtd_totalized': 0.652 | ||
}, | ||
{ | ||
'mtu-1/load_kva': {'type': 'integer', 'tz': u'', 'units': 'kVA'}, | ||
'mtu-1/load_kw': {'type': 'integer', 'tz': u'', 'units': 'kW'}, | ||
'mtu-1/phase_angle': {'type': 'integer', 'tz': u'', 'units': 'degrees'}, | ||
'mtu-1/phase_current-a': {'type': 'integer', 'tz': u'', 'units': 'Amps'}, | ||
'mtu-1/phase_current-b': {'type': 'integer', 'tz': u'', 'units': 'Amps'}, | ||
'mtu-1/phase_current-c': {'type': 'integer', 'tz': u'', 'units': 'Amps'}, | ||
'mtu-1/phase_voltage-a': {'type': 'integer', 'tz': u'', 'units': 'Volts'}, | ||
'mtu-1/phase_voltage-b': {'type': 'integer', 'tz': u'', 'units': 'Volts'}, | ||
'mtu-1/phase_voltage-c': {'type': 'integer', 'tz': u'', 'units': 'Volts'}, | ||
'mtu-1/power_factor': {'type': 'integer', 'tz': u'', 'units': 'ratio'}, | ||
'mtu-1/voltage': {'type': 'integer', 'tz': u'', 'units': 'Volts'}, | ||
'spyder-1/AHU/load': {'type': 'integer', 'tz': u'', 'units': 'kW'}, | ||
'spyder-1/AHU/mtd': {'type': 'integer', 'tz': u'', 'units': 'kWh'}, | ||
'spyder-1/AHU/mtd_totalized': {'type': 'integer', 'tz': u'', 'units': 'kWh'}, | ||
'spyder-1/C/U/load': {'type': 'integer', 'tz': u'', 'units': 'kW'}, | ||
'spyder-1/C/U/mtd': {'type': 'integer', 'tz': u'', 'units': 'kWh'}, | ||
'spyder-1/C/U/mtd_totalized': {'type': 'integer', 'tz': u'', 'units': 'kWh'}, | ||
'spyder-1/Fridge/load': {'type': 'integer', 'tz': u'', 'units': 'kW'}, | ||
'spyder-1/Fridge/mtd': {'type': 'integer', 'tz': u'', 'units': 'kWh'}, | ||
'spyder-1/Fridge/mtd_totalized': {'type': 'integer', 'tz': u'', 'units': 'kWh'}, | ||
'spyder-1/HW/load': {'type': 'integer', 'tz': u'', 'units': 'kW'}, | ||
'spyder-1/HW/mtd': {'type': 'integer', 'tz': u'', 'units': 'kWh'}, | ||
'spyder-1/HW/mtd_totalized': {'type': 'integer', 'tz': u'', 'units': 'kWh'}, | ||
'spyder-1/Toaster/load': {'type': 'integer', 'tz': u'', 'units': 'kW'}, | ||
'spyder-1/Toaster/mtd': {'type': 'integer', 'tz': u'', 'units': 'kWh'}, | ||
'spyder-1/Toaster/mtd_totalized': {'type': 'integer', 'tz': u'', 'units': 'kWh'}, | ||
'system/mtd': {'type': 'integer', 'tz': u'', 'units': 'kWh'}, | ||
'system/mtd_totalized': {'type': 'integer', 'tz': u'', 'units': 'kWh'} | ||
} | ||
] | ||
.. |TED Pro showing spyder outputs| image:: ../files/ted-spyders.png |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.