Have you seen m2mqtt?