Getting 5V D/C from single live wire A/C light switch

Stanley:
How do I tap 5V D/C from a single live wire A/C from a light switch without turning on the light ?

Something like the attached picture ...

In many cases, the neutral wire, or a neutral wire will be available in the junction box along with the hot wire.