https://github.com/bradshjg/nodemcu-mqtt-lua-interpreter/blob/4e77e68836d4dec733876a5fdc7beb0acc5c04da/init.lua#L9