Coder Social home page Coder Social logo

racally / racally-espurna-local-relay-control Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 6 KB

Basic Smartthings device handler to control devices flashed with espurna firmware using HTTP API

Groovy 100.00%
smartthings esp8266 switches espurna handler groovy-script

racally-espurna-local-relay-control's Introduction

racally-espurna-local-relay-control

Basic Smartthings device handler to control ESP2866-based devices flashed with espurna firmware using HTTP API

This is first attempt creating a device handler and first use of this scripting code (groovy)

Please ensure you have HTTP API active on your device (log into the device > Admin > enable this) Please ensure you have Restful API deactive on you device (log into the device > Admin disable this) BE AWARE THERE IS AN OPEN DEFECT WITH ESPURNA WHICH WILL ENABLE RESTFUL API ON RESTART - if this setting is enabled then the device handler will NOT work.

This handler will allow you to control a device locally on the network while the above settings are correct. Currently you can only address one relay (relay 0) Refresh the device status on requst or allow smartthings to poll the status of the device. Polling is set to 120 secounds.

racally-espurna-local-relay-control's People

Contributors

racally avatar

Stargazers

 avatar

racally-espurna-local-relay-control's Issues

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.