SNS funnels the message to a topic to which our AWS Lambda function is subscribed. AWS IAM verifies IoT has permissions to publish messages to AWS SNS. In this case IoT only passes along data messages if the light sensor reading is less than 400 lux. IoT accepts the input and in real-time makes a decision to pass along the data or ignore it. In summary, the Edison transmits the light level to AWS IoT. (AWS SNS)īelow is a high level end-to-end schematic of the project design. Something to let all of the services talk to each other in a common way.A service that can send a decision for my light to my Hue.A service that can use my sensor's input and make a decision about turning my light on or off.Something to sense light levels and transmit the information to a service that can do something with it.With goal in mind, we need the following "solutions": That being said, there are probably more sophisticated solutions to my project's goal, but for now I just needed to give myself a baseline to work from. For example, you can still use the AWS framework described here, but aren't restricted to only using the Intel Edison as your IoT device. I've also tried to keep the components used in the architecture as modular as possible. When at all possible, I've purposely taken "the path of least resistance" when designing the project architecture. This tutorial uses a collection of services and IoT hardware. The purpose of this tutorial is to show how through AWS services, IoT devices like the Intel Edison can be used to enhance consumer out-of-the-box products like the Philips Hue home automation lighting system. The goal of this tutorial is to make a light sensor turn on my office light when the ambient light levels fall below a certain level.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |