Add or Update Country Code in Cloud Project?

Discussing technical aspects of Yun development products, including IoT Core and other cloud service APIs, data analysis products, etc.


Post Reply
pique
Posts: 2

I am new to this development and created a cloud project to connect some smart switches to home bridge automation. After working through the configuration steps I am encountering an error in the logs regarding the country code -

[3/21/2025, 1:25:43 PM] [Tuya] Restarting Process...
[3/21/2025, 1:25:43 PM] [Tuya] Launched child bridge with PID 48754
[3/21/2025, 1:25:44 PM] Registering platform '@0x5e/homebridge-tuya-platform.TuyaPlatform'
[3/21/2025, 1:25:44 PM] [Tuya] Loaded @0x5e/homebridge-tuya-platform v1.7.0-beta.54 child bridge successfully
[3/21/2025, 1:25:44 PM] Loaded 0 cached accessories from cachedAccessories.0E1ADB79E193.
[3/21/2025, 1:25:44 PM] [Tuya] instance.countryCode is required

Is there a way to update this project to use the correct country code or is it better to restart and possibly pay more attention to where this configuration setting was requested?

JamesG
Posts: 56

Re: Add or Update Country Code in Cloud Project?

https://developer.tuya.com/en/docs/iot/ ... i0ku9l07qb

Please refer to this article and query the country codes of the app users.

pique
Posts: 2

Re: Add or Update Country Code in Cloud Project?

Thank you for the reply with the listing of country codes. The issue is that now that I have the completed, authorized project I do not know where I missed the opportunity to input the country code nor how to apply it now to the project.
Thank you.

JamesG
Posts: 56

Re: Add or Update Country Code in Cloud Project?

Could you please provide more detailed information? For example, when running which program or code did you encounter this error?

Post Reply