https://github.com/jurgen-kluft/go-conbee
deconz conbee REST API client in golang
https://github.com/jurgen-kluft/go-conbee
client conbee deconz go golang http rest-api
Last synced: 5 months ago
JSON representation
deconz conbee REST API client in golang
- Host: GitHub
- URL: https://github.com/jurgen-kluft/go-conbee
- Owner: jurgen-kluft
- Created: 2020-02-01T09:30:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-24T00:46:04.000Z (over 4 years ago)
- Last Synced: 2025-08-15T06:56:35.286Z (10 months ago)
- Topics: client, conbee, deconz, go, golang, http, rest-api
- Language: Go
- Homepage:
- Size: 6.04 MB
- Stars: 5
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Conbee Deconz
Conbee II client for Go.
CREDIT to 'heatxsink', he implemented 'go-hue' on which this package is based. (https://github.com/heatxsink/go-hue)
## Status
BETA, currently testing!
## go-conbee
Wrapper API and cli examples in golang for interacting with lights via Deconz Conbee HTTP API.
Supported API:
- Lights
- Groups
- Sensors
Unsupported API (not hard to add, let me know if you need them):
- Rules
- Scenes
- Schedules
## Setup
To install "github.com/jurgen-kluft/go-conbee" golang module.
``$ go get github.com/jurgen-kluft/go-conbee``
Check the examples:
- ``get-all-lights.go``
- ``get-light-state.go``
- ``set-light-state.go``
To run the tests you'll need to set the following environment variables:
1. DECONZ_CONBEE_TEST_HOST (e.g. "10.0.0.18")
2. DECONZ_CONBEE_TEST_APPKEY (e.g. "0A498B9909")
## Bugs and contribution
Please feel free to reach out. Issues and PR's are welcome!