Skip to content

AlbinOS/go-switchbot-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-switchbot-metrics

Expose metrics page scrapable by know agent (like Telegraf) for SwitchBot API

Supported devices

  • Meter
  • Meter Plus
  • Outdoor Meter
  • Plug Mini (US)
  • Plug Mini (JP)

Docker usage

docker run -p 3000:3000 -d ghcr.io/albinos/go-switchbot-metrics serve --bind_ip=0.0.0.0 --switchbot_openapi_token=<SWITCHBOT_API_TOKEN> --switchbot_secret_key=<SWITCHBOT_SECRET_KEY>

About

Expose data from SwitchBot API client for Golang

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •