zachleat/netlify-kasa-build-status
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 1andOffice 2and the code relies on these labels. Change the prefix innetlify-build-lights.js - Rename
sample.envto.envand 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