It may sound cliche, but take a vacation. A disconnected, no social media, no email, minimal tech vacation. I find that completely tuning out recharges me and after a little while (usually 4 days) the distance from all things tech makes the "itch" come back and my heart a little fonder. I think if you try to work on side projects and have a constant negative self-perception, you won't be motivated to do much at all - not just program.