Now that we have a working bot and error logging in Slack. We want to be able to record daily information in a database to compare it with the previous month to see if there is an increase or not. How to trigger a lambda at a specific time? Create a new lambda function, and... Continue Reading →
Notification in Slack when Lambda Fails
We have a Slack bot running off of Lambda functions, but when they fail, we don't have any idea. Unless we check the logs. It would be nice for us to get notified when one of our Lambda functions fails in Slack. To do this we need to create new lambda function and add a... Continue Reading →
Smart Bot 2024
This year, I plan to go for my AWS SysOps and AWS DevOps Certificates. (This would complete the software development engineer and system administrator path in AWS.) Both exams have hands-on questions in AWS on setting up small projects. So, I want to start getting some hands-on experience since I am also our Slack and Github admin at... Continue Reading →
Slack Smart Bot: Adding a AWS DynamoDB
Currently, the bot we've made in the previous post (first, second) doesn't use a database. So we are currently cheating by passing channel id and timestamp that we need to for the modal to work as fields in the modal. Instead of doing that, we can use a Database in AWS. Which Database AWS has... Continue Reading →
Slack Smart Bot: Getting Modal working with Lambda
Modal in Slack are pop up window that appear in Slack where you can ask a user specific questions to get information that your app can use. Just to start off with For a test workflow to see if I can get this to work correctly will look like this The user will post in... Continue Reading →
Debugging Slack Smart bot in CloudWatch Logs
Last post i started a Smart Slack bot that use AWS Lambda. What happens though if something break in the lambda function how do find out? Every time a Lambda function run in AWS, the logs are automatically stored in CloudWatch Log You can see these logs in your Lambda function by click on Monitor... Continue Reading →
AWS Rekognition and Raspberry Pi working together
I'm going to take the work i did from my first post, setting up a Raspberry pi, and the second post, image detection in AWS Rekognition, and put it all together. First steps is to move the code from the ImageDectect.py in to Detector class. I ended up breaking this in to 3 classes, and... Continue Reading →
Simple Image Detection with AWS Rekognition
Since i have my Raspberry Pi Setup to take picture when it detect motion the next set is to get image detection working with AWS Rekognition. I've never use AWS before and the amount of services AWS has is pretty scary. But with a little trial and error i managed to get this to work... Continue Reading →
Setting up the Raspberry Pi
Thing to buy 4GB Raspberry Pi 4Raspberry Pi Camera Modules V2-8 MegapixelAdafruit PIR motion Sensor120pc 15CM dupont wire female to female breadboard jumper wiresRaspberry Pi 4 Model 4 USB-c 5.1V plugHDMI to Micro HDMI32GB micro SD I went with a Raspberry pi 4 which is on the expensive end for Raspberry pi, you should be... Continue Reading →
Starting my first project with Raspberry Pi
I had started this site right before Covid started with the plan of working on various projects and making blog posts about them. Covid hit, and I got super busy and ended up putting those plans on hold. Nine months later, I'm starting to look at fun projects to play around with. So here is... Continue Reading →