dragoshenron / solaredge-webscrape Goto Github PK
View Code? Open in Web Editor NEWBash script to automatically download power optimizer data from Solaredge web portal.
License: Apache License 2.0
Bash script to automatically download power optimizer data from Solaredge web portal.
License: Apache License 2.0
Hi, I just tried for my site for a single optimizer here is the error message I am having:
[root@ns1 solaredge_scrape]# sh solaredge_webscrape_influxdb.sh
usage: solaredge_webscrape_influxdb.sh [date]
date date to download in format "YYYY-MM-DD"
if no date is specified, it will download the 24h data starting yesterday midnight
Downloading 119A3759-3B(Current) for Mon Nov 8 00:00:00 +03 2021: HTTP_CODE:500solaredge_webscrape_influxdb.sh: line 92: jq: command not found
-> jq skipped (JSON empty)
Downloading 119A3759-3B(Energy) for Mon Nov 8 00:00:00 +03 2021: HTTP_CODE:500solaredge_webscrape_influxdb.sh: line 92: jq: command not found
-> jq skipped (JSON empty)
Downloading 119A3759-3B(Voltage) for Mon Nov 8 00:00:00 +03 2021: HTTP_CODE:500solaredge_webscrape_influxdb.sh: line 92: jq: command not found
-> jq skipped (JSON empty)
Downloading 119A3759-3B(PowerBox%20Voltage) for Mon Nov 8 00:00:00 +03 2021: HTTP_CODE:500solaredge_webscrape_influxdb.sh: line 92: jq: command not found
-> jq skipped (JSON empty)
Downloading 119A3759-3B(Power) for Mon Nov 8 00:00:00 +03 2021: HTTP_CODE:500solaredge_webscrape_influxdb.sh: line 92: jq: command not found
-> jq skipped (JSON empty)
Line protocol file does not exist (all JSON response empty?). Nothing to do. Exiting. (/tmp/SEscrape2influx/211109123619/211108_solaredge_webscrape.lp)
Trying to port this to a BSD and getting HTTP 302s to the login page on the endpoint. Web inspection reveals that there are new parameters to chartData like reporterType, flag, uom and new HTTP headers like X-SE-User. I'm not sure you deal with X-CSRF-TOKEN or X-Requested-With or if they're why it's not working.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.