Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I am not really in to coding and I am struggeling with my problem for many hours now. I need help!

What do I need to do?

I want to locally save real time data of my solar power plant, provided to me by a webportal (all the nice boxes have no GUI - I can only access my own data via the portal of the provider of my power converter)

OK, here we go. First I need to log in to the "sunnyportal" via this link:

http://www.sunnyportal.com/Templates/Autologin.aspx?user=MYUSERNAME&pass=MYPASSWORD after waiting a second, I am getting redirected to a page where all data are available - but with wget no chance to pick the data.

With wireshark I managed to find the link where all the data is:

http://sunnyportal.com/homemanager

There is no .html ending but I tried to import the data with Excel and Excel told me it's json-format.

It's not a problem to access the first link, log on, download the (static) webpage - but with the second link I am always getting redirected to the login screen, even while saving cookies and re-using the cookies.txt

The output I want to store looks like this:

{"Timestamp":"/Date(1385318176763)/","Info":{},"PV":0,"FeedIn":0,"GridConsumption":2182,"DirectConsumption":null,"SelfConsumption":0,"SelfSupply":0,"TotalConsumption":2182,"DirectConsumptionQuote":null,"SelfConsumptionQuote":null,"AutarkyQuote":0,"BatteryIn":null,"BatteryOut":null,"BatteryChargeStatus":null,"OperationHealth":null,"BatteryStateOfHealth":null,"InfoMessages":[],"WarningMessages":[],"ErrorMessages":[]}

Please help me - I need these data to grab them with an Arduino / Raspberry Pi to switch some relais to safe energy.

Appreciate ANY help in advance!

Cheers, Jochen

share|improve this question

closed as off-topic by Al E., ChrisF Nov 24 '13 at 19:41

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "It is a question about creating/developing a web application." – Al E., ChrisF
If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.