Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bit of info about the Websocket #9

@danielcherubini

Description

@danielcherubini

Hello from the Elegoo Home Assistant integration..

A little information for you, and sorry I didn't see any other way to let you know this. There's a kind of crappy limitation with the websocket, basically, 4 max connections, and video counts as a connection.

So, let's say you have your esp32 connected, AND you have your slicer, that's potentially 3 connections, now you visit the webui, and you're out of connections. (as it would be 5)

So how did we solve this? Well... we proxied it.

https://github.com/danielcherubini/elegoo-homeassistant/blob/main/custom_components/elegoo_printer/elegoo_sdcp/server.py

Proxied the discovery broadcast too..

If there's anything you want to know about the websocket connection, or the SCDP protocol just ask :D

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions