By “shutting off at the thermostat” do you mean the SMX control panel?
Is it just shutting off the unit with no codes?
If so, I saw that happen to one of my units last year and it turned out to be the SMX control panel itself.
But since I have two AC units on my boat I was able to diagnose and verify it by swapping the control panels.
The control panels are expensive but they have a pretty flimsy little curcuit board in them that can fail. Mine did. But I wouldn’t buy one unless I knew for sure I needed it.
Now that I saw how flimsy they are I try to use the remote control I have instead of pushing on the buttons on the panel.
I don’t know if this is your problem, but before calling in a technician maybe you can try to eliminate it as a possible cause.
First try a factory reset of the panel, if that doesn’t fix it maybe someone will loan you their panel to test your system.