https://github.com/skoef/go-envoy
Enphase Envoy Golang Client
https://github.com/skoef/go-envoy
Last synced: 5 months ago
JSON representation
Enphase Envoy Golang Client
- Host: GitHub
- URL: https://github.com/skoef/go-envoy
- Owner: skoef
- License: mit
- Fork: true (nik-johnson-net/go-envoy)
- Created: 2020-10-07T08:06:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-21T09:04:27.000Z (about 5 years ago)
- Last Synced: 2024-06-20T01:55:50.836Z (almost 2 years ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Enphase Envoy Golang Client
This is a golang Enphase Envoy client for communicating with the Envoy communications gateway. It's built and tested against an IQ Envoy. Other models have not been tested. It communicates directly with the unit via the exposed web interface, **not** the Enphase Enlighten API.
## Example
```go
import "github.com/nik-johnson-net/go-envoy"
client := envoy.NewClient("192.168.0.201")
// Contains data on Production and Consumption, if equipped.
productionData, err := client.Production()
// Contains information on connected devices
inventoryData, err := client.Inventory()
```
## License
This library is provided under the [MIT License](LICENSE.md)