Skip to content

SwissKid/go-insteon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Go Insteon!

Insteon library written poorly in Go

go get github.com/swisskid/go-insteon

then import "github.com/swisskid/go-insteon/insteon"

To make this work, you need to create secrets.go with the following: package insteon

var Access_Token string = "<access_token>" var Refresh_Token string = "<refresh_token>" var Client_Id string = "<api_key>" var Insteon_Url string = "https://connect.insteon.com/api/v2/"

Now, library doesn't currently know how to refresh a token... so you're kinda SOL there. I'll eventually write this so it reads it out of a file, and learns to store/refresh the access token.

Maybe use https://github.com/google/go-querystring

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages