feat(ai-ui): add guided WeChat UI - #711
Open
jianning773 wants to merge 1 commit into
Open
jianning773 wants to merge 1 commit into
jianning773 wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds an SDK-native Guided WeChat UI for the
your_chat_botapplication on T5AI touch-screen boards.The new UI combines the existing WeChat-style chat experience with a guided first-run flow for language selection, device authorization, and network configuration.
New Features
Guided onboarding flow
Authorization status and device information
TUYA_EVENT_BIND_STARTTUYA_EVENT_BIND_TOKEN_ONTUYA_EVENT_MQTT_CONNECTEDTUYA_EVENT_RESETLocalized QR-code guidance
https://tuyaopen.ai/pricinghttps://tuyaopen.ai/zh/pricingWeChat-style chat UI
Camera and image functions
When the corresponding camera/image components are enabled, the new UI supports:
SDK and configuration changes
guided_wechatUI module.ai_chat_ui.c.CONFIG_ENABLE_AI_CHAT_GUI_GUIDED_WECHAT.CONFIG_LV_USE_QRCODE.TUYA_T5AI_BOARD_LCD_3.5.configTUYA_T5AI_BOARD_LCD_3.5_CAMERA.configTUYA_T5AI_BOARD_LCD_3.5_CAM_PRINTER.configTUYA_T5AI_BOARD_LCD_3.5_WITH_L511.configTUYA_T5AI_BOARD_LCD_3.5_v101.configapp_default.configunchanged.Expected Impact
CONFIG_ENABLE_AI_CHAT_GUI_GUIDED_WECHAT=yis selected.your_chat_botapplication and T5AI touch-screen board profiles.Validation
tos.py clean -f.using.cmake,tuya_kconfig.h, and related build files.ENABLE_AI_CHAT_GUI_GUIDED_WECHATENABLE_COMP_AI_VIDEOENABLE_COMP_AI_PICTUREENABLE_IMAGE_ALBUMLV_USE_QRCODEyour_chat_botapplication started normally.