Skip to content

Instantly share code, notes, and snippets.

@dragoshenron
dragoshenron / solaredge.py
Created February 19, 2020 08:10 — forked from mihailescu2m/solaredge.py
snippet to write solaredge optimisers panel data in an influxdb database
import requests, pickle
from datetime import datetime
import json, pytz
import pandas as pd
from influxdb import DataFrameClient
login_url = "https://monitoring.solaredge.com/solaredge-apigw/api/login"
panels_url = "https://monitoring.solaredge.com/solaredge-web/p/playbackData"
SOLAREDGE_USER = "" # web username