Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

homebridge-ikea

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-ikea

Ikea gateway support for homebridge

  • 0.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Homebridge Ikea

A homebridge plugin for Ikeas Trådfri lamps using Ikeas Trådfri gateway with an Ikea trådfri lightbulb. As of now it works just fine for turn lamps on/off and setting the brighness and changing the temperature.

Functionality

  • Find all your Ikea lamps connected to your Gateway.
  • Uses provided lamp information from the Gateway.
  • Turn on and off your lamps.
  • Dim the lamps.
  • Control the temperature/kelvin of your lamps. Currently doesn't work in HomeKit app, only tested in Eve.

Dependencies

If you're running macOS or linux the included binaries should work out of the box for you and you shouldn't have to provide your own version. If you're running another OS or if the provided binaries aren't working please as the path to coap-client using coapClient. Here's how I compiled the included binaries versions.

Add to your config

Manually adding all lamps are no fun, right? We want them to just appear for us!

You'll have to figure out the IP to your gateway yourself (if you've managed to compile coap-client I'm guessing you'll handle that). The PSK will be written under the Gateway.

{
  "platform": "Ikea",
  "name": "Gateway",
  "ip": "192.168.x.xxx",
  "psk": "xxxxxxxxxxxxxxxx"
}

If you need the actual coaps communication for debugging add debug: true to your config.

Todos

  • Improve on Kelvin selection (Cheers sandyjmacdonald)
  • Get lamp state from Gateway on boot (Cheers shoghicp)
  • Don't leak PSKs in log (Cheers Firehed)
  • Clean up code, make it actually readable
  • Break out all IPSOObjects numbers to utils, hiding it away.

Credits

Thanks to r41d for figuring out https://github.com/bwssytems/ha-bridge/issues/570#issuecomment-292188880

Thanks to Hedda for https://github.com/bwssytems/ha-bridge/issues/570#issuecomment-292081839

And a huge thanks to the rest of the people in https://github.com/bwssytems/ha-bridge/issues/570

Keywords

FAQs

Package last updated on 01 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc