Dymerz / SMA-SunnyBoy

A simple data retrieving from SMA SunnyBoy
https://sma-sunnyboy.readthedocs.io/en/latest/sma_sunnyboy.html
MIT License
39 stars 9 forks source link

Request about getlogger #2 #5

Closed k-sartor closed 4 years ago

k-sartor commented 4 years ago

Hi what is the format of start and end argument of getLogger() function? Thank you

Dymerz commented 4 years ago

The getLogger function is able to retrieve solar production in the specified timestamp range, meaning you have to pass the timestamp of the start and the end date.

def get_logger(self, start: int, end: int):

I understand the documentation is not clear and so I'm working on a better documentation.

k-sartor commented 4 years ago

Thank you, i will test this soon

k-sartor commented 4 years ago

Ok, it's work... Thank you. The topic can be closed. Notice due to precision (1 Wh), the extrapolation of this data to power during the time interval has a precision of 12 W (1 Wh = 3600 J during 300 seconds (5 minutes) )