Hi,
I’ve been able to use REST to control things via the gateway and am currently trying to do the same with websockets because I’d like the bi-directional communication websockets enables.
new WebSocket(“wss://xxx.mozilla-iot.org/things/http—w25.local-things-led”, “webthing”);
this connects but almost immediately disconnects with a 1005 (no status code was provided) error.
Are there any examples of using websockets to control things via the gateway?
TIA