konsumer / tplink-graphql

Control the TPLink lights on your network from GraphQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tplink-graphql

This will make a GraphQL server for controlling and looking in on all the TPLink lights on your local network.

Here is the API docs.

screenshot

getting started

colors

I am using Chromath for colors, so you can use any of these strings for color value:

'#FF0000'                  // Hex (6 characters with hash)
'FF0000'                   // Hex (6 characters without hash)
'#F00'                     // Hex (3 characters with hash)
'F00'                      // Hex (3 characters without hash)
'red'                      // CSS/SVG Chromath name
'rgb(255, 0, 0)'           // RGB via CSS
'rgba(255, 0, 0, 1)'       // RGBA via CSS
'hsl(0, 100%, 50%)'        // HSL via CSS
'hsla(0, 100%, 50%, 1)'    // HSLA via CSS
'hsv(0, 100%, 100%)'       // HSV via CSS
'hsva(0, 100%, 100%, 1)'   // HSVA via CSS
'hsb(0, 100%, 100%)'       // HSB via CSS
'hsba(0, 100%, 100%, 1)'   // HSBA via CSS

About

Control the TPLink lights on your network from GraphQL


Languages

Language:JavaScript 100.0%