summaryrefslogtreecommitdiff
path: root/tools/websocket.go
AgeCommit message (Collapse)Author
28 hourstools: websocket: Add connection set up / tear downxengineering
This was validated by sniffing the communication with Wireshark. The following is executed: - TCP initial handshake - GET /rpc from tool - HTTP 101 Switching Protocols (to Websocket) from Shelly - ACK by tool - TCP connection close initiated by tool This shows that the tool is able to make Websocket connections.
28 hourstools: websocket: Add dummy and build integrationxengineering
Adding support for Shelly devices requires usage of the Websocket API. To make development easier a debug tool is created. Since it is not relevant for users it is not an artefact included into the deploy file archive. This also avoids later removing it which is by definition of the public API (see README.md) a breaking change.