# 基于motion的监控 **Repository Path**: AlEX_2473/monitor ## Basic Information - **Project Name**: 基于motion的监控 - **Description**: 使用mition为载体的web应用,包括Email文件发送,Pushdeer消息发送,日志等。 motion官网:https://motion-project.github.io/ pushdeer:https://github.com/easychen/pushdeer - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2021-07-21 - **Last Updated**: 2024-05-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 使用mition为载体的web应用程序,包括Email文件发送,Pushdeer消息发送,日志等。 ##### motion官网:https://motion-project.github.io/ ##### pushdeer:https://github.com/easychen/pushdeer ##### 接口文档:https://console-docs.apipost.cn/preview/99c6a384250a4fc1/a6d533bee0987d2b 配置文件 `Config.py` 运行: ``` cd serve python app.py python serve.py ``` 自行创建sqlite数据库 ``` 数据库Pushinfo --表Push ----CREATE TABLE "main"."Untitled" ( "id" integer NOT NULL, "Name" TEXT NOT NULL, "KEY" TEXT NOT NULL, "Type" TEXT NOT NULL, PRIMARY KEY ("id") ); --表PushType ----CREATE TABLE "main"."Untitled" ( "PushTypeID" integer(1) NOT NULL, "PushType" TEXT, PRIMARY KEY ("PushTypeID") ); ``` ``` 数据库Setting --表PushTime ----CREATE TABLE "main"."Untitled" ( "id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "Start" TEXT, "End" TEXT ); INSERT INTO "main"."sqlite_sequence" (name, seq) VALUES ('Untitled', '1'); ``` ``` 数据库logs --表PushLogs ----CREATE TABLE "main"."Untitled" ( "id" integer NOT NULL PRIMARY KEY AUTOINCREMENT, "Date" TEXT, "Time" TEXT, "Info" TEXT ); INSERT INTO "main"."sqlite_sequence" (name, seq) VALUES ('Untitled', '13'); --表SystemLogs ----CREATE TABLE "main"."Untitled" ( "id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, "Date" TEXT, "Time" TEXT, "Type" TEXT, "Info" TEXT ); INSERT INTO "main"."sqlite_sequence" (name, seq) VALUES ('Untitled', '11'); ```