NEnvoy 0.3.2-alpha

This is a prerelease version of NEnvoy.
dotnet add package NEnvoy --version 0.3.2-alpha
NuGet\Install-Package NEnvoy -Version 0.3.2-alpha
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NEnvoy" Version="0.3.2-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NEnvoy --version 0.3.2-alpha
#r "nuget: NEnvoy, 0.3.2-alpha"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NEnvoy as a Cake Addin
#addin nuget:?package=NEnvoy&version=0.3.2-alpha&prerelease

// Install NEnvoy as a Cake Tool
#tool nuget:?package=NEnvoy&version=0.3.2-alpha&prerelease

Logo NEnvoy

Build Status Nuget version

A .Net Enphase Envoy client available as a NuGet package.

Currently a work in progress. The list of currently implemented (and not yet implemented) items can be found here.

Quickstart

// Create client and login (assumes "envoy" hostname)
var ci = new EnvoyConnectionInfo
{
	Username = "user@gmail.com",
	Password = "sup3rs3cet",
};
var client = await EnvoyClient.FromLoginAsync(ci).ConfigureAwait(false);

// Get information from Envoy
var deviceinfo = await client.GetEnvoyInfoAsync();

Sessions

A login is slow; once a session has been set up (logged in successfully) you can obtain the token and save it for later use:

var token = client.GetToken();
// Save the token to a file/database/whatever

You can then create client from the token:

var client = EnvoyClient.FromToken(token, ci);

Connection

You can specify a different hostname or IP address for your Envoy:

var ci = new ConnectionInfo("user@gmail.com", "sup3rs3cet", "envoy.local");
// or:
var ci = new ConnectionInfo("user@gmail.com", "sup3rs3cet", "192.168.123.45");

Similarly, the base URI's for the enphase portal can be overridden:

var ci = new ConnectionInfo("user@gmail.com", "sup3rs3cet", EnphaseBaseUri: "https://enlighten-new.enphaseenergy.com");
// or:
var ci = new ConnectionInfo("user@gmail.com", "sup3rs3cet", EnphaseEntrezBaseUri: "https://entrez-new.enphaseenergy.com");

Contributing

Yes please! Implement any of the methods and make a PR and we'll take it from there.

License

Licensed under MIT license. See LICENSE for details.


Icon made by Payungkead from www.flaticon.com is licensed by CC 3.0.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.3.2-alpha 51 3/7/2024
0.3.1-alpha 101 6/2/2023
0.3.0-alpha 79 6/2/2023
0.2.5-alpha 78 5/30/2023
0.2.4-alpha 70 5/30/2023
0.2.3-alpha 73 5/22/2023
0.2.2-alpha 70 5/22/2023
0.2.1-alpha 71 5/22/2023
0.2.0-alpha 74 5/22/2023
0.1.2-alpha 68 5/17/2023
0.1.1-alpha 67 5/17/2023
0.1.0-alpha 69 5/16/2023