This release is a pre-release and may not be stable for production use.
VOLTTRON historian agent that stores data into a SQLite database
Pre-requisite
Before installing this agent, VOLTTRON (>=11.0.0rc0) should be installed and running. Its virtual environment should be active. Information on how to install of the VOLTTRON platform can be found here
Installation
-
Create a agent configuration file SQLite historian supports two parameters
-
connection - This is a mandatory parameter with type indicating the type of sql historian (i.e. sqlite) and params containing the path the database file.
-
tables_def - Optional parameter to provide custom table names for topics, data, and metadata.
-
You can also override any parameter defined by base historian. See configuration of base historian class
The configuration can be in a json or yaml formatted file.
Example Yaml Format:
connection: # type should be sqlite type: sqlite params: # Relative to the agents data directory database: "data/historian.sqlite" tables_def: # prefix for data, topics, and (in version < 4.0.0 metadata tables) # default is "" table_prefix: "" # table name for time series data. default "data" data_table: data # table name for list of topics. default "topics" topics_table: topics
Example JSON format:
{ "connection":{ "type": "sqlite", "params":{ "database": "/home/chandrika/sqlite-historian4.sqlite" } }, "tables_def": { "table_prefix": "p1", "data_table": "new_data", "topics_table": "new_topics" }, "custom_topics": { "capture_record_data": ["heartbeat"] } }
-
-
Install and start the volttron-sqlite-historian.
- You can either pass the configuration file directly using --agent-config
vctl install volttron-sqlite-historian --agent-config <path to configuration> --start
- OR not pass the config at install time, and use the configuration store for historian's configuration using the command
vctl install volttron-sqlite-historian --vip-identity <unique id> --start vctl config store <vip-identity> config <path to json config file>
-
View the status of the installed agent
vctl status
Development
Please see the following for contributing guidelines contributing.
Please see the following helpful guide about developing modular VOLTTRON agents
Disclaimer Notice
This material was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the United States Department of Energy, nor Battelle, nor any of their employees, nor any jurisdiction or organization that has cooperated in the development of these materials, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness or any information, apparatus, product, software, or process disclosed, or represents that its use would not infringe privately owned rights.
Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof, or Battelle Memorial Institute. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof.
Metadata
Release files for volttron-sqlite-historian 2.0.0rc5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| volttron_sqlite_historian-2.0.0rc5.tar.gz | 15.7 kB | Without provenance | Details for volttron_sqlite_historian-2.0.0rc5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| volttron_sqlite_historian-2.0.0rc5-py3-none-any.whl | Python 3 | none | any | Details for volttron_sqlite_historian-2.0.0rc5-py3-none-any.whl |
Total release size: 31.6 kB
Release files / volttron_sqlite_historian-2.0.0rc5.tar.gz
| Download URL | volttron_sqlite_historian-2.0.0rc5.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07015dc2289ed16ba08b625936e43b0c4c9ce38110d7a0d6a4cbda6736eef9b6
|
|
BLAKE2b-256 checksum How to use checksums |
476c407aafdc49335889802a79366255066373232f43684c1695c312383e5c9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.10.22 Linux/6.8.0-1064-azure
|
Release files / volttron_sqlite_historian-2.0.0rc5-py3-none-any.whl
| Download URL | volttron_sqlite_historian-2.0.0rc5-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e069455a2c0323d8b5115b1553a87fad02cb0a74c072d91323b20fe4aac4ce01
|
|
BLAKE2b-256 checksum How to use checksums |
ea2da619865caaa2386c801a73f184bb92fada467ceed792b1f64ee9af01326b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.10.22 Linux/6.8.0-1064-azure
|
Security for volttron-sqlite-historian 2.0.0rc5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.