'How to run a Websocket Server in Odoo 14?

I would like to find a way to run a Websocket server in Odoo 14.

I need it to connect with my devices that only use Websocket as its only protocol for communication.

I tried some Websocket libraries but the result is that when it runs, it interrupts the main Odoo service, which is not what I want.

I want to have both Odoo service and Websocket server running and listening to its own things separately inside Odoo.

Is there a way to achieve such task?



Solution 1:[1]

You should run a third application to communicate odoo and your device.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Juan Salcedo