FoundersFounders / door-services

IoT project for the doorbell and door-open services here at FoundersFounders.
MIT License
14 stars 6 forks source link

Fix repeated messages #4

Closed JD557 closed 8 years ago

JD557 commented 8 years ago

This PR fixes the "repeated message" problem, where after some time the bot would start sending multiple messages at the same time (It was creating a new event listener every time it reconnected).

DDuarte commented 8 years ago

This fix is superseded by #5

luismfonseca commented 8 years ago

LGTM!

We need to clear the database in production, as the values we have so far are inconsistent because of this (/cc @jcazevedo).