Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Repository files navigation

COGS deCONZ (Zigbee) plugin

⚠️ This plugin is deprecated. Please use COGS 5's Zigbee feature instead.

image

How to use

What you'll need

One of:

Install the plugin

  • Install the Phoscon app on your machine or another machine on the network and pair your switches, buttons, lights and outlets
  • Download the COGS plugin from Releases
  • Unzip into the plugins folder in your COGS project
  • In the plugin you have copied, edit cogs-plugin-manifest.json following the examples already there and set:
    • Any lights/outlets you have add in Phoscon to "state" with the exact same "name".
    • Any button/switches you have add in Phoscon to the "toCogs" section of "events" with the exact same "name".
      • Buttons should have a value of { "type": "option", "options": [ "On Pressed", "On Long Pressed" ] }
      • On/Off switches should have a value of { "type": "option", "options": [ "On Pressed", "Off Pressed", "On Long Pressed", "Off Long Pressed"] }
  • In COGS, open the project and go to Setup > Settings and enable deCONZ
  • Find the IP address of the machine where you installed Phoscon and get an API key by following the deCONZ REST API Getting started guide
  • Add the Phoscon machine's IP address and your deCONZ API key in the plugin settings

How to use the plugin

  • To trigger a behaviour from a button select deCONZ: My button as the "When" and select the event type
  • To change an outlet/light state add an Update values action to your behaviour and set it to True to turn on or False to turn off

About

Control Zigbee devices from COGS with Deconz - ALPHA

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages