first commit

This commit is contained in:
jeremygan2021
2025-11-16 17:21:25 +08:00
commit a2682dc040
46 changed files with 5976 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
使用fastAPI框架
python 3.12
- 使用pg数据库 url http://121.43.104.161:6432
- 用户名luna
- 密码123luna
用uvicorn运行
uvicorn main:app --host 0.0.0.0 --port 9999
用 conda activate luna 来激活环境 或者使用uv 来启动
使用./start.sh 来启动服务
服务器项目配置:
墨水屏硬件使用
ESP32-S3 micropython 编写固件
显示模块 GDEY042T81
通信协议 MQTT 3.1.1 + HTTP/HTTPS + NTP MQTT 保障即时性HTTP 方便下载资源NTP 保障时间准确
图片处理 PillowPython 服务端快速预处理图片为墨水屏兼容格式