beef331 / website

Code for the official Nim programming language website
https://nim-lang.org
19 stars 1 forks source link

IKEA Home Smart #52

Closed PMunch closed 2 years ago

PMunch commented 2 years ago

Name: IKEA Home Smart

Author: PMunch

Posting: Have you got IKEA Home Smart bulbs in your house? Want to automate them with some nice type-safe scripts? Then you've come to the right place. Unlike Home Assistant and Openhabian which uses a CoAP client program which is executed for every bulb change this uses libcoap directly to speak to your gateway and control your bulbs. It is also completely async, so you can send multiple commands at the same time and wait for them all to complete (CoAP only allows a single transaction at a time, but you can queue up requests which will be fired one after the other while your program does something else). It supports groups and bulbs, and setting the brightness, colour, and temperature of the bulbs (as long as the hardware supports it).