kuj0210 / IoT-Pet-Home-System

IoT Pet Home System by using chatting bot messenger
GNU General Public License v3.0
18 stars 1 forks source link
chatbot gpio python3 raspberry-pi-3

Pet House System

License: GPL v3

CONTRIBUTORS HitCount Build Status

IoT-Pet-Home-System is a system that can communicate through pet-homes and chatting-bot.

How To Get Source Code

Index

Introduction

Pet House systems were built for people who would be absent from home and wouldn't be able to take care of their pets. so it can help reduce pet worries because it is easy to manage pets when you are away on long trips or on sudden appointments. It's very simple to use because it uses a messenger. If you are in an environment that has Internet access, you can use it anywhere.

Features

Requirement

H/W

Others

Pet House Structure

Three motors are operated by messenger, and manage feeds and door.
And you can see the pet directly through the Pi Camera.

Motor operation structure

Door(open) Door(close) Food
Open the door by pulling the thread by the rotation of the motor When the motor stops, the door is closed by the resilience of the weight. Rotate and restore the motor for a short time, and feed the prey by opening and closing the entrance

Client & Server Structure

Full server structure

  1. Users who use Naver-TalkTalk send messages to chatbots using Naver-talkTalk web application.
  2. Naver-TalkTalk API Server sends messages from users as JSON type to a chatting-bot server.
  3. The Chatting-Bot Server compares and analyzes the data stored in the DB with this data. Process the data and send the appropriate response to the user. 4.The Naver-TalkTalk API server processes the message to a user, which is readable by the user, and then presents the result to the user.
  1. Pet-Home constantly asks the chatting-bot server if there are any requests from the user.
  2. The chatting-Bot server checks the DB when a request is received from Pet-Home and sends it to Pet Home if requested by the user.
  3. Pet-Home, which is requested, performs this tasks.

Client & Main server structure

  1. Users send requests to Pet Home through the Navertalk web application. Naver-TalkTalk API server then recognizes this and sends data to chatting-bot server.
  2. Chatting-Bot Server obtain data(request) and a user-key from Naver-TalkTalk. Save the user-key and data(request).
  3. After that, look at the user-key that Pet-Home registered for and see what requests it had. Then take the request and do the corresponding work.
  4. When Pet-Home has finished all the requests of its registered user, it sends a push notification to the user.

How to use

1) Add Official account of Messanger(IoT Pet House System)

2) Enter chat in the format "등록"

3) Click url and fill in the User-Registration form.

4) Enter chats that associated with food, door opening, Taking pictures.


5) If you don't know how to use, please enter the command below.

6) If you forget to feed your pet, chatbot's push service support you!

7) If you want to stop a talktalk-friend, you can stop anytime.

Notes

Installation of the Systems.

1) Server side

Main-server (ChattingBot)

IoT-Pet-Home-System is based on the GNU GENERAL PUBLIC LICENSE v3.

 Copyright (C) 2017-present, kuj0210, KeonHeeLee, seok8418

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.