Coder Social home page Coder Social logo

qubino-flush-relay-thermostat's Introduction

qubino-flush-relay-thermostat

Smartthings Device Handler for Qubino Flush Relay used as a Thermostat.

This allows the Qubino flush relay module and an attached thermometer to behave like a thermostat and control an attached electric radiator.

  1. Create capability - definition of attributes & commands

smartthings capabilities:create

Name: Custom Cape

Commands:

  • abc
  • xyz
  1. Create presentation capability - Define how the capability will look in the dashboard, detail view

2a. Define a file that a describe the controls

2b. Create the capability via the api

smartthings capabilities:presentation:create <XXXX NAMESPACE XXXX>.capabilityName 1 -y -i=customLevels.json

  1. Generate device config - Which capabilities to show on dashboard, detail view

3.a Export one based on DTH

smartthings presentation:device-config:generate [ID HERE] --dth -o=deviceConfig-orig.json -j

where id is the dth id from https://graph-eu01-euwest1.api.smartthings.com/ide/device/editor/[ID here]

3b. Remove extroneus output

Remove presentationId Remove manufacturerName

3c. Create the config via the api

smartthings presentation:device-config:create -j -i deviceConfig.json

3d. add vid: 'xxx' to DTH, from the output of presentation:device-config:create

qubino-flush-relay-thermostat's People

Contributors

tommysqueak avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.