Quick proof-of-concept for flashing/blinking lights with Laravel and IFTTT
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
config
database
public
resources
routes
storage
tests
.env.example
.gitattributes
.gitignore
artisan
blink.gif
composer.json
composer.lock
ifttt-settings.png
package.json
phpunit.xml
readme.md
server.php
webpack.mix.js
yarn.lock

readme.md

Blink My Lights

Simple, 15-minute app for blinking smart lights from a web interface. Built on a whim for Laracon Online 2018.

Installation

Normal Laravel installation; remember to get your IFTTT key and put it in .env.

Sample

http://blink.mattstauffer.com

IFTTT Settings

Twitter Settings

  1. While logged in, create an app at https://apps.twitter.com/app/new

  2. In the "Keys and Access Tokens" tab, click "Create my access token".

  3. Copy the corresponding keys into your .env

    TWITTER_OAUTH_TOKEN=      # Access Token
    TWITTER_OAUTH_SECRET=     # Access Token Secret
    TWITTER_CONSUMER_KEY=     # Consumer Key (API Key)
    TWITTER_CONSUMER_SECRET=  # Consumer Secret (API Secret)