Moved current zigbee prototype into zigbee-deconz plugin and disabled plugin.
This commit is contained in:
parent
49318f3191
commit
4f0398260b
18 changed files with 41 additions and 2215 deletions
|
|
@ -1,3 +0,0 @@
|
|||
dependencies {
|
||||
implementation project(':hal-core')
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,630 +0,0 @@
|
|||
<!--lint disable no-literal-urls-->
|
||||
<p align="center">
|
||||
<a href="https://nodejs.org/">
|
||||
<img
|
||||
alt="Node.js"
|
||||
src="https://nodejs.org/static/images/logo-light.svg"
|
||||
width="400"
|
||||
/>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
Node.js is an open-source, cross-platform, JavaScript runtime environment. It
|
||||
executes JavaScript code outside of a browser. For more information on using
|
||||
Node.js, see the [Node.js Website][].
|
||||
|
||||
The Node.js project uses an [open governance model](./GOVERNANCE.md). The
|
||||
[OpenJS Foundation][] provides support for the project.
|
||||
|
||||
**This project is bound by a [Code of Conduct][].**
|
||||
|
||||
# Table of Contents
|
||||
|
||||
* [Support](#support)
|
||||
* [Release Types](#release-types)
|
||||
* [Download](#download)
|
||||
* [Current and LTS Releases](#current-and-lts-releases)
|
||||
* [Nightly Releases](#nightly-releases)
|
||||
* [API Documentation](#api-documentation)
|
||||
* [Verifying Binaries](#verifying-binaries)
|
||||
* [Building Node.js](#building-nodejs)
|
||||
* [Security](#security)
|
||||
* [Contributing to Node.js](#contributing-to-nodejs)
|
||||
* [Current Project Team Members](#current-project-team-members)
|
||||
* [TSC (Technical Steering Committee)](#tsc-technical-steering-committee)
|
||||
* [Collaborators](#collaborators)
|
||||
* [Release Keys](#release-keys)
|
||||
|
||||
## Support
|
||||
|
||||
Looking for help? Check out the
|
||||
[instructions for getting support](.github/SUPPORT.md).
|
||||
|
||||
## Release Types
|
||||
|
||||
* **Current**: Under active development. Code for the Current release is in the
|
||||
branch for its major version number (for example,
|
||||
[v10.x](https://github.com/nodejs/node/tree/v10.x)). Node.js releases a new
|
||||
major version every 6 months, allowing for breaking changes. This happens in
|
||||
April and October every year. Releases appearing each October have a support
|
||||
life of 8 months. Releases appearing each April convert to LTS (see below)
|
||||
each October.
|
||||
* **LTS**: Releases that receive Long-term Support, with a focus on stability
|
||||
and security. Every even-numbered major version will become an LTS release.
|
||||
LTS releases receive 12 months of _Active LTS_ support and a further 18 months
|
||||
of _Maintenance_. LTS release lines have alphabetically-ordered codenames,
|
||||
beginning with v4 Argon. There are no breaking changes or feature additions,
|
||||
except in some special circumstances.
|
||||
* **Nightly**: Code from the Current branch built every 24-hours when there are
|
||||
changes. Use with caution.
|
||||
|
||||
Current and LTS releases follow [Semantic Versioning](https://semver.org). A
|
||||
member of the Release Team [signs](#release-keys) each Current and LTS release.
|
||||
For more information, see the
|
||||
[Release README](https://github.com/nodejs/Release#readme).
|
||||
|
||||
### Download
|
||||
|
||||
Binaries, installers, and source tarballs are available at
|
||||
<https://nodejs.org/en/download/>.
|
||||
|
||||
#### Current and LTS Releases
|
||||
<https://nodejs.org/download/release/>
|
||||
|
||||
The [latest](https://nodejs.org/download/release/latest/) directory is an
|
||||
alias for the latest Current release. The latest-_codename_ directory is an
|
||||
alias for the latest release from an LTS line. For example, the
|
||||
[latest-carbon](https://nodejs.org/download/release/latest-carbon/) directory
|
||||
contains the latest Carbon (Node.js 8) release.
|
||||
|
||||
#### Nightly Releases
|
||||
<https://nodejs.org/download/nightly/>
|
||||
|
||||
Each directory name and filename contains a date (in UTC) and the commit
|
||||
SHA at the HEAD of the release.
|
||||
|
||||
#### API Documentation
|
||||
|
||||
Documentation for the latest Current release is at <https://nodejs.org/api/>.
|
||||
Version-specific documentation is available in each release directory in the
|
||||
_docs_ subdirectory. Version-specific documentation is also at
|
||||
<https://nodejs.org/download/docs/>.
|
||||
|
||||
### Verifying Binaries
|
||||
|
||||
Download directories contain a `SHASUMS256.txt` file with SHA checksums for the
|
||||
files.
|
||||
|
||||
To download `SHASUMS256.txt` using `curl`:
|
||||
|
||||
```console
|
||||
$ curl -O https://nodejs.org/dist/vx.y.z/SHASUMS256.txt
|
||||
```
|
||||
|
||||
To check that a downloaded file matches the checksum, run
|
||||
it through `sha256sum` with a command such as:
|
||||
|
||||
```console
|
||||
$ grep node-vx.y.z.tar.gz SHASUMS256.txt | sha256sum -c -
|
||||
```
|
||||
|
||||
For Current and LTS, the GPG detached signature of `SHASUMS256.txt` is in
|
||||
`SHASUMS256.txt.sig`. You can use it with `gpg` to verify the integrity of
|
||||
`SHASUM256.txt`. You will first need to import
|
||||
[the GPG keys of individuals authorized to create releases](#release-keys). To
|
||||
import the keys:
|
||||
|
||||
```console
|
||||
$ gpg --keyserver pool.sks-keyservers.net --recv-keys DD8F2338BAE7501E3DD5AC78C273792F7D83545D
|
||||
```
|
||||
|
||||
See the bottom of this README for a full script to import active release keys.
|
||||
|
||||
Next, download the `SHASUMS256.txt.sig` for the release:
|
||||
|
||||
```console
|
||||
$ curl -O https://nodejs.org/dist/vx.y.z/SHASUMS256.txt.sig
|
||||
```
|
||||
|
||||
Then use `gpg --verify SHASUMS256.txt.sig SHASUMS256.txt` to verify
|
||||
the file's signature.
|
||||
|
||||
## Building Node.js
|
||||
|
||||
See [BUILDING.md](BUILDING.md) for instructions on how to build Node.js from
|
||||
source and a list of supported platforms.
|
||||
|
||||
## Security
|
||||
|
||||
For information on reporting security vulnerabilities in Node.js, see
|
||||
[SECURITY.md](./SECURITY.md).
|
||||
|
||||
## Contributing to Node.js
|
||||
|
||||
* [Contributing to the project][]
|
||||
* [Working Groups][]
|
||||
* [Strategic Initiatives][]
|
||||
|
||||
## Current Project Team Members
|
||||
|
||||
For information about the governance of the Node.js project, see
|
||||
[GOVERNANCE.md](./GOVERNANCE.md).
|
||||
|
||||
### TSC (Technical Steering Committee)
|
||||
|
||||
<!--lint disable prohibited-strings-->
|
||||
* [addaleax](https://github.com/addaleax) -
|
||||
**Anna Henningsen** <anna@addaleax.net> (she/her)
|
||||
* [apapirovski](https://github.com/apapirovski) -
|
||||
**Anatoli Papirovski** <apapirovski@mac.com> (he/him)
|
||||
* [BethGriggs](https://github.com/BethGriggs) -
|
||||
**Beth Griggs** <Bethany.Griggs@uk.ibm.com> (she/her)
|
||||
* [BridgeAR](https://github.com/BridgeAR) -
|
||||
**Ruben Bridgewater** <ruben@bridgewater.de> (he/him)
|
||||
* [ChALkeR](https://github.com/ChALkeR) -
|
||||
**Сковорода Никита Андреевич** <chalkerx@gmail.com> (he/him)
|
||||
* [cjihrig](https://github.com/cjihrig) -
|
||||
**Colin Ihrig** <cjihrig@gmail.com> (he/him)
|
||||
* [codebytere](https://github.com/codebytere) -
|
||||
**Shelley Vohr** <codebytere@gmail.com> (she/her)
|
||||
* [danbev](https://github.com/danbev) -
|
||||
**Daniel Bevenius** <daniel.bevenius@gmail.com> (he/him)
|
||||
* [fhinkel](https://github.com/fhinkel) -
|
||||
**Franziska Hinkelmann** <franziska.hinkelmann@gmail.com> (she/her)
|
||||
* [gabrielschulhof](https://github.com/gabrielschulhof) -
|
||||
**Gabriel Schulhof** <gabriel.schulhof@intel.com>
|
||||
* [gireeshpunathil](https://github.com/gireeshpunathil) -
|
||||
**Gireesh Punathil** <gpunathi@in.ibm.com> (he/him)
|
||||
* [jasnell](https://github.com/jasnell) -
|
||||
**James M Snell** <jasnell@gmail.com> (he/him)
|
||||
* [joyeecheung](https://github.com/joyeecheung) -
|
||||
**Joyee Cheung** <joyeec9h3@gmail.com> (she/her)
|
||||
* [mcollina](https://github.com/mcollina) -
|
||||
**Matteo Collina** <matteo.collina@gmail.com> (he/him)
|
||||
* [mhdawson](https://github.com/mhdawson) -
|
||||
**Michael Dawson** <michael_dawson@ca.ibm.com> (he/him)
|
||||
* [mmarchini](https://github.com/mmarchini) -
|
||||
**Matheus Marchini** <mat@mmarchini.me>
|
||||
* [MylesBorins](https://github.com/MylesBorins) -
|
||||
**Myles Borins** <myles.borins@gmail.com> (he/him)
|
||||
* [targos](https://github.com/targos) -
|
||||
**Michaël Zasso** <targos@protonmail.com> (he/him)
|
||||
* [tniessen](https://github.com/tniessen) -
|
||||
**Tobias Nießen** <tniessen@tnie.de>
|
||||
* [Trott](https://github.com/Trott) -
|
||||
**Rich Trott** <rtrott@gmail.com> (he/him)
|
||||
|
||||
### TSC Emeriti
|
||||
|
||||
* [bnoordhuis](https://github.com/bnoordhuis) -
|
||||
**Ben Noordhuis** <info@bnoordhuis.nl>
|
||||
* [chrisdickinson](https://github.com/chrisdickinson) -
|
||||
**Chris Dickinson** <christopher.s.dickinson@gmail.com>
|
||||
* [evanlucas](https://github.com/evanlucas) -
|
||||
**Evan Lucas** <evanlucas@me.com> (he/him)
|
||||
* [Fishrock123](https://github.com/Fishrock123) -
|
||||
**Jeremiah Senkpiel** <fishrock123@rocketmail.com> (he/they)
|
||||
* [gibfahn](https://github.com/gibfahn) -
|
||||
**Gibson Fahnestock** <gibfahn@gmail.com> (he/him)
|
||||
* [indutny](https://github.com/indutny) -
|
||||
**Fedor Indutny** <fedor.indutny@gmail.com>
|
||||
* [isaacs](https://github.com/isaacs) -
|
||||
**Isaac Z. Schlueter** <i@izs.me>
|
||||
* [joshgav](https://github.com/joshgav) -
|
||||
**Josh Gavant** <josh.gavant@outlook.com>
|
||||
* [mscdex](https://github.com/mscdex) -
|
||||
**Brian White** <mscdex@mscdex.net>
|
||||
* [nebrius](https://github.com/nebrius) -
|
||||
**Bryan Hughes** <bryan@nebri.us>
|
||||
* [ofrobots](https://github.com/ofrobots) -
|
||||
**Ali Ijaz Sheikh** <ofrobots@google.com> (he/him)
|
||||
* [orangemocha](https://github.com/orangemocha) -
|
||||
**Alexis Campailla** <orangemocha@nodejs.org>
|
||||
* [piscisaureus](https://github.com/piscisaureus) -
|
||||
**Bert Belder** <bertbelder@gmail.com>
|
||||
* [rvagg](https://github.com/rvagg) -
|
||||
**Rod Vagg** <r@va.gg>
|
||||
* [sam-github](https://github.com/sam-github) -
|
||||
**Sam Roberts** <vieuxtech@gmail.com>
|
||||
* [shigeki](https://github.com/shigeki) -
|
||||
**Shigeki Ohtsu** <ohtsu@ohtsu.org> (he/him)
|
||||
* [thefourtheye](https://github.com/thefourtheye) -
|
||||
**Sakthipriyan Vairamani** <thechargingvolcano@gmail.com> (he/him)
|
||||
* [TimothyGu](https://github.com/TimothyGu) -
|
||||
**Tiancheng "Timothy" Gu** <timothygu99@gmail.com> (he/him)
|
||||
* [trevnorris](https://github.com/trevnorris) -
|
||||
**Trevor Norris** <trev.norris@gmail.com>
|
||||
|
||||
### Collaborators
|
||||
|
||||
* [addaleax](https://github.com/addaleax) -
|
||||
**Anna Henningsen** <anna@addaleax.net> (she/her)
|
||||
* [ak239](https://github.com/ak239) -
|
||||
**Aleksei Koziatinskii** <ak239spb@gmail.com>
|
||||
* [AndreasMadsen](https://github.com/AndreasMadsen) -
|
||||
**Andreas Madsen** <amwebdk@gmail.com> (he/him)
|
||||
* [antsmartian](https://github.com/antsmartian) -
|
||||
**Anto Aravinth** <anto.aravinth.cse@gmail.com> (he/him)
|
||||
* [apapirovski](https://github.com/apapirovski) -
|
||||
**Anatoli Papirovski** <apapirovski@mac.com> (he/him)
|
||||
* [AshCripps](https://github.com/AshCripps) -
|
||||
**Ash Cripps** <ashley.cripps@ibm.com>
|
||||
* [bcoe](https://github.com/bcoe) -
|
||||
**Ben Coe** <bencoe@gmail.com> (he/him)
|
||||
* [bengl](https://github.com/bengl) -
|
||||
**Bryan English** <bryan@bryanenglish.com> (he/him)
|
||||
* [benjamingr](https://github.com/benjamingr) -
|
||||
**Benjamin Gruenbaum** <benjamingr@gmail.com>
|
||||
* [BethGriggs](https://github.com/BethGriggs) -
|
||||
**Beth Griggs** <Bethany.Griggs@uk.ibm.com> (she/her)
|
||||
* [bmeck](https://github.com/bmeck) -
|
||||
**Bradley Farias** <bradley.meck@gmail.com>
|
||||
* [bmeurer](https://github.com/bmeurer) -
|
||||
**Benedikt Meurer** <benedikt.meurer@gmail.com>
|
||||
* [bnoordhuis](https://github.com/bnoordhuis) -
|
||||
**Ben Noordhuis** <info@bnoordhuis.nl>
|
||||
* [boneskull](https://github.com/boneskull) -
|
||||
**Christopher Hiller** <boneskull@boneskull.com> (he/him)
|
||||
* [BridgeAR](https://github.com/BridgeAR) -
|
||||
**Ruben Bridgewater** <ruben@bridgewater.de> (he/him)
|
||||
* [bzoz](https://github.com/bzoz) -
|
||||
**Bartosz Sosnowski** <bartosz@janeasystems.com>
|
||||
* [cclauss](https://github.com/cclauss) -
|
||||
**Christian Clauss** <cclauss@me.com> (he/him)
|
||||
* [ChALkeR](https://github.com/ChALkeR) -
|
||||
**Сковорода Никита Андреевич** <chalkerx@gmail.com> (he/him)
|
||||
* [cjihrig](https://github.com/cjihrig) -
|
||||
**Colin Ihrig** <cjihrig@gmail.com> (he/him)
|
||||
* [codebytere](https://github.com/codebytere) -
|
||||
**Shelley Vohr** <codebytere@gmail.com> (she/her)
|
||||
* [danbev](https://github.com/danbev) -
|
||||
**Daniel Bevenius** <daniel.bevenius@gmail.com> (he/him)
|
||||
* [danielleadams](https://github.com/danielleadams) -
|
||||
**Danielle Adams** <adamzdanielle@gmail.com> (she/her)
|
||||
* [davisjam](https://github.com/davisjam) -
|
||||
**Jamie Davis** <davisjam@vt.edu> (he/him)
|
||||
* [devnexen](https://github.com/devnexen) -
|
||||
**David Carlier** <devnexen@gmail.com>
|
||||
* [devsnek](https://github.com/devsnek) -
|
||||
**Gus Caplan** <me@gus.host> (he/him)
|
||||
* [edsadr](https://github.com/edsadr) -
|
||||
**Adrian Estrada** <edsadr@gmail.com> (he/him)
|
||||
* [eugeneo](https://github.com/eugeneo) -
|
||||
**Eugene Ostroukhov** <eostroukhov@google.com>
|
||||
* [evanlucas](https://github.com/evanlucas) -
|
||||
**Evan Lucas** <evanlucas@me.com> (he/him)
|
||||
* [fhinkel](https://github.com/fhinkel) -
|
||||
**Franziska Hinkelmann** <franziska.hinkelmann@gmail.com> (she/her)
|
||||
* [Fishrock123](https://github.com/Fishrock123) -
|
||||
**Jeremiah Senkpiel** <fishrock123@rocketmail.com> (he/they)
|
||||
* [Flarna](https://github.com/Flarna) -
|
||||
**Gerhard Stöbich** <deb2001-github@yahoo.de> (he/they)
|
||||
* [gabrielschulhof](https://github.com/gabrielschulhof) -
|
||||
**Gabriel Schulhof** <gabriel.schulhof@intel.com>
|
||||
* [gdams](https://github.com/gdams) -
|
||||
**George Adams** <george.adams@uk.ibm.com> (he/him)
|
||||
* [geek](https://github.com/geek) -
|
||||
**Wyatt Preul** <wpreul@gmail.com>
|
||||
* [gengjiawen](https://github.com/gengjiawen) -
|
||||
**Jiawen Geng** <technicalcute@gmail.com>
|
||||
* [GeoffreyBooth](https://github.com/geoffreybooth) -
|
||||
**Geoffrey Booth** <webmaster@geoffreybooth.com> (he/him)
|
||||
* [gireeshpunathil](https://github.com/gireeshpunathil) -
|
||||
**Gireesh Punathil** <gpunathi@in.ibm.com> (he/him)
|
||||
* [guybedford](https://github.com/guybedford) -
|
||||
**Guy Bedford** <guybedford@gmail.com> (he/him)
|
||||
* [HarshithaKP](https://github.com/HarshithaKP) -
|
||||
**Harshitha K P** <harshitha014@gmail.com> (she/her)
|
||||
* [hashseed](https://github.com/hashseed) -
|
||||
**Yang Guo** <yangguo@chromium.org> (he/him)
|
||||
* [himself65](https://github.com/himself65) -
|
||||
**Zeyu Yang** <himself65@outlook.com> (he/him)
|
||||
* [hiroppy](https://github.com/hiroppy) -
|
||||
**Yuta Hiroto** <hello@hiroppy.me> (he/him)
|
||||
* [indutny](https://github.com/indutny) -
|
||||
**Fedor Indutny** <fedor.indutny@gmail.com>
|
||||
* [JacksonTian](https://github.com/JacksonTian) -
|
||||
**Jackson Tian** <shyvo1987@gmail.com>
|
||||
* [jasnell](https://github.com/jasnell) -
|
||||
**James M Snell** <jasnell@gmail.com> (he/him)
|
||||
* [jdalton](https://github.com/jdalton) -
|
||||
**John-David Dalton** <john.david.dalton@gmail.com>
|
||||
* [jkrems](https://github.com/jkrems) -
|
||||
**Jan Krems** <jan.krems@gmail.com> (he/him)
|
||||
* [joaocgreis](https://github.com/joaocgreis) -
|
||||
**João Reis** <reis@janeasystems.com>
|
||||
* [joyeecheung](https://github.com/joyeecheung) -
|
||||
**Joyee Cheung** <joyeec9h3@gmail.com> (she/her)
|
||||
* [juanarbol](https://github.com/juanarbol) -
|
||||
**Juan José Arboleda** <soyjuanarbol@gmail.com> (he/him)
|
||||
* [JungMinu](https://github.com/JungMinu) -
|
||||
**Minwoo Jung** <nodecorelab@gmail.com> (he/him)
|
||||
* [lance](https://github.com/lance) -
|
||||
**Lance Ball** <lball@redhat.com> (he/him)
|
||||
* [legendecas](https://github.com/legendecas) -
|
||||
**Chengzhong Wu** <legendecas@gmail.com> (he/him)
|
||||
* [Leko](https://github.com/Leko) -
|
||||
**Shingo Inoue** <leko.noor@gmail.com> (he/him)
|
||||
* [lpinca](https://github.com/lpinca) -
|
||||
**Luigi Pinca** <luigipinca@gmail.com> (he/him)
|
||||
* [lundibundi](https://github.com/lundibundi) -
|
||||
**Denys Otrishko** <shishugi@gmail.com> (he/him)
|
||||
* [mafintosh](https://github.com/mafintosh) -
|
||||
**Mathias Buus** <mathiasbuus@gmail.com> (he/him)
|
||||
* [mcollina](https://github.com/mcollina) -
|
||||
**Matteo Collina** <matteo.collina@gmail.com> (he/him)
|
||||
* [mhdawson](https://github.com/mhdawson) -
|
||||
**Michael Dawson** <michael_dawson@ca.ibm.com> (he/him)
|
||||
* [mildsunrise](https://github.com/mildsunrise) -
|
||||
**Alba Mendez** <me@alba.sh> (she/her)
|
||||
* [misterdjules](https://github.com/misterdjules) -
|
||||
**Julien Gilli** <jgilli@nodejs.org>
|
||||
* [mmarchini](https://github.com/mmarchini) -
|
||||
**Matheus Marchini** <mat@mmarchini.me>
|
||||
* [mscdex](https://github.com/mscdex) -
|
||||
**Brian White** <mscdex@mscdex.net>
|
||||
* [MylesBorins](https://github.com/MylesBorins) -
|
||||
**Myles Borins** <myles.borins@gmail.com> (he/him)
|
||||
* [ofrobots](https://github.com/ofrobots) -
|
||||
**Ali Ijaz Sheikh** <ofrobots@google.com> (he/him)
|
||||
* [oyyd](https://github.com/oyyd) -
|
||||
**Ouyang Yadong** <oyydoibh@gmail.com> (he/him)
|
||||
* [psmarshall](https://github.com/psmarshall) -
|
||||
**Peter Marshall** <petermarshall@chromium.org> (he/him)
|
||||
* [puzpuzpuz](https://github.com/puzpuzpuz) -
|
||||
**Andrey Pechkurov** <apechkurov@gmail.com> (he/him)
|
||||
* [Qard](https://github.com/Qard) -
|
||||
**Stephen Belanger** <admin@stephenbelanger.com> (he/him)
|
||||
* [refack](https://github.com/refack) -
|
||||
**Refael Ackermann (רפאל פלחי)** <refack@gmail.com> (he/him/הוא/אתה)
|
||||
* [rexagod](https://github.com/rexagod) -
|
||||
**Pranshu Srivastava** <rexagod@gmail.com> (he/him)
|
||||
* [richardlau](https://github.com/richardlau) -
|
||||
**Richard Lau** <riclau@uk.ibm.com>
|
||||
* [ronag](https://github.com/ronag) -
|
||||
**Robert Nagy** <ronagy@icloud.com>
|
||||
* [ronkorving](https://github.com/ronkorving) -
|
||||
**Ron Korving** <ron@ronkorving.nl>
|
||||
* [rubys](https://github.com/rubys) -
|
||||
**Sam Ruby** <rubys@intertwingly.net>
|
||||
* [ruyadorno](https://github.com/ruyadorno) -
|
||||
**Ruy Adorno** <ruyadorno@github.com> (he/him)
|
||||
* [rvagg](https://github.com/rvagg) -
|
||||
**Rod Vagg** <rod@vagg.org>
|
||||
* [ryzokuken](https://github.com/ryzokuken) -
|
||||
**Ujjwal Sharma** <ryzokuken@disroot.org> (he/him)
|
||||
* [saghul](https://github.com/saghul) -
|
||||
**Saúl Ibarra Corretgé** <saghul@gmail.com>
|
||||
* [santigimeno](https://github.com/santigimeno) -
|
||||
**Santiago Gimeno** <santiago.gimeno@gmail.com>
|
||||
* [seishun](https://github.com/seishun) -
|
||||
**Nikolai Vavilov** <vvnicholas@gmail.com>
|
||||
* [shigeki](https://github.com/shigeki) -
|
||||
**Shigeki Ohtsu** <ohtsu@ohtsu.org> (he/him)
|
||||
* [shisama](https://github.com/shisama) -
|
||||
**Masashi Hirano** <shisama07@gmail.com> (he/him)
|
||||
* [silverwind](https://github.com/silverwind) -
|
||||
**Roman Reiss** <me@silverwind.io>
|
||||
* [srl295](https://github.com/srl295) -
|
||||
**Steven R Loomis** <srloomis@us.ibm.com>
|
||||
* [starkwang](https://github.com/starkwang) -
|
||||
**Weijia Wang** <starkwang@126.com>
|
||||
* [sxa](https://github.com/sxa) -
|
||||
**Stewart X Addison** <sxa@uk.ibm.com>
|
||||
* [targos](https://github.com/targos) -
|
||||
**Michaël Zasso** <targos@protonmail.com> (he/him)
|
||||
* [TimothyGu](https://github.com/TimothyGu) -
|
||||
**Tiancheng "Timothy" Gu** <timothygu99@gmail.com> (he/him)
|
||||
* [tniessen](https://github.com/tniessen) -
|
||||
**Tobias Nießen** <tniessen@tnie.de>
|
||||
* [trivikr](https://github.com/trivikr) -
|
||||
**Trivikram Kamat** <trivikr.dev@gmail.com>
|
||||
* [Trott](https://github.com/Trott) -
|
||||
**Rich Trott** <rtrott@gmail.com> (he/him)
|
||||
* [vdeturckheim](https://github.com/vdeturckheim) -
|
||||
**Vladimir de Turckheim** <vlad2t@hotmail.com> (he/him)
|
||||
* [watilde](https://github.com/watilde) -
|
||||
**Daijiro Wachi** <daijiro.wachi@gmail.com> (he/him)
|
||||
* [watson](https://github.com/watson) -
|
||||
**Thomas Watson** <w@tson.dk>
|
||||
* [XadillaX](https://github.com/XadillaX) -
|
||||
**Khaidi Chu** <i@2333.moe> (he/him)
|
||||
* [yhwang](https://github.com/yhwang) -
|
||||
**Yihong Wang** <yh.wang@ibm.com>
|
||||
* [yorkie](https://github.com/yorkie) -
|
||||
**Yorkie Liu** <yorkiefixer@gmail.com>
|
||||
* [yosuke-furukawa](https://github.com/yosuke-furukawa) -
|
||||
**Yosuke Furukawa** <yosuke.furukawa@gmail.com>
|
||||
* [ZYSzys](https://github.com/ZYSzys) -
|
||||
**Yongsheng Zhang** <zyszys98@gmail.com> (he/him)
|
||||
|
||||
### Collaborator Emeriti
|
||||
|
||||
* [andrasq](https://github.com/andrasq) -
|
||||
**Andras** <andras@kinvey.com>
|
||||
* [AnnaMag](https://github.com/AnnaMag) -
|
||||
**Anna M. Kedzierska** <anna.m.kedzierska@gmail.com>
|
||||
* [aqrln](https://github.com/aqrln) -
|
||||
**Alexey Orlenko** <eaglexrlnk@gmail.com> (he/him)
|
||||
* [brendanashworth](https://github.com/brendanashworth) -
|
||||
**Brendan Ashworth** <brendan.ashworth@me.com>
|
||||
* [calvinmetcalf](https://github.com/calvinmetcalf) -
|
||||
**Calvin Metcalf** <calvin.metcalf@gmail.com>
|
||||
* [chrisdickinson](https://github.com/chrisdickinson) -
|
||||
**Chris Dickinson** <christopher.s.dickinson@gmail.com>
|
||||
* [claudiorodriguez](https://github.com/claudiorodriguez) -
|
||||
**Claudio Rodriguez** <cjrodr@yahoo.com>
|
||||
* [DavidCai1993](https://github.com/DavidCai1993) -
|
||||
**David Cai** <davidcai1993@yahoo.com> (he/him)
|
||||
* [digitalinfinity](https://github.com/digitalinfinity) -
|
||||
**Hitesh Kanwathirtha** <digitalinfinity@gmail.com> (he/him)
|
||||
* [eljefedelrodeodeljefe](https://github.com/eljefedelrodeodeljefe) -
|
||||
**Robert Jefe Lindstaedt** <robert.lindstaedt@gmail.com>
|
||||
* [estliberitas](https://github.com/estliberitas) -
|
||||
**Alexander Makarenko** <estliberitas@gmail.com>
|
||||
* [firedfox](https://github.com/firedfox) -
|
||||
**Daniel Wang** <wangyang0123@gmail.com>
|
||||
* [gibfahn](https://github.com/gibfahn) -
|
||||
**Gibson Fahnestock** <gibfahn@gmail.com> (he/him)
|
||||
* [glentiki](https://github.com/glentiki) -
|
||||
**Glen Keane** <glenkeane.94@gmail.com> (he/him)
|
||||
* [iarna](https://github.com/iarna) -
|
||||
**Rebecca Turner** <me@re-becca.org>
|
||||
* [imran-iq](https://github.com/imran-iq) -
|
||||
**Imran Iqbal** <imran@imraniqbal.org>
|
||||
* [imyller](https://github.com/imyller) -
|
||||
**Ilkka Myller** <ilkka.myller@nodefield.com>
|
||||
* [isaacs](https://github.com/isaacs) -
|
||||
**Isaac Z. Schlueter** <i@izs.me>
|
||||
* [italoacasas](https://github.com/italoacasas) -
|
||||
**Italo A. Casas** <me@italoacasas.com> (he/him)
|
||||
* [jasongin](https://github.com/jasongin) -
|
||||
**Jason Ginchereau** <jasongin@microsoft.com>
|
||||
* [jbergstroem](https://github.com/jbergstroem) -
|
||||
**Johan Bergström** <bugs@bergstroem.nu>
|
||||
* [jhamhader](https://github.com/jhamhader) -
|
||||
**Yuval Brik** <yuval@brik.org.il>
|
||||
* [joshgav](https://github.com/joshgav) -
|
||||
**Josh Gavant** <josh.gavant@outlook.com>
|
||||
* [julianduque](https://github.com/julianduque) -
|
||||
**Julian Duque** <julianduquej@gmail.com> (he/him)
|
||||
* [kfarnung](https://github.com/kfarnung) -
|
||||
**Kyle Farnung** <kfarnung@microsoft.com> (he/him)
|
||||
* [kunalspathak](https://github.com/kunalspathak) -
|
||||
**Kunal Pathak** <kunal.pathak@microsoft.com>
|
||||
* [lucamaraschi](https://github.com/lucamaraschi) -
|
||||
**Luca Maraschi** <luca.maraschi@gmail.com> (he/him)
|
||||
* [lxe](https://github.com/lxe) -
|
||||
**Aleksey Smolenchuk** <lxe@lxe.co>
|
||||
* [maclover7](https://github.com/maclover7) -
|
||||
**Jon Moss** <me@jonathanmoss.me> (he/him)
|
||||
* [matthewloring](https://github.com/matthewloring) -
|
||||
**Matthew Loring** <mattloring@google.com>
|
||||
* [micnic](https://github.com/micnic) -
|
||||
**Nicu Micleușanu** <micnic90@gmail.com> (he/him)
|
||||
* [mikeal](https://github.com/mikeal) -
|
||||
**Mikeal Rogers** <mikeal.rogers@gmail.com>
|
||||
* [monsanto](https://github.com/monsanto) -
|
||||
**Christopher Monsanto** <chris@monsan.to>
|
||||
* [MoonBall](https://github.com/MoonBall) -
|
||||
**Chen Gang** <gangc.cxy@foxmail.com>
|
||||
* [not-an-aardvark](https://github.com/not-an-aardvark) -
|
||||
**Teddy Katz** <teddy.katz@gmail.com> (he/him)
|
||||
* [Olegas](https://github.com/Olegas) -
|
||||
**Oleg Elifantiev** <oleg@elifantiev.ru>
|
||||
* [orangemocha](https://github.com/orangemocha) -
|
||||
**Alexis Campailla** <orangemocha@nodejs.org>
|
||||
* [othiym23](https://github.com/othiym23) -
|
||||
**Forrest L Norvell** <ogd@aoaioxxysz.net> (he/him)
|
||||
* [petkaantonov](https://github.com/petkaantonov) -
|
||||
**Petka Antonov** <petka_antonov@hotmail.com>
|
||||
* [phillipj](https://github.com/phillipj) -
|
||||
**Phillip Johnsen** <johphi@gmail.com>
|
||||
* [piscisaureus](https://github.com/piscisaureus) -
|
||||
**Bert Belder** <bertbelder@gmail.com>
|
||||
* [pmq20](https://github.com/pmq20) -
|
||||
**Minqi Pan** <pmq2001@gmail.com>
|
||||
* [princejwesley](https://github.com/princejwesley) -
|
||||
**Prince John Wesley** <princejohnwesley@gmail.com>
|
||||
* [rlidwka](https://github.com/rlidwka) -
|
||||
**Alex Kocharin** <alex@kocharin.ru>
|
||||
* [rmg](https://github.com/rmg) -
|
||||
**Ryan Graham** <r.m.graham@gmail.com>
|
||||
* [robertkowalski](https://github.com/robertkowalski) -
|
||||
**Robert Kowalski** <rok@kowalski.gd>
|
||||
* [romankl](https://github.com/romankl) -
|
||||
**Roman Klauke** <romaaan.git@gmail.com>
|
||||
* [RReverser](https://github.com/RReverser) -
|
||||
**Ingvar Stepanyan** <me@rreverser.com>
|
||||
* [sam-github](https://github.com/sam-github) -
|
||||
**Sam Roberts** <vieuxtech@gmail.com>
|
||||
* [sebdeckers](https://github.com/sebdeckers) -
|
||||
**Sebastiaan Deckers** <sebdeckers83@gmail.com>
|
||||
* [stefanmb](https://github.com/stefanmb) -
|
||||
**Stefan Budeanu** <stefan@budeanu.com>
|
||||
* [tellnes](https://github.com/tellnes) -
|
||||
**Christian Tellnes** <christian@tellnes.no>
|
||||
* [thefourtheye](https://github.com/thefourtheye) -
|
||||
**Sakthipriyan Vairamani** <thechargingvolcano@gmail.com> (he/him)
|
||||
* [thlorenz](https://github.com/thlorenz) -
|
||||
**Thorsten Lorenz** <thlorenz@gmx.de>
|
||||
* [trevnorris](https://github.com/trevnorris) -
|
||||
**Trevor Norris** <trev.norris@gmail.com>
|
||||
* [tunniclm](https://github.com/tunniclm) -
|
||||
**Mike Tunnicliffe** <m.j.tunnicliffe@gmail.com>
|
||||
* [vkurchatkin](https://github.com/vkurchatkin) -
|
||||
**Vladimir Kurchatkin** <vladimir.kurchatkin@gmail.com>
|
||||
* [vsemozhetbyt](https://github.com/vsemozhetbyt) -
|
||||
**Vse Mozhet Byt** <vsemozhetbyt@gmail.com> (he/him)
|
||||
* [whitlockjc](https://github.com/whitlockjc) -
|
||||
**Jeremy Whitlock** <jwhitlock@apache.org>
|
||||
<!--lint enable prohibited-strings-->
|
||||
|
||||
Collaborators follow the [Collaborator Guide](./doc/guides/collaborator-guide.md) in
|
||||
maintaining the Node.js project.
|
||||
|
||||
### Release Keys
|
||||
|
||||
Primary GPG keys for Node.js Releasers (some Releasers sign with subkeys):
|
||||
|
||||
* **Beth Griggs** <bethany.griggs@uk.ibm.com>
|
||||
`4ED778F539E3634C779C87C6D7062848A1AB005C`
|
||||
* **Colin Ihrig** <cjihrig@gmail.com>
|
||||
`94AE36675C464D64BAFA68DD7434390BDBE9B9C5`
|
||||
* **James M Snell** <jasnell@keybase.io>
|
||||
`71DCFD284A79C3B38668286BC97EC7A07EDE3FC1`
|
||||
* **Michaël Zasso** <targos@protonmail.com>
|
||||
`8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600`
|
||||
* **Myles Borins** <myles.borins@gmail.com>
|
||||
`C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8`
|
||||
* **Richard Lau** <riclau@uk.ibm.com>
|
||||
`C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C`
|
||||
* **Rod Vagg** <rod@vagg.org>
|
||||
`DD8F2338BAE7501E3DD5AC78C273792F7D83545D`
|
||||
* **Ruben Bridgewater** <ruben@bridgewater.de>
|
||||
`A48C2BEE680E841632CD4E44F07496B3EB3C1762`
|
||||
* **Shelley Vohr** <shelley.vohr@gmail.com>
|
||||
`B9E2F5981AA6E0CD28160D9FF13993A75599653C`
|
||||
|
||||
To import the full set of trusted release keys:
|
||||
|
||||
```bash
|
||||
gpg --keyserver pool.sks-keyservers.net --recv-keys 4ED778F539E3634C779C87C6D7062848A1AB005C
|
||||
gpg --keyserver pool.sks-keyservers.net --recv-keys 94AE36675C464D64BAFA68DD7434390BDBE9B9C5
|
||||
gpg --keyserver pool.sks-keyservers.net --recv-keys 71DCFD284A79C3B38668286BC97EC7A07EDE3FC1
|
||||
gpg --keyserver pool.sks-keyservers.net --recv-keys 8FCCA13FEF1D0C2E91008E09770F7A9A5AE15600
|
||||
gpg --keyserver pool.sks-keyservers.net --recv-keys C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8
|
||||
gpg --keyserver pool.sks-keyservers.net --recv-keys C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C
|
||||
gpg --keyserver pool.sks-keyservers.net --recv-keys DD8F2338BAE7501E3DD5AC78C273792F7D83545D
|
||||
gpg --keyserver pool.sks-keyservers.net --recv-keys A48C2BEE680E841632CD4E44F07496B3EB3C1762
|
||||
gpg --keyserver pool.sks-keyservers.net --recv-keys B9E2F5981AA6E0CD28160D9FF13993A75599653C
|
||||
```
|
||||
|
||||
See the section above on [Verifying Binaries](#verifying-binaries) for how to
|
||||
use these keys to verify a downloaded file.
|
||||
|
||||
Other keys used to sign some previous releases:
|
||||
|
||||
* **Chris Dickinson** <christopher.s.dickinson@gmail.com>
|
||||
`9554F04D7259F04124DE6B476D5A82AC7E37093B`
|
||||
* **Evan Lucas** <evanlucas@me.com>
|
||||
`B9AE9905FFD7803F25714661B63B535A4C206CA9`
|
||||
* **Gibson Fahnestock** <gibfahn@gmail.com>
|
||||
`77984A986EBC2AA786BC0F66B01FBB92821C587A`
|
||||
* **Isaac Z. Schlueter** <i@izs.me>
|
||||
`93C7E9E91B49E432C2F75674B0A78B0A6C481CF6`
|
||||
* **Italo A. Casas** <me@italoacasas.com>
|
||||
`56730D5401028683275BD23C23EFEFE93C4CFFFE`
|
||||
* **Jeremiah Senkpiel** <fishrock@keybase.io>
|
||||
`FD3A5288F042B6850C66B31F09FE44734EB7990E`
|
||||
* **Julien Gilli** <jgilli@fastmail.fm>
|
||||
`114F43EE0176B71C7BC219DD50A3051F888C628D`
|
||||
* **Timothy J Fontaine** <tjfontaine@gmail.com>
|
||||
`7937DFD2AB06298B2293C3187D33FF9D0246406D`
|
||||
|
||||
[Code of Conduct]: https://github.com/nodejs/admin/blob/master/CODE_OF_CONDUCT.md
|
||||
[Contributing to the project]: CONTRIBUTING.md
|
||||
[Node.js Website]: https://nodejs.org/
|
||||
[OpenJS Foundation]: https://openjsf.org/
|
||||
[Working Groups]: https://github.com/nodejs/TSC/blob/master/WORKING_GROUPS.md
|
||||
[Strategic Initiatives]: https://github.com/nodejs/TSC/blob/master/Strategic-Initiatives.md
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,86 +0,0 @@
|
|||
package se.hal.plugin.zigbee;
|
||||
|
||||
import se.hal.HalContext;
|
||||
import se.hal.intf.*;
|
||||
import zutil.log.LogUtil;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
/**
|
||||
* Class will handle Zigbee devices through the deConz REST API and with devices supporting.
|
||||
*
|
||||
* <p>
|
||||
* Rest documentatiuon for deConz: https://dresden-elektronik.github.io/deconz-rest-doc/
|
||||
*/
|
||||
public class HalDeConzZigbeeController implements HalSensorController, HalEventController, HalAutoScannableController {
|
||||
private static final Logger logger = LogUtil.getLogger();
|
||||
|
||||
public static final String CONFIG_ZIGBEE_REST_URL = "zigbee.rest_url";
|
||||
public static final String CONFIG_ZIGBEE_REST_PORT = "zigbee.rest_port";
|
||||
public static final String CONFIG_ZIGBEE_REST_USERNAME = "zigbee.rest_username";
|
||||
public static final String CONFIG_ZIGBEE_REST_PASSWORD = "zigbee.rest_password";
|
||||
public static final String CONFIG_ZIGBEE_COM_PORT = "zigbee.com_port";
|
||||
|
||||
|
||||
@Override
|
||||
public boolean isAvailable() {
|
||||
return HalContext.containsProperty(CONFIG_ZIGBEE_REST_URL);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void initialize() throws Exception {
|
||||
// connect to deconz
|
||||
// if username is set use that for basic auth
|
||||
// else try without username or fail with log message that username should be setup
|
||||
|
||||
// Get API key
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void setListener(HalEventReportListener listener) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void register(HalEventConfig eventConfig) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deregister(HalEventConfig eventConfig) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void send(HalEventConfig eventConfig, HalEventData eventData) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void register(HalSensorConfig sensorConfig) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deregister(HalSensorConfig sensorConfig) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setListener(HalSensorReportListener listener) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public int size() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() {
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,99 +0,0 @@
|
|||
package se.hal.plugin.zigbee.deconz.rest;
|
||||
|
||||
import zutil.net.ws.WSInterface.WSPath;
|
||||
import zutil.net.ws.WSInterface.WSRequestType;
|
||||
import zutil.parser.DataNode;
|
||||
|
||||
import static zutil.net.ws.WSInterface.RequestType.*;
|
||||
|
||||
/**
|
||||
* The configuration endpoint allows to retreive and modify the current configuration of the gateway.
|
||||
*
|
||||
* @link https://dresden-elektronik.github.io/deconz-rest-doc/configuration/
|
||||
*/
|
||||
public interface DeConzRestConfig {
|
||||
|
||||
/**
|
||||
* Creates a new API key which provides authorized access to the REST API.
|
||||
*
|
||||
* @param deviceType Name of the client application. (required)
|
||||
* @param username Will be used as username. If not specified a random key will be generated. (optional)
|
||||
*/
|
||||
@WSRequestType(HTTP_POST)
|
||||
@WSPath("/api")
|
||||
DataNode getAPIKey(String deviceType, String username);
|
||||
|
||||
/**
|
||||
* Deletes an API key so it can no longer be used.
|
||||
*/
|
||||
@WSRequestType(HTTP_DELETE)
|
||||
@WSPath("/api/{{requestApiKey}}/config/whitelist/{{apikey2}}")
|
||||
DataNode deleteAPIKey(String requestApiKey, String deleteApiKey);
|
||||
|
||||
|
||||
/**
|
||||
* Returns the current gateway configuration.
|
||||
*/
|
||||
@WSRequestType(HTTP_GET)
|
||||
@WSPath("/api/{{requestApiKey}}/config")
|
||||
void getConfiguration(String requestApiKey);
|
||||
|
||||
/**
|
||||
* Modify configuration parameters.
|
||||
*/
|
||||
//@WSRequestType(HTTP_PUT)
|
||||
//@WSPath("/api/{{requestApiKey}}/config")
|
||||
//void setConfiguration(String requestApiKey);
|
||||
|
||||
/**
|
||||
* Returns the full state of the gateway including all its lights, groups, scenes and schedules.
|
||||
*/
|
||||
@WSRequestType(HTTP_GET)
|
||||
@WSPath("/api/{{requestApiKey}}")
|
||||
void getFullState(String requestApiKey);
|
||||
|
||||
|
||||
/**
|
||||
* Returns the newest software version available. Starts the update if available (only on raspberry pi).
|
||||
*/
|
||||
@WSRequestType(HTTP_POST)
|
||||
@WSPath("/api/{{requestApiKey}}/config/update")
|
||||
void updateSoftware(String requestApiKey);
|
||||
|
||||
/**
|
||||
* Starts the update firmware process if newer firmware is available.
|
||||
*/
|
||||
@WSRequestType(HTTP_POST)
|
||||
@WSPath("/api/{{requestApiKey}}/config/updatefirmware")
|
||||
void updateFirmware(String requestApiKey);
|
||||
|
||||
/**
|
||||
* Reset the gateway network settings to factory new and/or delete the deCONZ database (config, lights, scenes, groups, schedules, devices, rules).
|
||||
*
|
||||
* @param resetGW Set the network settings of the gateway to factory new. (optional)
|
||||
* @param deleteDB Delete the Database. (optional)
|
||||
*/
|
||||
@WSRequestType(HTTP_POST)
|
||||
@WSPath("/api/{{requestApiKey}}/config/reset")
|
||||
void resetGateway(String requestApiKey, boolean resetGW, boolean deleteDB);
|
||||
|
||||
|
||||
/**
|
||||
* Change the Password of the Gateway. The parameter must be a Base64 encoded combination of "<username>:<password>".
|
||||
*
|
||||
* @param username The user name (currently only "delight" is supported). (required)
|
||||
* @param oldHash String The Base64 encoded combination of "username:old password". (required)
|
||||
* @param newHash String The Base64 encoded combination of "username:new password". (required)
|
||||
*/
|
||||
@WSRequestType(HTTP_PUT)
|
||||
@WSPath("/api/{{requestApiKey}}/config/password")
|
||||
void setPassword(String requestApiKey, String username, String oldHash, String newHash);
|
||||
|
||||
/**
|
||||
* Resets the username and password to default ("delight","delight"). Only possible within 10 minutes after gateway start.
|
||||
*/
|
||||
@WSRequestType(HTTP_DELETE)
|
||||
@WSPath("/api/{{requestApiKey}}/config/password")
|
||||
void resetPassword(String requestApiKey);
|
||||
|
||||
}
|
||||
|
|
@ -1,79 +0,0 @@
|
|||
package se.hal.plugin.zigbee.deconz.rest;
|
||||
|
||||
import zutil.net.ws.WSInterface.WSPath;
|
||||
import zutil.net.ws.WSInterface.WSRequestType;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import static zutil.net.ws.WSInterface.RequestType.*;
|
||||
|
||||
/**
|
||||
* Groups are useful to control many lights at once and provide the base to use scenes.
|
||||
*
|
||||
* @link https://dresden-elektronik.github.io/deconz-rest-doc/groups/
|
||||
*/
|
||||
public interface DeConzRestGroups {
|
||||
|
||||
/**
|
||||
* Creates a new empty group.
|
||||
*
|
||||
* @param name The name of the new group. (required)
|
||||
*/
|
||||
@WSRequestType(HTTP_POST)
|
||||
@WSPath("/api/{{requestApiKey}}/groups")
|
||||
void createGroup(String requestApiKey, String name);
|
||||
|
||||
/**
|
||||
* Returns a list of all groups.
|
||||
*/
|
||||
@WSRequestType(HTTP_GET)
|
||||
@WSPath("/api/{{requestApiKey}}/groups")
|
||||
void getGroups(String requestApiKey);
|
||||
|
||||
/**
|
||||
* Returns the full state of a group.
|
||||
*/
|
||||
@WSRequestType(HTTP_GET)
|
||||
@WSPath("/api/{{requestApiKey}}/groups/{{groupId}}")
|
||||
void getGroup(String requestApiKey, int groupId);
|
||||
|
||||
/**
|
||||
* Sets attributes of a group which are not related to its state.
|
||||
*
|
||||
* @param name The name of the group optional
|
||||
* @param lights IDs of the lights which are members of the group. optional
|
||||
* @param hidden Indicates the hidden status of the group. Has no effect at the gateway but apps can uses this to hide groups. optional
|
||||
* @param lightSequence Specify a sorted list of light ids that can be used in apps. optional
|
||||
* @param multiDeviceIds Append the subsequential light ids of multidevices like the FLS-PP if the app should handle that light differently.
|
||||
*/
|
||||
@WSRequestType(HTTP_PUT)
|
||||
@WSPath("/api/{{requestApiKey}}/groups/{{groupId}}")
|
||||
void setGroup(String requestApiKey, int groupId, String name, List lights, boolean hidden, List lightSequence, List multiDeviceIds);
|
||||
|
||||
/**
|
||||
* Sets attributes of a group which are not related to its state.
|
||||
*
|
||||
* @param on Set to true to turn the lights on, false to turn them off. optional
|
||||
* @param toggle Set to true toggles the lights of that group from on to off or vice versa, false has no effect. **Notice:** This setting supersedes the `on` parameter! optional
|
||||
* @param bri Set the brightness of the group. Depending on the lights 0 might not mean visible "off" but minimum brightness. If the lights are off and the value is greater 0 a on=true shall also be provided. optional
|
||||
* @param hue Set the color hue of the group. The hue parameter in the HSV color model is between 0°-360° and is mapped to 0..65535 to get 16-bit resolution. optional
|
||||
* @param sat Set the color saturation of the group. There 0 means no color at all and 255 is the highest saturation of the color. optional
|
||||
* @param ct Set the Mired color temperature of the group. (2000K - 6500K) optional
|
||||
* @param xy Set the CIE xy color space coordinates as array [x, y] of real values (0..1). optional
|
||||
* @param alert Trigger a temporary alert effect: none (lights are not performing an alert), select (lights are blinking a short time), lselect (lights are blinking a longer time). (optional)
|
||||
* @param effect Trigger an effect of the group: none (no effect), colorloop (the lights of the group will cycle continously through all colors with the speed specified by colorloopspeed). (optional)
|
||||
* @param colorLoopSpeed Specifies the speed of a colorloop. 1 = very fast, 255 = very slow (default: 15). This parameter only has an effect when it is called together with effect colorloop. (optional)
|
||||
* @param transitionTime Transition time in 1/10 seconds between two states. (optional)
|
||||
*/
|
||||
@WSRequestType(HTTP_PUT)
|
||||
@WSPath("/api/{{requestApiKey}}/groups/{{groupId}}/action")
|
||||
void setGroupState(String requestApiKey, int groupId, boolean on, boolean toggle, int bri, int hue, int sat, int ct, List xy, String alert, String effect, int colorLoopSpeed, int transitionTime);
|
||||
|
||||
/**
|
||||
* Deletes a group.
|
||||
*/
|
||||
@WSRequestType(HTTP_DELETE)
|
||||
@WSPath("/api/{{requestApiKey}}/groups/{{groupId}}")
|
||||
void deleteGroup(String requestApiKey, int groupId);
|
||||
|
||||
}
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
package se.hal.plugin.zigbee.deconz.rest;
|
||||
|
||||
import zutil.net.ws.WSInterface.WSPath;
|
||||
import zutil.net.ws.WSInterface.WSRequestType;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import static zutil.net.ws.WSInterface.RequestType.*;
|
||||
|
||||
/**
|
||||
* Monitor and control single lights.
|
||||
*
|
||||
* @link https://dresden-elektronik.github.io/deconz-rest-doc/lights/
|
||||
*/
|
||||
public interface DeConzRestLights {
|
||||
|
||||
/**
|
||||
* Returns a list of all lights.
|
||||
*/
|
||||
@WSRequestType(HTTP_GET)
|
||||
@WSPath("/api/{{requestApiKey}}/lights")
|
||||
void getLights(String requestApiKey);
|
||||
|
||||
/**
|
||||
* Returns the full state of a light.
|
||||
*/
|
||||
@WSRequestType(HTTP_GET)
|
||||
@WSPath("/api/{{requestApiKey}}/lights/{{lightId}")
|
||||
void getLight(String requestApiKey, int lightId);
|
||||
|
||||
/**
|
||||
* Returns the full state of a light.
|
||||
*
|
||||
* @param name Set the name of the light. (required)
|
||||
*/
|
||||
@WSRequestType(HTTP_PUT)
|
||||
@WSPath("/api/{{requestApiKey}}/lights/{{lightId}")
|
||||
void setLight(String requestApiKey, int lightId, String name);
|
||||
|
||||
/**
|
||||
* Sets the state of a light.
|
||||
*
|
||||
* @param on Set to true to turn the lights on, false to turn them off. optional
|
||||
* @param toggle Set to true toggles the lights of that group from on to off or vice versa, false has no effect. **Notice:** This setting supersedes the `on` parameter! optional
|
||||
* @param bri Set the brightness of the group. Depending on the lights 0 might not mean visible "off" but minimum brightness. If the lights are off and the value is greater 0 a on=true shall also be provided. optional
|
||||
* @param hue Set the color hue of the group. The hue parameter in the HSV color model is between 0°-360° and is mapped to 0..65535 to get 16-bit resolution. optional
|
||||
* @param sat Set the color saturation of the group. There 0 means no color at all and 255 is the highest saturation of the color. optional
|
||||
* @param ct Set the Mired color temperature of the group. (2000K - 6500K) optional
|
||||
* @param xy Set the CIE xy color space coordinates as array [x, y] of real values (0..1). optional
|
||||
* @param alert Trigger a temporary alert effect: none (lights are not performing an alert), select (lights are blinking a short time), lselect (lights are blinking a longer time). (optional)
|
||||
* @param effect Trigger an effect of the group: none (no effect), colorloop (the lights of the group will cycle continously through all colors with the speed specified by colorloopspeed). (optional)
|
||||
* @param colorLoopSpeed Specifies the speed of a colorloop. 1 = very fast, 255 = very slow (default: 15). This parameter only has an effect when it is called together with effect colorloop. (optional)
|
||||
* @param transitionTime Transition time in 1/10 seconds between two states. (optional)
|
||||
*/
|
||||
@WSRequestType(HTTP_GET)
|
||||
@WSPath("/api/{{requestApiKey}}/lights/{{lightId}/state")
|
||||
void setLightState(String requestApiKey, int lightId, boolean on, boolean toggle, int bri, int hue, int sat, int ct, List xy, String alert, String effect, int colorLoopSpeed, int transitionTime);
|
||||
|
||||
/**
|
||||
* Removes the light from the gateway. It will not be shown in any rest api call. Also deletes all groups and scenes on the light device.
|
||||
*
|
||||
* @param reset If true sends a network leave command to the light device (may not supported by each manufacturer). (optional)
|
||||
*/
|
||||
@WSRequestType(HTTP_PUT)
|
||||
@WSPath("/api/{{requestApiKey}}/lights/{{lightId}")
|
||||
void deleteLight(String requestApiKey, int lightId, boolean reset);
|
||||
|
||||
/**
|
||||
* Remove the light from all groups it is a member of.
|
||||
*/
|
||||
@WSRequestType(HTTP_DELETE)
|
||||
@WSPath("/api/{{requestApiKey}}/lights/{{lightId}/groups")
|
||||
void deleteGroups(String requestApiKey, int lightId);
|
||||
|
||||
/**
|
||||
* Remove the light from all scenes it is a member of.
|
||||
*/
|
||||
@WSRequestType(HTTP_DELETE)
|
||||
@WSPath("/api/{{requestApiKey}}/lights/{{lightId}/scenes")
|
||||
void deleteScenes(String requestApiKey, int lightId);
|
||||
}
|
||||
|
|
@ -1,73 +0,0 @@
|
|||
package se.hal.plugin.zigbee.deconz.rest;
|
||||
|
||||
import zutil.net.ws.WSInterface.WSPath;
|
||||
import zutil.net.ws.WSInterface.WSRequestType;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import static zutil.net.ws.WSInterface.RequestType.*;
|
||||
|
||||
/**
|
||||
* Rules provide the ability to trigger actions of lights or groups when a specific sensor condition is met.
|
||||
*
|
||||
* @link https://dresden-elektronik.github.io/deconz-rest-doc/rules/
|
||||
*/
|
||||
public interface DeConzRestRules {
|
||||
|
||||
/**
|
||||
* Creates a new rule.
|
||||
* <p>Note: To create ZigBee bindings between a sensor and a light or group use the BIND method. The rules condition specifies which ZigBee cluster will be used.
|
||||
*
|
||||
* @param name The name of the rule. required
|
||||
* @param periodic Specifies if the rule should trigger periodically. 0 = trigger on event; >0 = time in ms the rule will be triggered periodically. Default is 0. optional
|
||||
* @param status String ("enabled"|"disabled")
|
||||
* @param actions An array of actions that will happen when the rule triggers. required
|
||||
* action.address path to a light, group or scene resource required
|
||||
* action.body Parameters that will be send to the resource formated as JSON. required
|
||||
* action.method String Can be PUT, POST, DELETE (currently only used for green power devices) or BIND which will create a ZigBee binding between a sensor and a light or group. required
|
||||
* @param conditions Array(condition) (1..8) The conditions that must be met to trigger a rule. required
|
||||
* condition.address String path to a sensor resource and the related state required
|
||||
* condition.operator String eq, gt, lt, dx (equals, greater than, lower than, on change). required
|
||||
* condition.value String The value the operator is compared with. Will be casted automatically to the corresponding data type. required
|
||||
*/
|
||||
//@WSRequestType(HTTP_POST)
|
||||
//@WSPath("/api/{{requestApiKey}}/rules")
|
||||
//void createRule(String requestApiKey, String name, int periodic, String status, List actions, List conditions);
|
||||
|
||||
/**
|
||||
* Returns a list of all rules. If there are no rules in the system then an empty object {} will be returned.
|
||||
*/
|
||||
@WSRequestType(HTTP_GET)
|
||||
@WSPath("/api/{{requestApiKey}}/rules")
|
||||
void getRules(String requestApiKey);
|
||||
|
||||
/**
|
||||
* Returns the rule with the specified id.
|
||||
*/
|
||||
@WSRequestType(HTTP_GET)
|
||||
@WSPath("/api/{{requestApiKey}}/rules/{{ruleId}}")
|
||||
void getRule(String requestApiKey, int ruleId);
|
||||
|
||||
/**
|
||||
* Update a rule with the specified parameters.
|
||||
*
|
||||
* @param name The name of the rule. required
|
||||
* @param periodic Specifies if the rule should trigger periodically. 0 = trigger on event; >0 = time in ms the rule will be triggered periodically. Default is 0. optional
|
||||
* @param status String ("enabled"|"disabled")
|
||||
* @param actions An array of actions that will happen when the rule triggers. required
|
||||
* action.address path to a light, group or scene resource required
|
||||
* action.body Parameters that will be send to the resource formated as JSON. required
|
||||
* action.method String Can be PUT, POST, DELETE (currently only used for green power devices) or BIND which will create a ZigBee binding between a sensor and a light or group. required
|
||||
* @param conditions Array(condition) (1..8) The conditions that must be met to trigger a rule. required
|
||||
* condition.address String path to a sensor resource and the related state required
|
||||
* condition.operator String eq, gt, lt, dx (equals, greater than, lower than, on change). required
|
||||
* condition.value String The value the operator is compared with. Will be casted automatically to the corresponding data type. required
|
||||
*/
|
||||
//@WSRequestType(HTTP_PUT)
|
||||
//@WSPath("/api/{{requestApiKey}}/rules/{{ruleId}}")
|
||||
//void setRule(String requestApiKey, int ruleId, String name, int periodic, String status, List actions, List conditions);
|
||||
|
||||
@WSRequestType(HTTP_DELETE)
|
||||
@WSPath("/api/{{requestApiKey}}/rules/{{ruleId}}")
|
||||
void deleteRule(String requestApiKey, int ruleId);
|
||||
}
|
||||
|
|
@ -1,83 +0,0 @@
|
|||
package se.hal.plugin.zigbee.deconz.rest;
|
||||
|
||||
import zutil.net.ws.WSInterface.WSPath;
|
||||
import zutil.net.ws.WSInterface.WSRequestType;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import static zutil.net.ws.WSInterface.RequestType.*;
|
||||
|
||||
/**
|
||||
* Scenes provide an easy and performant way to recall often used states to a group.
|
||||
*
|
||||
* @link https://dresden-elektronik.github.io/deconz-rest-doc/scenes/
|
||||
*/
|
||||
public interface DeConzRestScenes {
|
||||
|
||||
/**
|
||||
* Creates a new scene for a group. The actual state of each light will become the lights scene state.
|
||||
*
|
||||
* @param name The name of the new scene. (required)
|
||||
*/
|
||||
@WSRequestType(HTTP_POST)
|
||||
@WSPath("/api/{{requestApiKey}}/groups/{{group_id}}/scenes")
|
||||
void createScene(String requestApiKey, int groupId, String name);
|
||||
|
||||
/**
|
||||
* Returns a list of all scenes of a group.
|
||||
*/
|
||||
@WSRequestType(HTTP_GET)
|
||||
@WSPath("/api/{{requestApiKey}}/groups/{{group_id}}/scenes")
|
||||
void getScenes(String requestApiKey, int groupId);
|
||||
|
||||
/**
|
||||
* Returns all attributes of a scene.
|
||||
*/
|
||||
@WSRequestType(HTTP_GET)
|
||||
@WSPath("/api/{{requestApiKey}}/groups/{{group_id}}/scenes/{{sceneId}}")
|
||||
void getScene(String requestApiKey, int groupId, int sceneId);
|
||||
|
||||
/**
|
||||
* Sets attributes of a scene.
|
||||
*
|
||||
* @param name Name of the scene. (optional)
|
||||
*/
|
||||
@WSRequestType(HTTP_PUT)
|
||||
@WSPath("/api/{{requestApiKey}}/groups/{{group_id}}/scenes/{{sceneId}}")
|
||||
void getScene(String requestApiKey, int groupId, int sceneId, String name);
|
||||
|
||||
/**
|
||||
* Stores the current group state in the scene. The actual state of each light in the group will become the lights scene state.
|
||||
*/
|
||||
@WSRequestType(HTTP_PUT)
|
||||
@WSPath("/api/{{requestApiKey}}/groups/{{group_id}}/scenes/{{sceneId}}/store")
|
||||
String storeScene(String requestApiKey, int groupId, int sceneId);
|
||||
|
||||
/**
|
||||
* Recalls a scene. The actual state of each light in the group will become the lights scene state stored in each light.
|
||||
* Note: Lights which are not reachable (turned off) won’t be affected!
|
||||
*/
|
||||
@WSRequestType(HTTP_PUT)
|
||||
@WSPath("/api/{{requestApiKey}}/groups/{{group_id}}/scenes/{{sceneId}}/recall")
|
||||
void recallScene(String requestApiKey, int groupId, int sceneId);
|
||||
|
||||
/**
|
||||
* Recalls a scene. The actual state of each light in the group will become the lights scene state stored in each light.
|
||||
* Note: Lights which are not reachable (turned off) won’t be affected!
|
||||
*
|
||||
* @param on Set to true to turn the lights on, false to turn them off. optional
|
||||
* @param bri Set the brightness of the group. Depending on the lights 0 might not mean visible "off" but minimum brightness. If the lights are off and the value is greater 0 a on=true shall also be provided. optional
|
||||
* @param xy Set the CIE xy color space coordinates as array [x, y] of real values (0..1). optional
|
||||
* @param transitionTime Transition time in 1/10 seconds between two states. (optional)
|
||||
*/
|
||||
@WSRequestType(HTTP_PUT)
|
||||
@WSPath("/api/{{requestApiKey}}/groups/{{group_id}}/scenes/{{sceneId}}/state/lights/{{lightId}}/state")
|
||||
void setSceneState(String requestApiKey, int groupId, int sceneId, int lightId, int on, int bri, int xy, int transitionTime);
|
||||
|
||||
/**
|
||||
* Deletes a scene.
|
||||
*/
|
||||
@WSRequestType(HTTP_DELETE)
|
||||
@WSPath("/api/{{requestApiKey}}/groups/{{group_id}}/scenes/{{sceneId}}")
|
||||
void deleteScene(String requestApiKey, int groupId, int sceneId);
|
||||
}
|
||||
|
|
@ -1,71 +0,0 @@
|
|||
package se.hal.plugin.zigbee.deconz.rest;
|
||||
|
||||
import zutil.net.ws.WSInterface.WSPath;
|
||||
import zutil.net.ws.WSInterface.WSRequestType;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import static zutil.net.ws.WSInterface.RequestType.*;
|
||||
|
||||
/**
|
||||
* Schedules provide the ability to trigger timed commands to groups or lights.
|
||||
*
|
||||
* @link https://dresden-elektronik.github.io/deconz-rest-doc/schedules/
|
||||
*/
|
||||
public interface DeConzRestSchedules {
|
||||
|
||||
/**
|
||||
* Creates a new schedule.
|
||||
*
|
||||
* @param name The name of the new schedule. If the name already exists a number will be appended. (optional)
|
||||
* @param description The description of the schedule. (optional)
|
||||
* @param command The command to execute when the schedule triggers. (required)
|
||||
* command.address The address of a light or group resource. (required)
|
||||
* command.method must be "PUT", (required)
|
||||
* command.body The state that the light or group will activate when the schedule triggers, (required)
|
||||
* @param status ("enabled"|"disabled") Whether the schedule is enabled or disabled. Default is enabled. (optional)
|
||||
* @param autoDelete If true the schedule will be deleted after triggered. Else it will be disabled. Default is true. (optional)
|
||||
* @param time Time when the schedule shall trigger in UTC ISO 8601:2004 format. (required)
|
||||
*/
|
||||
//@WSRequestType(HTTP_POST)
|
||||
//@WSPath("/api/{{requestApiKey}}/schedules")
|
||||
//int createSchedule(String requestApiKey, String name, String description, List command, String status, boolean autoDelete, String time);
|
||||
|
||||
/**
|
||||
* Returns a list of all schedules.
|
||||
*/
|
||||
@WSRequestType(HTTP_GET)
|
||||
@WSPath("/api/{{requestApiKey}}/schedules")
|
||||
List getSchedules(String requestApiKey);
|
||||
|
||||
/**
|
||||
* Returns all attributes of a schedule.
|
||||
*/
|
||||
@WSRequestType(HTTP_GET)
|
||||
@WSPath("/api/{{requestApiKey}}/schedules/{{scheduleId}}")
|
||||
List getSchedule(String requestApiKey, int scheduleId);
|
||||
|
||||
/**
|
||||
* Creates a new schedule.
|
||||
*
|
||||
* @param name The name of the new schedule. If the name already exists a number will be appended. (optional)
|
||||
* @param description The description of the schedule. (optional)
|
||||
* @param command The command to execute when the schedule triggers. (required)
|
||||
* command.address The address of a light or group resource. (required)
|
||||
* command.method must be "PUT", (required)
|
||||
* command.body The state that the light or group will activate when the schedule triggers, (required)
|
||||
* @param status ("enabled"|"disabled") Whether the schedule is enabled or disabled. Default is enabled. (optional)
|
||||
* @param autoDelete If true the schedule will be deleted after triggered. Else it will be disabled. Default is true. (optional)
|
||||
* @param time Time when the schedule shall trigger in UTC ISO 8601:2004 format. (required)
|
||||
*/
|
||||
@WSRequestType(HTTP_PUT)
|
||||
@WSPath("/api/{{requestApiKey}}/schedules/{{scheduleId}}")
|
||||
void setSchedule(String requestApiKey, int scheduleId, String name, String description, List command, String status, boolean autoDelete, String time);
|
||||
|
||||
/**
|
||||
* Returns all attributes of a schedule.
|
||||
*/
|
||||
@WSRequestType(HTTP_DELETE)
|
||||
@WSPath("/api/{{requestApiKey}}/schedules/{{scheduleId}}")
|
||||
void deleteSchedule(String requestApiKey, int scheduleId);
|
||||
}
|
||||
|
|
@ -1,97 +0,0 @@
|
|||
package se.hal.plugin.zigbee.deconz.rest;
|
||||
|
||||
import zutil.net.ws.WSInterface.WSPath;
|
||||
import zutil.net.ws.WSInterface.WSRequestType;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import static zutil.net.ws.WSInterface.RequestType.*;
|
||||
|
||||
/**
|
||||
* Sensors can be used to measure environment parameters like brightness or activation of a switch. With a corresponding rule they can control lights and groups.
|
||||
*
|
||||
* @link https://dresden-elektronik.github.io/deconz-rest-doc/sensors/
|
||||
*/
|
||||
public interface DeConzRestSensors {
|
||||
|
||||
/**
|
||||
* Creates a new sensor.
|
||||
*
|
||||
* @param name The name of the sensor. required
|
||||
* @param modelid The model identifier of the sensor. required
|
||||
* @param swversion The software version of the sensor. required
|
||||
* @param type The type of the sensor (see: allowed sensor types and its states). required
|
||||
* @param uniqueid The unique id of the sensor. Should be the MAC address of the device. required
|
||||
* @param manufacturername The manufacturer name of the sensor. required
|
||||
* @param state The state of the sensor (see: supported sensor types and its states). optional
|
||||
* @param config The config of the sensor. (optional)
|
||||
* on - Bool - default: true
|
||||
* reachable - Bool - default: true
|
||||
* battery - Number (0..100)
|
||||
*/
|
||||
@WSRequestType(HTTP_POST)
|
||||
@WSPath("/api/{{requestApiKey}}/sensors")
|
||||
void createSensor(String requestApiKey, int groupId, String name, String modelid, String swversion, String type, String uniqueid, String manufacturername, Map state, Map config);
|
||||
|
||||
/**
|
||||
* Returns a list of all Sensors. If there are no sensors in the system then an empty object {} will be returned.
|
||||
*/
|
||||
@WSRequestType(HTTP_GET)
|
||||
@WSPath("/api/{{requestApiKey}}/sensors")
|
||||
List getSensor(String requestApiKey);
|
||||
|
||||
/**
|
||||
* Returns a list of all Sensors. If there are no sensors in the system then an empty object {} will be returned.
|
||||
*/
|
||||
@WSRequestType(HTTP_GET)
|
||||
@WSPath("/api/{{requestApiKey}}/sensors/{{sensorId}}")
|
||||
void getSensor(String requestApiKey, int sensorId);
|
||||
|
||||
/**
|
||||
* Update a sensor with the specified parameters.
|
||||
*
|
||||
* @param name The name of the sensor. (optional)
|
||||
* @param mode Only available for dresden elektronik Lighting Switch. Set the mode of the switch. (optional)
|
||||
* 1 = Scenes mode
|
||||
* 2 = Two groups mode
|
||||
* 3 = Color temperature mode
|
||||
*/
|
||||
@WSRequestType(HTTP_PUT)
|
||||
@WSPath("/api/{{requestApiKey}}/sensors/{{sensorId}}")
|
||||
void setSensor(String requestApiKey, int sensorId, String name, int mode);
|
||||
|
||||
/**
|
||||
* Update a sensor with the specified parameters.
|
||||
*
|
||||
* @param on The on/off status of the sensor. (optional)
|
||||
* @param reachable The reachable status of the sensor. (optional)
|
||||
* @param battery The current battery state in percent, only for battery powered devices. (optional)
|
||||
*/
|
||||
@WSRequestType(HTTP_PUT)
|
||||
@WSPath("/api/{{requestApiKey}}/sensors/{{sensorId}}/config")
|
||||
void setSensorConfig(String requestApiKey, int sensorId, boolean on, boolean reachable, int battery);
|
||||
|
||||
/**
|
||||
* Update a sensor state with the specified parameters.
|
||||
*
|
||||
* @param flag Sensor type | Allowed state | type
|
||||
* CLIPSwitch buttonevent Number
|
||||
* CLIPOpenClose open Bool
|
||||
* CLIPPresence presence Bool
|
||||
* CLIPTemperature temperature Number
|
||||
* CLIPGenericFlag flag Bool
|
||||
* CLIPGenericStatus status Number
|
||||
* CLIPHumidity humidity Number
|
||||
*/
|
||||
@WSRequestType(HTTP_PUT)
|
||||
@WSPath("/api/{{requestApiKey}}/sensors/{{sensorId}}/state")
|
||||
void setSensorState(String requestApiKey, String flag);
|
||||
|
||||
/**
|
||||
* Delete a sensor.
|
||||
*/
|
||||
@WSRequestType(HTTP_DELETE)
|
||||
@WSPath("/api/{{requestApiKey}}/sensors/{{sensorId}}/state")
|
||||
void deleteSensor(String requestApiKey, int sensorId);
|
||||
}
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
package se.hal.plugin.zigbee.deconz.rest;
|
||||
|
||||
import zutil.net.ws.WSInterface.WSPath;
|
||||
import zutil.net.ws.WSInterface.WSRequestType;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import static zutil.net.ws.WSInterface.RequestType.*;
|
||||
|
||||
/**
|
||||
* The touchlink endpoint allows to communicate with near by located devices.
|
||||
*
|
||||
* @link https://dresden-elektronik.github.io/deconz-rest-doc/touchlink/
|
||||
*/
|
||||
public interface DeConzRestTouchlink {
|
||||
|
||||
/**
|
||||
* Starts scanning on all channels for devices which are located close to the gateway. The whole scan process will take about 10 seconds.
|
||||
* <p>Note: While scanning is in progress further API requests which require network access aren’t allowed.
|
||||
*/
|
||||
@WSRequestType(HTTP_POST)
|
||||
@WSPath("/api/{{requestApiKey}}/touchlink/scan")
|
||||
void startDeviceScan(String requestApiKey);
|
||||
|
||||
/**
|
||||
* Returns the results of a touchlink scan.
|
||||
*/
|
||||
@WSRequestType(HTTP_GET)
|
||||
@WSPath("/api/{{requestApiKey}}/touchlink/scan")
|
||||
void getScanResult(String requestApiKey);
|
||||
|
||||
/**
|
||||
* Puts a device into identify mode for example a light will blink a few times.
|
||||
* <p>Note: touchlinkId must be one of the indentifiers which are returned in the scan result.
|
||||
*/
|
||||
@WSRequestType(HTTP_POST)
|
||||
@WSPath("/api/{{requestApiKey}}/touchlink/{{touchlinkId}}/identify")
|
||||
void identifyDevice(String requestApiKey, int touchlinkId);
|
||||
|
||||
/**
|
||||
* Send a reset to factory new request to a device.
|
||||
* <p>Note: touchlinkId must be one of the indentifiers which are returned in the scan result.
|
||||
*/
|
||||
@WSRequestType(HTTP_POST)
|
||||
@WSPath("/api/{{requestApiKey}}/touchlink/{{touchlinkId}}/reset")
|
||||
void resetDevice(String requestApiKey, int touchlinkId);
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"version": 0.1,
|
||||
"name": "Hal-Zigbee",
|
||||
"interfaces": [
|
||||
{"se.hal.intf.HalAutoScannableController": "se.hal.plugin.zigbee.HalDeconzZigbeeController"}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue