Logic Machine Forum
Using built-in MQTT broker over WebSocket - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: Using built-in MQTT broker over WebSocket (/showthread.php?tid=3170)



Using built-in MQTT broker over WebSocket - johanax - 16.02.2021

Hi,
is it possible to set up the built-in Mosquitoo broker to use the websocket protocol?


RE: Using built-in MQTT broker over WebSocket - admin - 16.02.2021

Websocket support is not enabled. Can you explain your use case for this?


RE: Using built-in MQTT broker over WebSocket - johanax - 16.02.2021

I'm developing a web based smart home dashboard using the Paho JavaScript Client


RE: Using built-in MQTT broker over WebSocket - admin - 16.02.2021

LM has a websocket interface for objects, do you really need MQTT in your case? See this thread for an example: https://forum.logicmachine.net/showthread.php?tid=525&pid=2913#pid2913


RE: Using built-in MQTT broker over WebSocket - johanax - 16.02.2021

(16.02.2021, 10:12)admin Wrote: LM has a websocket interface for objects, do you really need MQTT in your case? See this thread for an example: https://forum.logicmachine.net/showthread.php?tid=525&pid=2913#pid2913

I would prefer to use MQTT over websocket as a common protocol since I also will interact with other interfaces. Is there any problems/drawbacks to enable websocket support for the built-in broker.

Regards Johan


RE: Using built-in MQTT broker over WebSocket - admin - 16.02.2021

The broker does not have the websocket protocol support compiled in.


RE: Using built-in MQTT broker over WebSocket - johanax - 16.02.2021

Will websocket support be compiled into the broker in a near future, if not is it possible to install a custom package with websocket support enabled?


RE: Using built-in MQTT broker over WebSocket - admin - 16.02.2021

Maybe later but I can't promise anything at the moment.


RE: Using built-in MQTT broker over WebSocket - johanax - 04.02.2023

Hi, 
any plans on implementing websocket support for MQTT in the future?

Regards Johan


RE: Using built-in MQTT broker over WebSocket - johanax - 07.02.2023

(04.02.2023, 08:08)johanax Wrote: Hi, 
any plans on implementing websocket support for MQTT in the future?

Regards Johan

Hi again,
is it somehow possible to install a custom package with websocket support enabled?

Regards Johan


RE: Using built-in MQTT broker over WebSocket - admin - 07.02.2023

There's no custom package with websocket support.