Coder Social home page Coder Social logo

domusto-pushbullet's Introduction

Pushbullet

plugin:    Allows DOMUSTO to send Pushbullet push messages to your devices
author:    Bas van Dijk
category:  system
version:   0.0.1
website:   http://domusto.com

Hardware needed

  • none

Software needed

  • Pushbullet.com account

Tested with

  • RFXcom events

Installation

$ ./domusto.js plugin install basvdijk/domusto-pushbullet

Get Pushbullet access token

The Pushbullet plugin need acces to the Pushbullet API. To grand DOMUSTO access you'll need an access token so the Pushbullet server knows who you are. You can get one from the Pushbullet Account Settings page.

The DOMUSTO Pushbullet plugin supports to broadcast to mutiple Pushbullet users. An use case could be a doorbell where multiple Pushbullet users need to be notified when pressed.

Configuration

  1. Add the section below to your config.ts
  2. Restart DOMUSTO
{
    id: 'PUSHBULLET',
    enabled: true,
    settings: {
        accessTokens: [
            '<ACCESS TOKEN 1>',
            '<ACCESS TOKEN 2>'
        ],
    },

}

Example device

{
    id: 'CHIME1',
    screens: ['test'],
    enabled: true,
    role: 'output',
    name: 'doorbell',
    type: 'switch',
    subType: 'momentary',
    plugin: {
        id: 'RFXCOM',
        deviceId: 'Chime1/SELECT_PLUS-0x00123EF',
    },
    triggers: [
        {
            listenToEvents: ['trigger'],
            pluginId: 'SHELL',
            deviceId: 'shell',
            data: {
                shellCommand: 'aplay build/assets/audio/doorbell.wav'
            }
        },
        {
            listenToEvents: ['trigger'],
            pluginId: 'PUSHBULLET',
            deviceId: 'note',
            data: {
                title: 'Doorbell',
                message: 'Ding Dong!'
            }
        },
    ],
},

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.