Metadata-Version: 2.4
Name: solaredge-influxdb
Version: 1.8.0
Summary: Ability to get data from the solar edge api into a influxdb
License-File: LICENSE
Author: Yorick Fredrix
Author-email: yorick.fredrix@outlook.com
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: astral (>=3.2,<4.0)
Requires-Dist: influxdb-client (>=1.40.0,<2.0.0)
Requires-Dist: loguru (>=0.7.2,<0.8.0)
Requires-Dist: pydantic (>=2.6.1,<3.0.0)
Requires-Dist: pytz (>=2024.1,<2027.0)
Requires-Dist: requests (>=2.31.0,<3.0.0)
Description-Content-Type: text/markdown

# solaredge-influxdb
Uploading data from Solar Edge API towards Influxdb on a regular interval of 5 minutes to prevent rate limiting

## Usage

Run the application with:

```bash
python -m solaredge_influxdb
```

Available CLI options:

- `--config-path`: Path to the configuration file.
- `--latitude`: Latitude of the solar panels.
- `--longitude`: Longitude of the solar panels.
- `--api-key`: API key for the SolarEdge API.
- `--timewindow`: Optional time window in minutes used for the technical-data lookback window.
- `--force`: Collect data even outside the daylight window.

Examples:

```bash
python -m solaredge_influxdb --config-path ./solaredge_influxdb/config.toml --timewindow 15
python -m solaredge_influxdb --force
```

By default, the application skips data collection outside the configured daylight window. Use `--force` to collect data even after sundown.

