Home

Awesome

🛑 This project is no longer maintained!

As the Pimatic project is no longer maintained, this plugin project will also be discontinued.

pimatic-raspbee

build status version downloads license

This plugin provides a raspbee interface for pimatic.

Features

Prerequisite

You need a rasbpee or conbee device and the deCONZ REST API must be installed and configured.

An other good solution is to run deconz as a docker container.

=> go to the WIKI - there are installation instructions and other useful tips.

Installation

Just activate the plugin over the pimatic webUI. The plugin manager automatically installs the package with his dependencys.

Configuration

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

{
  "plugin": "raspbee",
  "debug": true,
  "active": true,
  "ip": "<deconz ip>",
  "port": "<deconz port>"
}

Usages

To create a connection to the raspbee gateway, the gateway must be unlocked over the deconz UI. check the unlock howto Then make a device discovery in pimatic.

Supported devices

Lights

pimatic Device typeFeatureDeconz Resource Type
RaspBeeSwitchswitch on/offOn/Off plug-in unit & Smart plug
RaspBeeDimmerswitch and dimm lightDimmable light
RaspBeeCTchange temperatureColor temperature light
RaspBeeRGBchange colorColor light
RaspBeeRGBCTchange color and temperatureExtended color light

HINTs:

There are two color devices. RaspBeeRGB (Color light) emulates the ColorTemperature via a color code. RaspBeeRGBCT (Extended color light) supports native ColorTemperature actions. All lights are detected automatically

Tradfri bulbs do not support hue/sat actions. therefore only RGB values can be set in the rules.

Deconz also does not allow you to adjust the color or brightness when the lamp is off. Use a delay in rules. First switch on the lamp and then set the values.

Groups

pimatic Device typeFeatureDeconz Resource Type
RaspBeeDimmerGroup (DEPRECATED)switch and dimmGroup
RaspBeeRGBCTGroup (NEW)change color and temperatureGroup
RaspBeeGroupScenesswitch scene onGroup Scenes

I have created a new group device with all color controls.

Sensors

All sensors are represented as a RaspBeeMultiDevice.

The device has 3 arrays.

Supported resource types:

supports parameter flagUnitDeconz Resource Type
battery%(any battery-powered sensor)
lowbatterybool(any IAS Zone sensor)
carbonboolZHACarbonMonoxide
switchstringZHASwitch
fireboolZHAFire
humidity%ZHAHumidity
temperature°CZHATemperature and any sensor with temperaure support
presenceboolZHAPresence
darkboolZHAPresence & ZHALightLevel
luxluxZHALightLevel
daylightboolZHALightLevel
openboolZHAOpenClose
pressurehPAZHAPressure
waterboolZHAWater
vibrationboolZHAVibration
tamperedbool(any IAS Zone sensor)
consumptionWhZHAConsumption
powerWZHAPower & ZHAConsumption
voltageVZHAPower
currentmAZHAPower

The other sensor types are DEPRECATED

but still usable

RaspBeeSystem management device

discover lights & discover sensors

This button starts a light or sensor detection from the deconz api.

create backup

This button creates a local backup of the deconz config.
The target folder is configurable. (default folder is the pimatic-app folder)

send config

This button sends for all devices all config parameter (configMap) to the deconz apikey.

ActionProvider

Example:
set color temp Light1 to 10 and set color rgb Light2 to #121212 and activate group scene All-ON

Optional a -transtime- can be specified. This allows the changeover to be time-controlled.

Example:
dim raspbee Flur to 100 transition time 2s and set color rgb Light RGB to #FF0000 with transition time 2s

PredicateProvider

Example: recieved from Switch1 event "2001"

ButtonEvents

ValueAction
0x000Initial Press
1x001Hold
2x002Release (after press)
3x003Release (after hold)
4x004Double press
5x005Triple press
6x006Quadruple press
7x007Shake
8x008Drop
9x009Tilt
10x010Many press

CHANGELOG

-> see CHANGELOG


Contributors