Coder Social home page Coder Social logo

mabeatty1978 / sampledrivers Goto Github PK

View Code? Open in Web Editor NEW

This project forked from smartthingsdevelopers/sampledrivers

1.0 0.0 0.0 184 KB

We are taking events that would have happened on the SmartThings Cloud and moving them to your SmartThings Hub. This repository contains sample SmartThings Edge Drivers to get you started

Lua 100.00%

sampledrivers's Introduction

SmartThings Edge Drivers

What is SmartThings Edge?

SmartThings Edge is our new architecture for Hub Connected devices that uses Device Drivers to execute commands locally on SmartThings Hubs. Edge Drivers are Lua©-based and can be used for Hub Connected devices, including Zigbee, Z-Wave, and LAN protocols. SmartThings Edge will bring new benefits such as reduced latency and cloud costs.

Getting Started

In this repository, you’ll find different ready-to-install sample Edge Drivers that can help you integrate your devices to the SmartThings platform. For more information on building Edge Drivers, look at the resources in More Information

Zigbee SmartThings Multipurpose sensor

Example integrating a SmartThings Multipurpose sensor, which has the following Capabilities:

  • Contact Sensor
  • Temperature Measurement
  • Acceleration/Vibration Sensor
  • Three Axis Sensor

Sample Code

LAN RGB Light Bulb

Example integrating an ESP8266 board via LAN. This device is configured to work as a RGB Light Bulb and has the following Capabilities:

  • Switch
  • Switch Level
  • Color Control

Sample Code

Z-Wave Aeotec MultiSensor 6

Example integrating the Aeotec’s MultiSensor 6 which has the following Capabilities:

  • Motion Sensor
  • Illuminance Measurement
  • Temperature Measurement

Sample Code

thingsim device simulator

Example LAN device integration through an RPC Server supporting the Switch capability.

Sample Code

Custom Capability Integration

Zigbee Driver example that implements a stock and a custom capabilities.

  • Refresh
  • <namespace>.fancySwitch

Sample Code

Hello World example

Example Driver to get started with LAN-based device integrations. This implementation uses the Switch capability.

Sample Code

Installation Tutorial

Make sure you have the following:

  1. The latest version of the SmartThings app (Android | iOS)

  2. A SmartThings Hub with firmware version 38.x or greater

  3. A compatible device ready to be integrated:

    a. Battery's level is enough for the device functionality (Zigbee Multi Sensor and Aeotec MultiSensor 6)

    b. The device was previously excluded from the Z-Wave network or is a fresh installation (Aeotec MultiSensor 6)

    c. You've installed the LightBulb App in the ESP8266 NodeMCU board and it's wired according to the schematics (LAN Lightbulb)

You'll find further installation instructions in each sample and in the Tutorial Community posts:

More Information

Take a look at the announcement of SmartThings Edge in our Community.

Support

If you have any questions about the specification document, visit community.smartthings.com.

sampledrivers's People

Contributors

erickvneri avatar nayelyzarazua-bluetrail avatar smartthingsdevsupport avatar aaron-smartthings avatar freemasen avatar jodyalbritton avatar azdle avatar fabiolav84 avatar

Stargazers

 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.