@ddaniel That is exactly what I did.
First I conneted the devices to the smart life app.
Then I created the Tuya Cloud account.
With the debug feature of the cloud account I check the localkey. (super easy)
I tried local tuya with the gathered informations in Home Assistant - not working.
I tried Tuya integration which connects to the cloud and the smart life app - works.
Diagnose Data shows this:
"data": {
"region": "eu",
"client_id": "y9h...arc",
"client_secret": "ad1...395",
"user_id": "eu1...tR4",
"username": "localtuya",
"no_cloud": false,
"devices": {},
"cloud_devices": {
"bf69dd...e906c9vlo": {
"active_time": 1668155476,
"biz_type": 18,
"category": "wk",
"create_time": 1668155476,
"icon": "smart/icon/ay1547209623516pqlXf/68386c89c91285008c30db120b19a5b0.png",
"id": "bf69dd...e906c9vlo",
"ip": "xxx",
"lat": "51.1856",
"local_key": "b8e...232",
"lon": "6.5017",
"model": "",
"name": "Schlafzimmer",
"online": true,
"owner_id": "69255291",
"product_id": "vcdfsrjikcpkpkzj",
"product_name": "WiFi Smart Thermostat",
"status": [
{
"code": "mode",
"value": "off"
},
{
"code": "window_check",
"value": false
},
{
"code": "temp_set",
"value": 50
},
{
"code": "upper_temp",
"value": 200
},
{
"code": "temp_unit_convert",
"value": "c"
},
{
"code": "temp_current",
"value": 84
},
{
"code": "window_state",
"value": "close"
},
{
"code": "lower_temp",
"value": 50
},
{
"code": "temp_correction",
"value": -100
},
{
"code": "battery_percentage",
"value": 95
},
{
"code": "child_lock",
"value": false
},
{
"code": "fault",
"value": 0
}
],
"sub": false,
"time_zone": "+01:00",
"uid": "eu1666796811786UXtR4",
"update_time": 1668155495,
"uuid": "eff2c264ab18b313"
}
I’m wondering about “localtuya” as username.