Skip to main content

Non-standard MQTT port

  • DebugBug
  • Autor tématu
  • Nový člen
  • Nový člen
Více
17. dub 2020 22:09 #311 od DebugBug
Non-standard MQTT port vytvořil uživatel DebugBug
I'm using a hosted MQTT server in the cloud and this server uses a non-standard MQTT port. How can I enter the port number of the MQTT server into the configuration interface?

Prosím Přihlásit se nebo Vytvořit účet připojte se ke konverzaci.

  • drejk
  • Administrátor
  • Administrátor
Více
18. dub 2020 13:15 #312 od drejk
Odpověděl drejk pro téma Non-standard MQTT port
Hello,
Unfortunatelly it's not really possible in current GUI version, but there is a "hack" that you could use if you are familiar with Web developer console. If you go to Advanced tab in Smarwi Settings, you can enable Web Developer Console (Ctrl+Shif+C) and with mouse select Broker server input. Then in the console right-click the selected element, select Edit as HTML and add this:
Code:
<input class="form-control" type="text" name="mqttport" id="mqttport">



This will add a field to enter the port. Firmware should accept this input.

I'm sorry that it's this complicated. We will try to fix this in the next release.
Přílohy:

Prosím Přihlásit se nebo Vytvořit účet připojte se ke konverzaci.

  • DebugBug
  • Autor tématu
  • Nový člen
  • Nový člen
Více
18. dub 2020 20:17 #313 od DebugBug
Odpověděl DebugBug pro téma Non-standard MQTT port
Perfect, worked like a charm. It's now connected. Thanks.

Prosím Přihlásit se nebo Vytvořit účet připojte se ke konverzaci.

  • DebugBug
  • Autor tématu
  • Nový člen
  • Nový člen
Více
19. dub 2020 08:53 #314 od DebugBug
Odpověděl DebugBug pro téma Non-standard MQTT port
After updating the port (which is one more digit than the standard) I'm seeing really strange behaviour from the device. It's opening when it should be closing and it can no longer calibrate at all. Could the fact that I'm entering a number with one additional digit be overwriting some internal memory or something that causes the device to not function normally anymore?

Prosím Přihlásit se nebo Vytvořit účet připojte se ke konverzaci.

  • DebugBug
  • Autor tématu
  • Nový člen
  • Nový člen
Více
19. dub 2020 09:14 #315 od DebugBug
Odpověděl DebugBug pro téma Non-standard MQTT port
I can now confirm that setting the MQTT port back to 4 digits, corrected the behaviour of the device. Perhaps you could provide me with a firmware update that takes into consideration that port numbers can go up to 65535? Otherwise the device is quite useless to me without MQTT functionality.

Prosím Přihlásit se nebo Vytvořit účet připojte se ke konverzaci.

Vygenerováno za 0.142 sekund