X-Git-Url: https://git.rvb.name/openhab-process.git/blobdiff_plain/26d1617608ea0272ebb1373e6f489bc771091b21..33e4de673cfc18d5dbb46d56f5b7453329cf7e89:/mqtt-bt/scan-beacons?ds=sidebyside diff --git a/mqtt-bt/scan-beacons b/mqtt-bt/scan-beacons index a574f66..17e5533 100644 --- a/mqtt-bt/scan-beacons +++ b/mqtt-bt/scan-beacons @@ -55,7 +55,9 @@ end function mqtt_encode(str) if (str) then str = string.gsub (str, "\n", "") + str = string.gsub (str, ":", "-") str = string.gsub (str, "/", "-") + str = string.gsub (str, " ", "_") end return str end