@Sefton *******
Thanks for your comments guys. I've read up on the PE rule. But my role is HR, which I understand to be an auxiliary role which doesn't establish PE. After reading all the comments in this post, I'm thinking it best that I arrange my travel to be less than 180 days in Thailand and go to other countries in the other half of the year.