Giter Site home page Giter Site logo

antonioiksi / node-red-contrib-ui-countdown-timer-switch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fellinga/node-red-contrib-ui-countdown-timer-switch

0.0 1.0 0.0 58 KB

Easily power on/off any kind of device for a specific amount of time directly from the node-red-dashboard frontend.

License: MIT License

HTML 58.75% JavaScript 41.25%

node-red-contrib-ui-countdown-timer-switch's Introduction

node-red-contrib-ui-countdown-timer-switch

A node-red-ui countdown timer switch for the Node-RED Dashboard.

Install

You can install this node directly from the "Manage Palette" menu in the Node-RED interface.
Alternatively, run the following command in your Node-RED user directory - typically ~/.node-red on Linux or %HOMEPATH%\.nodered on Windows

    npm install node-red-contrib-ui-countdown-timer-switch

Requirements

node-red v0.19 or above
node-red-dashboard v2.10.0 (v2.15.4 or above would be ideal)

Usage

Add a countdown-timer-switch-node to your flow. Open the dashboard, by default you will see four buttons. Each button has a label with a number that indicates how long the switch stays on (in minutes). Click one of those buttons and the switch will be on for the specific amount of time.

Input

The countdown can be activated via an incoming message if it has a property countdown. The value of msg.countdown must be a number in minutes. The switch will stay on for the specified amount of time. A msg.countdown with a value of 0 turns the switch off.

History

Find the changelog here.

Donate

You can donate by clicking the following link if you want to support this free project:

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.