2.0.3 • Published 5 years ago

@jms777/homebridge-rgb-light v2.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

Homebridge RGB Light

A basic homebridge plugin used to integrate with a light exposed by an API with there required endpoints.

Expected Light Endpoints

Information (GET) Required

Should return a json object with the following fields (note if not using the brightness or colour endpoints these can be ommitted):

{
    "device": {
        "state": boolean,
        "brightness": number between 0 and 100,
        "hsv": { "h": number, "s": number, "v": number (not used)}
    }
}

State (PUT) Required

Should expect a json body containing:

{
    "state": boolean
}

Brightness (PUT) Optional

Should expect a json body containing:

{
    "brightness": number between 0 - 100,
}

Colour (PUT) Optional

Should expect a json body containing:

{
    "hsv": { "h": number, "s": number, "v": number (not used)}
}
2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago