if anyone is still looking, I've taken some time to make a more robust mqtt library which even supports the battery status and IR modules. Feel free to look at it 🙂 https://github.com/asosnovsky/flic2hass