@Rini ********
Get a LTR Visa if you can or avoid staying 180 days or more the year you sell your house. The following channel have some good videos about Thai taxes and DTA's too though, listen to some of them:
************************************************