Glad you were able to get a nap and feel a bit better.
There's an acronym that you may find helpful... HALT - It stands for Hungry-Angry-Lonely-Tired. It's used in recovery groups, but I find it helpful in weight loss too. If you want to eat something, and it's not a normal mealtime situation, ask yourself if you have other needs that may need to be met. If you are angry/upset/sad/tired etc., then deal with that rather than 'stuff' the bad or tired feeling with food. A big glass of water and a nap can frequently change your outlook.