I followed two rules to shift from a consumer to a producer:
1. have a fixed amount of time to read HN, Reddit, Twitter, Email
2. have a release schedule
The first rule helps me to keep the consuming time to a minimum. Only once in the morning, after lunch and after work I check the recent (!) updates on all necessary platforms. It can be hard in the beginning, but at some point it becomes a habit.
The second rule helps me to stick to producing. I blog about web development and self-growth and therefore I have a backlog of ideas to write about. Once a week I post an article.