Skip to content

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

License

Notifications You must be signed in to change notification settings

macdet/weather-bulb

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%