seanonet / froniussolarclient Goto Github PK
View Code? Open in Web Editor NEWA .NET Client wrapper for the Fronius Solar API
License: MIT License
A .NET Client wrapper for the Fronius Solar API
License: MIT License
GetPowerFlowRealtimeData would be a nice addition to the API
Hi,
I'm confronted with this error message, when trying to GetPowerFlowRealtimeData() of my Fronius Symo 15.0-3-M. Fetching other data like GetCommonInverterData() works fine. I'm using version 0.4.0 of the package within an ASP.Net Core (.net5) application. Probably it has something to do with the firmware version of the Inverter? I updated the firmware just yesterday to version 3.18.7-1.
Any other ideas?
Thank you very much!
Patrick
When not integer values in the response these two properties (P_Grid and P_Load) generate an error.
Defining them as decimal solves the issue. Proposed fix:
In PowerFlowRealtimeData.cs
` [JsonProperty("P_Grid")]
public decimal PGrid { get; set; }
/// <summary>
/// This value is null if no meter is enabled ( + generator, - consumer )
/// </summary>
[JsonProperty("P_Load")]
public **decimal** PLoad { get; set; }
`
SeriesType Parameter needs to be named in Query string in order to work. (Currently being ignored)
Proposed fix:
InverterArchiveDataService.cs
Line 51
return $"?Scope={scope}&StartDate={startDate.ToString("d.M.yyyy")}&EndDate={endDate.ToString("d.M.yyyy")}&HumanReadable={humanReadable.ToString()}&SeriesType={seriesType.ToString()}{deviceClassParam}" + $"&{channelParam}";
}
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.