pvoutput

package
v0.0.0-...-7b5330a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2014 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Handles upload of data to pvoutput.org Set the following environment variables:

PVSTATUSURL - Pvoutput API status endpoint
PVAPIKEY - api key
PVSYSTEMID - unique system identifier

Refer to pvoutput.org API doco for more info on the above values.

Index

Constants

View Source
const Interval int = 300

seconds between uploads

Variables

View Source
var NotInitialized = fmt.Errorf("Not initialized. Environment variables not set")

Functions

func Upload

func Upload(r *serial.Reading) error

Upload data every Interval seconds. Returns NotInitialzed error if environment variables not set

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL