Comments (2)
First question from my side what about this functions they must be working and uncommented they are necessary to made getStationRealKpi working?
login_to_API
getStationList
Next what I see jq jq: error (at :1): Cannot iterate over null (null)
Code can't extract data from the answer because answer as you mentioned has empty field "data": null.
So as I'm nearly certain this part of code for getStationRealKpi is correct and working.
So who is to blame?
If you look on answer your question to API is "success": true so why is no data?
I myself have similar problem but in my case getStationList is working and show data
``
API getStationRealKpi connection OK
Normal Status
Time of your Request to API:
Numbers of plants to check: 1
Plant 1:
Plant Status: Healthy
Daily energy: 16.63 kWh
Monthly energy: 545.46 kWh
Lifetime energy: 3950.48 kWh
Daily revenue: 1.243 ¥
Total revenue: 467.618 ¥
``
But getKpiStationHour, getKpiStationDay,getKpiStationMonth,getKpiStationYear are not working and have the same issues like your question is also "success": true and "data": null.
Only what I can do in this case is to write to Huawei helpdesk with question to check my account. If after upgrade was limited in some way because problem is on their side I suppose some glitches on their server with rights to access certain data on specific account. Before upgrade I haven't such problems. I'm also certain that this isue is on their server side because I tested this question with use of Postman external program and have the same disappointing results with "success": true and "data": null. So I opened case on [email protected] week ago and now case is in progress so hope they found why I have this strange answers like you. So In my opinion you shuld made the same. In meantime you can check other functions because some of them my have data other not there is no rule in that case.
from huawei-sun2000-api-cli.
login_to_API
getStationList
working ok.
I tried to use Postman and there is success but no data with getStationRealKpi.
So I'm going to write to huawei support...
from huawei-sun2000-api-cli.
Related Issues (20)
- order in device_Id_array HOT 2
- info about fusionsolarapp.sh
- Problem with login to fusionSolarApp service from this software HOT 10
- Kioskmode.sh HOT 1
- TUI implemended but need feedback about other devices in plant HOT 54
- getDevRealKpi date: invalid date ‘@’ HOT 23
- Offer to contribute HOT 2
- Problems with login to huawei server since 30th December 2021 after huawei upgrade HOT 10
- XSRF-TOKEN valid time HOT 1
- Home Assistant integration HOT 1
- Different Huawei setup configurations from Kisoskmode.sh post your own here HOT 1
- Login error HOT 1
- Poblem with functions.sh HOT 3
- jq: error (at <stdin>:1): Cannot iterate over null (null) HOT 5
- jq error since 04-03-2023 HOT 2
- API getStationList connection Error HOT 6
- Cannot get any data except "Normal status" HOT 9
- Test
- close to real time HOT 21
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from huawei-sun2000-api-cli.