Skip to content

A little script to update my lights with the status of a Netlify build

License

Notifications You must be signed in to change notification settings

zachleat/netlify-kasa-build-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netlify-kasa-build-status

I have two KL130 smart bulbs from Kasa (TPLink). I have a Netlify build that runs to deploy my site. I wanted to show the status of my last two web site builds.

  • Gnarly code warning: My lights are aliased as Office 1 and Office 2 and the code relies on these labels. Change the prefix in netlify-build-lights.js
  • Rename sample.env to .env and fill in the values.
    • Find a NETLIFY_TOKEN.
    • Find your Netlify site’s API ID on the Site details page. Mine was https://app.netlify.com/sites/11ty/settings/general

About

A little script to update my lights with the status of a Netlify build

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published