All Projects → zyzisyz → RPI_web_remote_control

zyzisyz / RPI_web_remote_control

Licence: MIT License
利用树莓派和web界面远程控制空调等家电

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to RPI web remote control

bcmrpi3-kernel-bis
Automated weekly build of the default branch 64-bit bcmrpi3_defconfig (+ tweaks) Linux kernel for the RPi3 B / B+
Stars: ✭ 22 (-72.15%)
Mutual labels:  rpi3, rpi3b-plus
Crankshaft
Crankshaft: A turnkey GNU/Linux solution that transforms a Raspberry Pi to an Android Auto head unit.
Stars: ✭ 1,703 (+2055.7%)
Mutual labels:  rpi, rpi3
boombeastic
A Raspberry Pi based smart connected speaker with support for airplay, spotify, mpd and local playback
Stars: ✭ 206 (+160.76%)
Mutual labels:  rpi, rpi3
ControlBlockService2
This is the driver for the ControlBlock re.v 2.X, a power switch and input/output/gameapd gadget for the Raspberry Pi
Stars: ✭ 18 (-77.22%)
Mutual labels:  rpi, rpi3
HyperBian
Hyperion pre installed on Raspberry Pi OS Lite
Stars: ✭ 192 (+143.04%)
Mutual labels:  rpi, rpi3
jsheroes.io
The official JSHeroes website
Stars: ✭ 35 (-55.7%)
Mutual labels:  website
shineboard
A beautiful way to share code
Stars: ✭ 15 (-81.01%)
Mutual labels:  website
AspNetCore.Weixin
An ASP.NET Core middleware for Wechat/Weixin message handling and apis. (微信公众平台/接口调用服务)
Stars: ✭ 24 (-69.62%)
Mutual labels:  website
Gangster-Legends-V2
A free to use text-based PBBG / MMORPG script
Stars: ✭ 48 (-39.24%)
Mutual labels:  website
unitscss
UNITS is a simple and beautiful CSS component set.
Stars: ✭ 13 (-83.54%)
Mutual labels:  website
httoop
HTTOOP - a fully object oriented HTTP protocol library written in python
Stars: ✭ 15 (-81.01%)
Mutual labels:  website
typekev-site
My personal website built, of course, with React
Stars: ✭ 22 (-72.15%)
Mutual labels:  website
simple-web-project-collection
Collection of website applications project that is simple and beginner-friendly to start your journey on Web Development Learning Path.
Stars: ✭ 17 (-78.48%)
Mutual labels:  website
node-starter-kit
Node.js / GraphQL project template pre-configured with TypeScript, PostgreSQL, login flow, transactional emails, unit tests, CI/CD workflow.
Stars: ✭ 76 (-3.8%)
Mutual labels:  website
rootlesscontaine.rs
Website to track the progress of rootless containers.
Stars: ✭ 40 (-49.37%)
Mutual labels:  website
haxe.org
The haxe.org website
Stars: ✭ 74 (-6.33%)
Mutual labels:  website
urlbox-screenshots-node
Capture website thumbnails using the urlbox.io screenshot as a service API in node
Stars: ✭ 14 (-82.28%)
Mutual labels:  website
cariboulite
CaribouLite turns any 40-pin Raspberry-Pi into a Tx/Rx 6GHz SDR
Stars: ✭ 785 (+893.67%)
Mutual labels:  rpi
volodymyrkushnir.dev
My very own personal website. Basically this is just a résumé.
Stars: ✭ 16 (-79.75%)
Mutual labels:  website
rpi3-bluetooth
Raspberry Pi 3 on-board Bluetooth example
Stars: ✭ 17 (-78.48%)
Mutual labels:  rpi3

RPI_web_remote_control

利用树莓派远程控制空调等家电的开关

简要介绍

这是一个利用网页远程控制树莓派发出红外信号控制空调等家电的小项目or实验,简单来说,可以在回家的路上用手机通过网页控制,提前将空调打开,设定成需要的温度。同时可以在网页上实时监控室内的温度和湿度。

代码主要使用Python的flask框架编写。为了能在公网下远程访问树莓派,使用frp内网穿透工具

功能概要

  1. 远程控制空调
  2. 远程监控室内温湿度
  3. 远程操控LED灯

所用元器件

  1. 树莓派3B+ ×1
  2. SD卡(8GB) ×1
  3. 红外发射和接收模块 ×1
  4. 温湿度传感模块 ×1
  5. 发光二极管 x1
  6. 树莓派拓展板 x2
  7. 杜邦线 若干
  8. 具有公网IP的VPS x1

最终效果图

前端网页效果图

因为对前端不是很熟,这个网页写的很简单。但基本实现了我们需要显示的功能和按键。

image

更多效果图可以查看img文件夹下的图片

实物连接图

image

文件结构说明

RPI_web_remote_control/         
|-- img                     //用于存放README.md演示图片
|-- net_setting             //用于存放内网穿透的设置文件
|-- README.md               
`-- web_interface           //用于存放Python写的flask工程

如何使用

如果你有一定的使用Linux经验和对flask这样的web应用框架有一定的了解,相信你一定能很快的上手,配置好内网穿透和安装好flask后直接运行web_interface下的app.py文件就可以了。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].