TheCrypt0 / yi-hack-v4

New Custom Firmware for Xiaomi Cameras based on Hi3518e Chipset. It features RTSP, SSH, FTP and more!
GNU General Public License v3.0
1.55k stars 218 forks source link

MQTT configuration error from Webinterface #100

Open JhonnyMnemonic320 opened 5 years ago

JhonnyMnemonic320 commented 5 years ago

Hi,

If I try to set in MQTT:Topics:Topics Prefix a Topics Prefix with "/" (for example something like storage/camera/yioutdoor) the web interface save this like "storage%2Fcamera%2Fyioutdoor" in /home/yi-hack-v4/etc/mqttv4.conf and If I reload the webpage it's shown same way as %2F. In this way the MQTT topic prefix is NOT correct. If I write the Topics Prefix directly in /home/yi-hack-v4/etc/mqttv4.conf using ssh all works well.

Thanks

rb2k commented 4 years ago

This seems like a relatively simple fix? Any chance we could get the "urldecode" call in there?

(Or even just hardcode the / replacement call)

GabrielMendozaArias commented 3 years ago

Hello, Crypto a few weeks ago I made a donation to be able to obtain RTSPv4 file License file, however to date I have no response from you, I hope you can help me very soon and provide me with the required files, I appreciate all your work and effort to make technology more free from third parties and corporations.