X-Git-Url: https://git.rvb.name/openhab-process.git/blobdiff_plain/bb5d24ae6623bf629268bccea47ab9a2cac1aeef..daa57f38fb9540a14593936b6886d47800abce9c:/mqtt-bt/scan-beacons?ds=sidebyside diff --git a/mqtt-bt/scan-beacons b/mqtt-bt/scan-beacons index 34de7dc..b73d674 100644 --- a/mqtt-bt/scan-beacons +++ b/mqtt-bt/scan-beacons @@ -49,7 +49,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