![smartapp that will turn lighta smartapp that will turn lighta](https://i.ebayimg.com/images/g/T58AAOSwR0Ni~ETf/s-l500.jpg)
#Smartapp that will turn lighta install
Install the dependencies for this app: npm install.įollow the instructions to setup AWS credentials for serverless.ĭeploy the Lambda function: serverless deploy. We will use this in both options below.Ĭlone or download this repository and follow the desired option. In either case, first create an API key at OpenWeather. We've provided two options: the intended deployment platform for this automation (AWS Lambda) and a simple web server that can be used to run and test locally. ngrok installed to create a secure tunnel and create a globally available URL for fast testing.
![smartapp that will turn lighta smartapp that will turn lighta](https://i.ebayimg.com/images/i/122136076492-0-1/s-l1000.jpg)
Node.js and npm installed (verified with npm version 6.14.8 and Node 12.19.0).If testing locally (using provided webserver) A SmartThings compatible color bulb, such as SYLVANIA Smart RGBW, LIFX, or Phillips Hue.A Samsung account and the SmartThings mobile application.An OpenWeather account (free tier is fine).Creating schedules and handling scheduled executions.Actuating devices using the SmartThings API.Integrating with a third-party API (OpenWeather).
![smartapp that will turn lighta smartapp that will turn lighta](https://sc01.alicdn.com/kf/HTB1NxcjGbSYBuNjSspfq6AZCpXa0/231898392/HTB1NxcjGbSYBuNjSspfq6AZCpXa0.jpg)