Yes, post wiring. Curious!
But it sounds like you are hot wiring a cheapy plug remote power switch. Assuming you only see the BOOT message when you expect, it seems likely the failure is without your code and Arduino.
Whatever else you find, I would recommend going to the trouble of having some way to close the loop - that is to say verify that the cheapy remote has in fact switched properly. Naturally you'll wanna do this without adding additional places where noise and power glitches can interfere making it worse than not doing.
Alternately or additionally, you could issue the commands regularly, even if they would seem redundant. Send "lamp off" every minute during the lamp off period, &c. Then if the problem was something random and temporary the lamp would soon get turnt on. This also would help ride over a brief power outrage.
I would do both. The log text would be interesting!
a7