Use db.ping to keep connection alive
Merge branch 'master' of github.com:xavbabe/heating

Merge to fix keepalive