From: Roman Bazalevskiy Date: Sun, 16 Sep 2018 16:08:55 +0000 (+0300) Subject: Merge branch 'master' of rvb.name:openhab-process X-Git-Url: https://git.rvb.name/openhab-process.git/commitdiff_plain/33e4de673cfc18d5dbb46d56f5b7453329cf7e89?hp=26d1617608ea0272ebb1373e6f489bc771091b21 Merge branch 'master' of rvb.name:openhab-process --- 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