- Příspěvky: 15
- Obdržená poděkování 0
- vektiva.com
- Fórum
- Discussion, electronic window opening
- Other, regarding Smarwi
- Safety Assurance with SMARWI Smart Window System: Inquiry Before Purchase
- Fórum
- Discussion, electronic window opening
- Integration - connecting with 3rd party systems and smart home
- Non-standard MQTT port
Non-standard MQTT port
- DebugBug
- Autor tématu
- Návštěvník
17. dub 2020 22:09 #311
od DebugBug
DebugBug vytvořil/a téma: Non-standard MQTT port
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
- Administrator
Méně
Více
18. dub 2020 13:15 #312
od drejk
drejk odpověděl/a na 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:
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.
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:
<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.
Prosím Přihlásit se nebo Vytvořit účet připojte se ke konverzaci.
- DebugBug
- Autor tématu
- Návštěvník
18. dub 2020 20:17 #313
od DebugBug
DebugBug odpověděl/a na 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
- Návštěvník
19. dub 2020 08:53 #314
od DebugBug
DebugBug odpověděl/a na 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
- Návštěvník
19. dub 2020 09:14 #315
od DebugBug
DebugBug odpověděl/a na 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.