Skip to content

Commit

Permalink
Feat: Removed old changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mpedreira committed Oct 9, 2024
1 parent 74be2eb commit f707452
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ zip -r9 ../my_app.zip app

In the layers page inside functions in AWS, you will need to create a new layer with the layers required by this project that you can see in the image above

![Where to find Layers](img/WhereAreLayers.png | width=250)
![Where to find Layers](img/WhereAreLayers.png)

Once there, you will need to press in Create layer with this configuration:

![Layer Configuration](img/CreateLayer.png | width=250)
![Layer Configuration](img/CreateLayer.png)

With this new blinkRoutines_Layer you can config the new lambda

## Deploy the function

For creating this lambda, you must config the lambda from scratch with this configuration

![Function Configuration](img/CreateFunction.png | width=250)
![Function Configuration](img/CreateFunction.png)

## Upload the code

Expand All @@ -59,7 +59,7 @@ Pressing in the box Upload Zip File

And select the file generated in the previous phase

![Upload Zip File](img/UploadZipFile.png | width=250)
![Upload Zip File](img/UploadZipFile.png)

## Add the Layer

Expand All @@ -69,14 +69,14 @@ Once created, you must include the layer previously created. For that, you must

And there select custom layers --> blinkRoutines_Layer -> v1 with a configuration like the next image

![Include the layers](img/IncludeLayer.png | width=250)
![Include the layers](img/IncludeLayer.png)

## Change the function handler

As far as we are not using the default handler, we must change it over the function configuration.
New handler must be app.main.handler as you can see above

![Change Handler](img/ChangeHandler.png | width=250)
![Change Handler](img/ChangeHandler.png)

## Create Variables

Expand All @@ -90,7 +90,7 @@ For now they are not very importants because you will need to overwrite most of
| ENDPOINT_BLINK | https://rest-prod.immedia-semi.com/ |
| TIMEOUT | 3 |

![Variables](img/Variables.png | width=250)
![Variables](img/Variables.png)

## TO DO API GATEWAY AND BASIC CONF ##

Expand All @@ -103,11 +103,11 @@ You can go to routines by the settings app searching routines.

Here what you need is to create a new profile that runs a web clip once you are away from a site (your house for example). The configuration should be like this:

![Arm](img/Arm.jpg | width=250)
![Arm](img/Arm.jpg)

# Add a Routine for disarm your blink camera

You should do the same for disarm. The only thing that you have to keep in mind is that the arm zone and
the disarm zone are disjoint because if not, they will not work properly

![DisArm](img/Disarm.jpg | width=250)
![DisArm](img/Disarm.jpg)

0 comments on commit f707452

Please sign in to comment.