Giving up my smartphone was the first step, and several weeks ago I decided to go deeper and declutter my home... I took a radical step and got rid of all tech devices at home, either moving them into my office (they're productivity tools after all, aren't they?) or selling them.
If the loneliness stems from being over plugged-in to the digital world - then how about reducing the time you spend online. Put those digital devices aside. Come on. Not forever. Simply, unplug now and then.