Skip to content

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

Notifications You must be signed in to change notification settings

spagettikod/gotracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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.

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages