When My beardie wasn't eating a few days because he has swallowed something hard what he found in the room (never let your beardie run around the room when stuff is on the ground it may be dangerous) I have tried to give him bathes he didn't pooed there and after the 4th day he pooed it out, Try to not give him so much food, give him a few apple pieces and try to give him warm bathes everyday, do you use sand for your tank? When yes get rid of it fast..
I don't know any other ways than that, when my beardie didn't wanted to eat I just didn't gaved hima few days only salad apple pieces carrots and after a few days he pooped 2 times a day really big it was his first week of autumn because he didn't knewed why I didn't putted him on the sun because he was sad, and also all dark the Whole week, then he started to know that he can't go out and was happy again
and on the cool side it must be cooler than 94 , When its really warm for them They hide under threes where is nearly 80 ..
Or I had an idea
Let him starve for a few days