This shows you the differences between two versions of the page.
— |
kits:pwm:api [2021/11/01 15:18] (current) James Sentman created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | =====XTension 6 Channel PWM Dimmer: API===== | ||
+ | Getting information and events from the device as well as controlling it is available through simple http requests and json data. | ||
+ | |||
+ | * Get the current state of all outputs, any GPIO readings and 1-wire temps via the /api/data request. | ||
+ | * Control PWM Endpoints via the /api/set request. | ||
+ | * Control RGB Color Outputs via the /api/color request. | ||
+ | * Control White Color Temperature outputs via the /api/white request. | ||
+ | * Control GPIO outputs via the /api/gpio request | ||
+ | * Get events for tamperature readings, PWM level changes and gpio state changes via the /events Server Events Stream |