https://github.com/michdo93/digitalstrom-export-csv
A simple Python script with Selenium which opens the digitalSTROM server and then downloads the metering CSV file via PyAutoGUI.
https://github.com/michdo93/digitalstrom-export-csv
Last synced: 2 months ago
JSON representation
A simple Python script with Selenium which opens the digitalSTROM server and then downloads the metering CSV file via PyAutoGUI.
- Host: GitHub
- URL: https://github.com/michdo93/digitalstrom-export-csv
- Owner: Michdo93
- Created: 2023-07-06T14:23:47.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-06T14:30:27.000Z (about 3 years ago)
- Last Synced: 2025-03-04T00:45:28.064Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# digitalstrom-export-csv
A simple Python script with Selenium which opens the digitalSTROM server and then downloads the metering CSV file via PyAutoGUI.
This can be used, for example, for anomaly detection of an artificial intelligence so that training data is stored regularly.
## Installation
Plese edit your crontab file with `sudo crontab -e` and add something like this:
```
*/59 */9 * * * DISPLAY=:0 /usr/bin/python3 /home//digitalstrom.py
```
As a note, in my metering application I can only look at the values for 9 hours and 59.
You have to replace following in the python code:
```
```