thexperiments / pimatic-tradfri

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pimatic-tradfri

beta stadium ! Use it with care

This plugin provides an tradfri interface for pimatic.

####Features

  • Discover devices, groups, and scenes
  • Tradfri Hub as presence device available
  • Control lights (also with temperature stepless)
  • Control groups
  • Observe changes
  • Scenes/moods per Group
  • Action providers for all features
  • Presence check for lights
  • Configurable transition time for smooth changes

###Installation

Just activate the plugin in your pimatic config. The plugin manager automatically installs the package with his dependencys.

###Software dependencies

This plugin depends on tradfri-coapdtls.

###Configuration

You can load the plugin by adding following in the config.json from your pimatic server:

{
  "plugin": "tradfri",
  "secID": "GATEWAY KEY",
  "hubIP": "GATEWAY IP",
  "debug": true
}

###Usages

Install the tradfri gateway in your network and make an normal initialization over the tradfri smartphone app. If wanted with groups.

After the lights are paired with the gateway, go to the pimatic screen and make an autodiscover.

###Action Providers

This plugin uses mostly the normal pimatic devices classes. Only one special provider is needed.

"set color from LIGHTNAME to [0..100] 0=COLD 100=WARM

###NOTES

Sometimes the Tradfri Gatway doesn't inform the observers about new devices states. I think the stability off the gatway will be improved in newer firmware releases.

If you press the power button of the 5-button remote, the remote toggles the group. So if the lights are not syncron, the lights will change the state not in same way.

ToDoList

  • controle the gateway

ChangeLog

  • 0.1.6 - first public alpha version

  • 0.1.7 - New functions:

    • Control light temperature
    • Observing changes
    • Goup function
    • Gateway check
    • Support for more lights
    • code refactoring
    • bugfixes
  • 0.1.8:

    • code refactoring
    • autoreconnect
    • bugfixes
  • 0.1.9:

    • Scenes/Moods
    • Stepless light temperature change
    • New device option: transition time for smooth changes
    • Action provider for all features
    • Presence of lights
    • GUI optimization

About

License:GNU General Public License v2.0


Languages

Language:CoffeeScript 86.6%Language:HTML 8.3%Language:CSS 5.2%