a script to use mqtt on the badge for home assistent integration