question

luniversitate avatar image
luniversitate asked

Automatically downloading a CSV from VRM in Python or C++

Hello!

My task is once per day download csv file for previous day with full data of my solar system and then transfer it to university server. I can deal with transfer.

The question is how to download csv using Python or C++

(https://vrm.victronenergy.com/installation/30043/advanced) >>Download .csv

I started to write a code in Python , but looks like these can’t even login.

There is my code:

#############################

import requests

s = requests.Session()

login_url = 'https://vrm.victronenergy.com/user/login'

r=s.post(login_url, {'username': 'mymail @gmail.com', 'password': 'mypass'},)

file_url ='https://vrm.victronenergy.com/installation/30043/advanced'

##############################################



VRMCCGX Color Control
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

1 Answer
boekel avatar image
boekel answered ·
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.