GithubHelp home page GithubHelp logo

tfatykhov / winkrednode Goto Github PK

View Code? Open in Web Editor NEW
54.0 24.0 21.0 20.74 MB

Node Red application for Home Automation integrating WInk API, SmartThings API, LIFX API. BlueIris API,IFTTT, INitialState, Forecast.io and more

License: Apache License 2.0

Shell 1.03% JavaScript 61.06% Groovy 37.91%

winkrednode's Introduction

WinkRedNode

Node-Red Overview

Node-RED operates around the notion of a "flow". This repository contains examples of many flows that "know" about the Wink API. Once you have one or more flows deployed in your Node-RED process, you can make use of that data.

About

This application is Node-Red based app which helps joining together various systesms for better home automation experience:

written in JavaScript and powered by Node-Red and Node.js it allows to build additional functionality like advanced scheduling very easy. It is also a fun way to learn functional and event based programming and some modern technologies at the same time enchancing your home automation experience.

Installation instructions:

Blue Mix Cloud

Use following HOWTO for instructions on how to create BlueMix node.js container with node red as well as how to configure application for initial run,

Running Locally directly or via Docker(recommended).

use following Readme for instructions on how to install docker image on raspberry pi or local modified node-red instance using just single command and also Optional, but highly recommended instruction on how to obtain SSL certificate and protect your local node-red instance.

Once you have Node-RED running, you can deploy your flows described below To deploy a flow, point your browser to your Node-RED configuration page, e.g., [http://127.0.0.1:1880/]. Click on the three bars in the upper-right hand corner to get the menu, select "Import > Clipboard", cut-and-paste the contents of the Flow file into the pop-up window, and click OK. Then click on the "Deploy" button.

Main Flows

Please navigate to: Flows/Bluemix. In order for application to work you need to import following flows:

  1. Flows/Bluemix/winkCore.json - core flow that performs initial calls to wink servers in order to get access tocken, list of devices and subscribe itself for status updates from wink as well as other services. It also creates connection to weather api, ifttt, initialstate.com api bassed on your configuration settings.
  2. Flows/Bluemix/winkIntegration.json - creates entry points for IFTTT/tasker/etc.
  3. Flows/Bluemix/winkFreeboards.json - set of flows to generate freeboard dashboards
  4. Flows/Bluemix/tabletUI.json - set of flows to generate application User interface

All these flows works perfectly locally and in the cloud.Only exception for now is that local version will not be able to use IBM Cloudant DB as percistence layer. You will have to put all global variables in FunctionGlobalContext section of settings.js in /home/pi/.node-red. This will be addressed in the future but currently we are concentrated on cloud based version. Also you will need to setup port forwarding so your instance can be accessed from outside.

Brian created schedule flow that works with blue mix monitoring - check it here:[Flows/BMeissen Sample Flows](Flows/BMeissen Sample Flows)

Donations

Donations are always welcome. They will help us keep this project up and running and add support to more devices and services! you can use PayPal or google wallet.

Additional Information

There are many excellent cloud platforms as a service; if you really like another, perhaps you contribute a "HOWTO" for installing Node-RED and Freeboard?

Freeboard

Here is the HOWTO for how to use Freeboard with Node-RED and Wink.

Useful links

winkrednode's People

Contributors

beanyforever avatar bolsen27 avatar mifbody avatar mrose17 avatar scambo00 avatar skot0123 avatar tfatykhov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

winkrednode's Issues

Weather section on summary

suggestions:

  • have only 2 icons with one liner: Today {icon] cloudy, Tomorrow [icon] rain
  • if you click any of those 2 it takes you to new weather tab or maybe little [+] sign that takes you to weather tab
  • the detailed weather tab can be like a widget or more detailed , re; http://blog.forecast.io/forecast-embeds/

Bloomsky issues

The camera snapshot is zoomed in and missing a large portion of the image that is saved.

Also adding the api key through the ui would not save for me. I had to manually add it to blue mix-settings.

Wink node red without bluemix or any other cloud stuffs?

What's the configuration differences if I don't have say, bluemix, freeboard, ifttt etc. Just a wink hub, a pi and maybe a smartthings hub? I'm guessing leaving the configuration for bluemix as 'xxxx' isn't going to work...?

Tempreature

tabletUI has a typo for temperature on the summary page :)

Create "Vacation mode"

For a selected group of lights (this group can be defined through Wink app) randomly picking a light and switching it off on preset schedule

Case correction in tabletUI.json

Not sure if this affects everyone or just me, but whenever I deploy updated tabletUI.json, I have to correct the case of "mysummary" in the following line in the tabletUI.json:

  `<iframe frameBorder="0" seamless="seamless" allowtransparency="true" id="Iframe0" src="mysummary" width="100%"></iframe>

The summary iframe does not load for me until I change it to "MySummary"

Robot status

it would be cool to be able to see if robots are activated or not-for security alarms-etc.

Issue with windows configuration

Hi, I've been trying to get this up and running, but haven't had any luck, hopeful reporting an issue is the way to go, I couldn't find an email address to contact. I've been able to get Node-red installed, Freeboard, and Winkboard. The only trouble I am having is Winkboard loads, and I can tell it's pulling all of my devices, but it's not pulling their state, they all load blank. It even loads the main Freeboard options for a second, but then they disappear. I've tried reloading the configuration, adjusting my external connection string and port, but just can't get it to work. Freeboard itself will work if I try to load it without Winkboard.

2016-01-11 22_07_21-winkboard by groups

Any help would be appreciated, thanks.

Group outlets away from lights pls if possible

Hi, is it possible to:

  1. take out the outlinks from lights and put them in its own separate group ... perhaps an icon on summary page (with a number on /off. i.e. 1 off out of 4).
  2. And outlets have their own section under controls and details tab. sorry, this might be complicated and i know wink combines outlets with lights which to me doesn't make sense.
  3. also is it possible to showcase the electricity $ spend, budget, etc from the oulink

Reorganize Events Log

This may be a Freeboard limitation, but I think the events log would be a little more useful if the newest event was at the top. This way we could see the most recent without clearing the past events.

Ring doorbell

Integrate ring doorbell. Can we start with the motion sensor as it doesnt show up under my motion group - only my gocontrol shows up. Ring motion sensor used to show up under the details tab. thanks.

Documentation is lacking clarity

.. the documentation is quite.. not.. clear. I'm having trouble figuring out what this even is -- is it completely seperate thing that wraps around Node-red adding additional functionality? Is it for some reason a modified version of node-red ? The readmes are not at all clear, and don't really explain anything, not purpose, nor enough clarity to result in a working installation of anything at all. (following all the steps outside of the BlueMix README, results in a pile of files that has no obvious start point)

... what exactly does this do, to provide Wink capability in Node-RED? How does it work ,and how do you use it? (more importantly, why isn't it implemented as a plugin to node-red using the existing methods of expanding node-red? or is it, and that's just not documented at all?)

Schedules on or off #enhancement

Is it possible to add an indicator light on details or summary page of the UI to indicate if schedules are on or off (using Brian's sample schedule for that)? I'm not sure how many are using this, I know Brian, Ken and myself use Echo to enable/disable

fix bug with lat/long db backup

when user changes lat/long in blue-mix-settings.js app restored previous values from db during start. need to add ability to change lat/long on config screen

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.