Skip to content

secesh/ginsteon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Go library for Insteon devices

This library provides communication with Insteon devices in the Go Language. http://www.insteon.net/

The goal of this project is to make communication with an Insteon network easy for go developers. Insteon is a home automation technology well suited for adoption by enthusiasts.

This project is in infancy and as yet only demonstrates a proof of concept communication with a PLM.

Install this package:

go get github.com/tarm/goserial
go get github.com/secesh/ginsteon

Example:

package main

import(
    "github.com/secesh/ginsteon/plm"
    "log"
    "runtime"
)

func main() {
    runtime.GOMAXPROCS(runtime.NumCPU())
    
    plm := plm.Plm{Port: "/dev/ttyUSB0"}
    log.Print("about to start")
    plm.Run()
    
    plm.Write("0260")
    plm.Write("0260")
    plm.Write("0260")
    plm.Write("0260")
    
    for {}
}

About

A go library to communicate with Insteon devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages