Skip to content

Michdo93/digitalstrom-export-csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

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/<path_to_python_file>/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:

<path_to_pictures>
<path_to_geckodriver>
<ip_to_dss>
<username>
<password>

About

A simple Python script with Selenium which opens the digitalSTROM server and then downloads the metering CSV file via PyAutoGUI.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages