Skip to content

piLights/Dioder-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Dioder-API

This is an API for the IKEA dioder.

Dependencies

This is what you need to run the API:

  • a working Go environment (Instructions)
  • Pi-Blaster and the /dev/pi-blaster-device
  • IKEA-Dioder assembled like in the blog post from @lakrizz (It got deleted, the WayBackMachine archived it: The piDioder)

How do i access the API?

By default, the API listens on port 8080. There is no API-prefix.

Methods

  • color/COLOR

    • COLOR can be anything of the following:
      • red
      • green
      • blue
  • /hex/HEXCODE

    • HEXCODE must be a valid hex-code without # (3 or 6 characters)
  • /rgb/REDVALUE/GREENVALUE/BLUEVALUE

    • The values must be a number within the range 0-255

Releases

No releases published

Packages

No packages published

Languages