esp-ali-smartliving SDK本地定时功能

maxchentt
Posts: 15
Joined: Sat Jan 14, 2023 11:00 am

esp-ali-smartliving SDK本地定时功能

Postby maxchentt » Thu Mar 02, 2023 6:23 pm

芯片:esp-8266EX
ESP8266_RTOS_SDK:v3.3
github:https://github.com/espressif/esp-ali-smartliving.git
示例:ESP8266_RTOS_SDK\esp-ali-smartliving\examples\solutions\smart_light

请问有关于阿里云本地定时功能相关的示例吗?或者网上类似的例子?
PS:以下是阿里云关于本地定时相关解释文档
https://help.aliyun.com/document_detail/250198.html

ESP_YJM
Posts: 300
Joined: Fri Feb 26, 2021 10:30 am

Re: esp-ali-smartliving SDK本地定时功能

Postby ESP_YJM » Fri Mar 03, 2023 3:33 am

不支持,需要升级 ali-smartliving SDK。

maxchentt
Posts: 15
Joined: Sat Jan 14, 2023 11:00 am

Re: esp-ali-smartliving SDK本地定时功能

Postby maxchentt » Fri Mar 03, 2023 5:18 am

具体怎样升级呢?
已知 ali-smartliving SDK最新版本是v1.6.6-10
是直接整个文件夹替换后重新预编译吗?

ESP_YJM
Posts: 300
Joined: Fri Feb 26, 2021 10:30 am

Re: esp-ali-smartliving SDK本地定时功能

Postby ESP_YJM » Fri Mar 03, 2023 7:04 am

对,你先把 ali-smartliving SDK最新版本是v1.6.6-10 整个目录替换,然后编译 ali-smartliving。注意可能要自己按照老版本手动加 esp8266 board 文件 https://github.com/espressif/esp-ali-sm ... sp8266.aos

maxchentt
Posts: 15
Joined: Sat Jan 14, 2023 11:00 am

Re: esp-ali-smartliving SDK本地定时功能

Postby maxchentt » Mon Mar 06, 2023 7:03 am

ali-smartliving SDK v1.6.6-10 整个目录替换后进行了编译(makereconfig 选config.esp8266.aos+ make)
再进入example中的smart_light示例进行编译,报以下错误:
0306.png
0306.png (282.53 KiB) Viewed 40239 times
请问是什么原因呢?

附件中包含ali-smartliving SDK v1.6.6-10
Attachments
asl.zip
(8.66 MiB) Downloaded 1188 times

ESP_YJM
Posts: 300
Joined: Fri Feb 26, 2021 10:30 am

Re: esp-ali-smartliving SDK本地定时功能

Postby ESP_YJM » Mon Mar 06, 2023 7:53 am

应该是这些函数没实现,要实现下。

maxchentt
Posts: 15
Joined: Sat Jan 14, 2023 11:00 am

Re: esp-ali-smartliving SDK本地定时功能

Postby maxchentt » Mon Mar 06, 2023 9:00 am

具体怎样实现呢?不熟悉项目的结构 :D

ESP_YJM
Posts: 300
Joined: Fri Feb 26, 2021 10:30 am

Re: esp-ali-smartliving SDK本地定时功能

Postby ESP_YJM » Tue Mar 07, 2023 2:12 am

这个实现一两句讲不清,你看看阿里云官方有没有这些适配的接口说明。

Who is online

Users browsing this forum: No registered users and 16 guests