Skip to content

Tuya Integration - #593

Merged
vvlladd28 merged 2 commits into
thingsboard:mainfrom
stitenko:07.2026/Tuya-Integration
Aug 3, 2026
Merged

Tuya Integration#593
vvlladd28 merged 2 commits into
thingsboard:mainfrom
stitenko:07.2026/Tuya-Integration

Conversation

@stitenko

@stitenko stitenko commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Description

Type of change

  • New / updated documentation page (src/content/docs/**)
  • Shared include file (src/content/_includes/**)
  • Component, layout, or styling change (src/components/**, src/styles/**)
  • Landing / use-case / case-study page (src/pages/**, src/data/**)
  • Redirects (src/data/redirects.ts)
  • Version bump / release (see release skill)
  • Build, CI, scripts, or tooling
  • Other (please describe)

Affected products

Related issues

  • Closes #

Checklist

  • pnpm check passes (Astro / TypeScript)
  • pnpm lint:eslint passes
  • pnpm lint:slugcheck passes (required if pages were added/renamed/moved across languages)
  • pnpm lint:linkcheck passes locally — required to merge; run it before requesting review (use pnpm lint:linkcheck:nobuild if you already ran a build)
  • Renamed/removed pages have a redirect in src/data/redirects.ts, and pnpm generate:redirects was run
  • No hardcoded versions — values come from src/data/versions.ts
  • Screenshots attached for visual changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR significantly expands and restructures the Tuya integration documentation include, adding an architecture section/diagram and more detailed setup + validation guidance, while removing previously downloadable converter JSON resources.

Changes:

  • Rewrites the Tuya integration tutorial flow (Tuya account/project setup, message service + messaging rules, integration + rule chain setup, testing, troubleshooting).
  • Adds a new architecture diagram (tuya-integration-architecture.svg) and references it from the docs.
  • Removes legacy downloadable uplink/downlink converter JSON files from public/resources/docs/integrations/tuya/.

Reviewed changes

Copilot reviewed 5 out of 58 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/content/_includes/docs/user-guide/integrations/tuya.mdx Major rewrite/expansion of the Tuya integration guide, including architecture, setup, testing, and troubleshooting; switches to inline converter scripts.
src/assets/images/user-guide/integrations/tuya-integration-architecture.svg Adds a new architecture diagram used by the Tuya integration docs.
public/resources/docs/integrations/tuya/tuya_tbel_uplink_converter.json Removes legacy downloadable converter JSON (no longer referenced from the updated docs).
public/resources/docs/integrations/tuya/tuya_tbel_downlink_converter.json Removes legacy downloadable converter JSON (no longer referenced from the updated docs).
public/resources/docs/integrations/tuya/tuya_javascript_uplink_converter.json Removes legacy downloadable converter JSON (no longer referenced from the updated docs).
public/resources/docs/integrations/tuya/tuya_javascript_downlink_converter.json Removes legacy downloadable converter JSON (no longer referenced from the updated docs).
Suppressed comments (1)

src/content/_includes/docs/user-guide/integrations/tuya.mdx:255

  • The JavaScript decoder example also doesn't handle the { data: {...} } wrapper described below, and it doesn't apply the same bizData.devId fallback used elsewhere. This can prevent device provisioning if Tuya sends the wrapped payload or a message type that only includes bizData.devId.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/content/_includes/docs/user-guide/integrations/tuya.mdx Outdated
Comment thread src/content/_includes/docs/user-guide/integrations/tuya.mdx Outdated
Comment thread src/content/_includes/docs/user-guide/integrations/tuya.mdx Outdated
Comment thread src/content/_includes/docs/user-guide/integrations/tuya.mdx Outdated
Comment thread src/content/_includes/docs/user-guide/integrations/tuya.mdx Outdated
@vvlladd28
vvlladd28 merged commit 3fae7e0 into thingsboard:main Aug 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants