diff --git a/README.md b/README.md index 365de93..c3506f4 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ CubeFX is a **third-party** open-source lighting control system designed for the ### Method 1: OTA Update -* Download the `CubeFX_ota_xxx.bin` firmware from the [Releases](/releases) page +* Download the `CubeFX_ota_xxx.bin` firmware from the [Releases](https://github.com/Cp0204/CubeFX/releases/latest) page * Connect to the `ZimaCube` hotspot, the default password is `homecloud` * Visit http://172.16.1.1 in your browser * Upload the `.bin` file to the ESP32-C3 development board @@ -35,7 +35,9 @@ CubeFX is a **third-party** open-source lighting control system designed for the ### Customizing LED Colors -Connect to the hotspot and send a POST request to http://172.16.1.1/post with the following data format: +Connect to the hotspot and open http://172.16.1.1/post + +Or use other software to POST data to `http://172.16.1.1/post` in the following format: ```json { @@ -60,7 +62,7 @@ Connect to the hotspot and send a POST request to http://172.16.1.1/post with th ``` * **on:** Light switch, optional, [0,1] -* **id:** Lighting effect, currently valid range is [-74,5] +* **id:** Lighting effect, currently valid range is [-71,5] * **speed:** Effect speed, range [0,255] * **lightness:** Brightness, range [0,255] * **data:** Supports RGB, HSV, and HEX color input formats, where HEX is a 6-digit hexadecimal color value. HSV format is planned for deprecation, please use RGB or HEX format. diff --git a/README_CN.md b/README_CN.md index 95f5c3e..5f49ce1 100644 --- a/README_CN.md +++ b/README_CN.md @@ -21,7 +21,7 @@ CubeFX 是一个为 ZimaCube 设计的**第三方**开源灯光控制系统, ### 方式一:OTA更新 -* 在 [Releases](/releases) 页面下载 `CubeFX_ota_xxx.bin` 固件 +* 在 [Releases](https://github.com/Cp0204/CubeFX/releases/latest) 页面下载 `CubeFX_ota_xxx.bin` 固件 * 连接 `ZimaCube` 热点,默认密码 `homecloud` * 浏览器访问 http://172.16.1.1 * 将 `.bin` 文件上传到 ESP32-C3 开发板 @@ -35,7 +35,9 @@ CubeFX 是一个为 ZimaCube 设计的**第三方**开源灯光控制系统, ### 自定义灯珠颜色 -连接热点 POST 数据到 http://172.16.1.1/post ,数据格式如下: +连接热点打开 http://172.16.1.1/post + +或使用其它软件 POST 数据到 `http://172.16.1.1/post` ,数据格式如下: ```json { @@ -60,7 +62,7 @@ CubeFX 是一个为 ZimaCube 设计的**第三方**开源灯光控制系统, ``` * **on:** 灯光开关,可选,[0,1] -* **id:** 灯光效果,目前的有效范围是 [-74,5] +* **id:** 灯光效果,目前的有效范围是 [-71,5] * **speed:** 效果速度,范围 [0,255] * **lightness:** 亮度,范围 [0,255] * **data:** 支持 RGB, HSV, HEX 三种颜色提交格式,其中 HEX 为 6 位十六进制颜色值。HSV 计划淘汰,请使用 RGB 或 HEX 格式。