I did some more research.
This blog is worth a read.
Mentions the raid in Chiang Mai.
Some of this information is coming from a lawyer.
http://guroo.asia/can-a-digital-nomad-work-in-chiang-mai/
some key points:
Immigration needs to prove in court that someone is breaking the law to get them deported
Immigration is now actively collecting this evidence for future arrests to provide proof
What is the criteria Immigration investigators are concerned about?
Anyone working from anything that can be defined as a ‘Office”. This includes condos converted into Offices (as in the Skype English Teachers) and spaces deemed to look like an Office (rented enclosed working spaces in coworking spaces) and actual rented Offices
Anyone who publicly states they are working in Thailand as a digital nomad without a work permit. Investigators are looking at Forums, Facebook groups, Nomad seminars with a fee, and personal blogs – and collecting evidence
What are Immigration investigators not concerned about?
Visitors who are holidaying in Thailand as part of an extended overseas vacation
People working from inside their own condo or apartment
People working in open cafe (something that does not resemble an office)
People without a history of living here repeatedly
People who are working and not openly promoting they are breaking the laws of the Kingdom of Thailand.