64 lines
2.5 KiB
Markdown
64 lines
2.5 KiB
Markdown
# Air700E / Air780E / Air780EG And ESP32C3 短信转发
|
||
|
||
- [x] 多种通知方式
|
||
> 默认使用两种常见的钉钉群机器人和企业微信机器人
|
||
- [ ] [Telegram](https://github.com/0wQ/telegram-notify)
|
||
- [ ] [PushDeer](https://www.pushdeer.com/)
|
||
- [ ] [Bark](https://github.com/Finb/Bark)
|
||
- [x] [钉钉群机器人 DingTalk](https://open.dingtalk.com/document/robots/custom-robot-access)
|
||
- [ ] [飞书群机器人 Feishu](https://open.feishu.cn/document/ukTMukTMukTM/ucTM5YjL3ETO24yNxkjN)
|
||
- [x] [企业微信群机器人 WeCom](https://developer.work.weixin.qq.com/document/path/91770)
|
||
- [ ] [Pushover](https://pushover.net/api)
|
||
- [ ] [邮件 next-smtp-proxy](https://github.com/0wQ/next-smtp-proxy)
|
||
- [ ] [Gotify](https://gotify.net)
|
||
- [ ] [Inotify](https://github.com/xpnas/Inotify) / [合宙推送服务](https://push.luatos.org)
|
||
- [x] 开机通知、自检通知
|
||
- [x] 使用消息队列, 经测试同时发送几百条通知, 不会卡死
|
||
- [x] 通知发送失败, 自动重发
|
||
- [x] 开机通知、自检通知可选转发
|
||
- [x] 微信配网
|
||
- [x] SoftAP配网 地址:`192.168.4.1`
|
||
- [x] 通知机器人地址可配置 `http://192.168.4.1/config`
|
||
- [ ] 配置PC客户端
|
||
- [ ] web配置客户端
|
||
|
||
## :hammer: Usage
|
||
|
||
### 1. 烧录固件
|
||
|
||
|
||
> 默认在对应主板的 `core` 目录下有对应底层固件,可以配合lua脚本进行烧录
|
||
> 推荐使用已经编译好的固件进行烧录
|
||
> Air780e使用 `air780e\core\SOC量产及远程升级文件\EC618` 目录下的soc固件烧录
|
||
> ESP32C3使用 `esp32c3\core\SOC量产及远程升级文件\ESP32C3` 目录下的soc固件烧录
|
||
|
||
### 2. web接口配置
|
||
|
||
#### 2.1. 访问 `http://192.168.4.1/config` 获取当前配置
|
||
|
||
```
|
||
{
|
||
"code": 0,
|
||
"msg": "完成",
|
||
"ssid": "M302", //wifi接入点名称(只支持2.4G)
|
||
"passwd": "41672088", //wifi密码
|
||
"notify_channel": {
|
||
"dingtalk": "https://oapi.dingtalk.com/xxx", //钉钉机器人地址
|
||
"wecom": "https://qyapi.weixin.qq.com/xxx" //企业微信机器人地址
|
||
},
|
||
"numbers": [
|
||
"15264925507", //子设置手机号列表 如果设备不能获取本身的手机号 则使用此处的手机号
|
||
"129",
|
||
"120",
|
||
"5555",
|
||
"8888888"
|
||
],
|
||
"notify_type": [
|
||
"dingtalk",
|
||
"wecom"
|
||
]
|
||
}
|
||
```
|
||
#### 2.2. 修改配置json并POST到 `http://192.168.4.1/config` 设置
|
||
|
||
注意:不需要配置的选项可以删除,修改ssid和wifi密码会重启设备 |