Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/spagettikod/gotracer

Go package to communicate with the EPsolar Tracer*BN series solar charge controllers
https://github.com/spagettikod/gotracer

Last synced: 18 days ago
JSON representation

Go package to communicate with the EPsolar Tracer*BN series solar charge controllers

Awesome Lists containing this project

README

        

# gotracer
Go package to communicate with the EPsolar Tracer*BN series solar charge controllers.

It has been tested with an EPsolar Tracer4215BN solar charge controller. Connected to a
computer using the EPsolar provided RJ45 to USB cable. As of today I've only gotten the
cable driver for Windows to work.

## Example
This example reads the status from the Tracer and displays in on the screen. The example
is running on Windows. The only change on Mac OS X and Linux is the serial device name,
`COM16` in this example.

```go
package main

import (
"fmt"
"log"

"github.com/spagettikod/gotracer"
)

func main() {
status, err := gotracer.Status("COM16")
if err != nil {
log.Fatal(err)
}
fmt.Println(status)
}
```

## Roadmap
* Add missing status information: PV Working State, Charging State, Battery State and Controller Working State
* Turn load on and off
* Read device information: model, software version and serial number
* Read device parameters
* Set device parameters
* Read device time
* Set device time