Its written in Perl and a bit dated, but it's small and connects with everything I have. Plus it includes a MQTT server.