Page 1 of 1

Add or Update Country Code in Cloud Project?

Posted: 2025年 Mar 22日 04:00
by pique

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?


Re: Add or Update Country Code in Cloud Project?

Posted: 2025年 Mar 22日 16:57
by JamesG

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

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


Re: Add or Update Country Code in Cloud Project?

Posted: 2025年 Mar 23日 04:04
by pique

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.


Re: Add or Update Country Code in Cloud Project?

Posted: 2025年 Mar 23日 20:28
by JamesG

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