burkeholland / weather-bulb

A Serverless timer functions which sets the color of an LIFX bulb based on the outside temperature

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

weather-bulb

A Serverless timer functions which sets the color of an LIFX bulb based on the outside temperature

Setup Instructions

Deploy it straight to Azure without cloning or installing anything. Easily your best option.

Deploy to Azure

Run Locally

Requires the Azure Functions Core Tools.

Clone the repo. Add in a local.settings.json file. In that file you will need to specify the following format/keys...

{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "YOUR-STORAGE-KEY",
    "LIFX_TOKEN": "YOUR-LIFX-TOKEN",
    "DS_API": "https://api.darksky.net/forecast",
    "DS_SECRET": "YOUR-DARKSKY-SECRET",
    "LAT": "YOUR-LATITUDE",
    "LNG": "YOUR-LONGITUDE"
  }
}

About

A Serverless timer functions which sets the color of an LIFX bulb based on the outside temperature

License:MIT License


Languages

Language:JavaScript 100.0%