WebSocket Client Extension


#1

Buenos dias

comparto extensión

image

image

Metodos

image

Eventos

image

Test Node Red localhost

image

image

image

librerias

https://github.com/codebutler/android-websockets
https://nodered.org/
http://www.websocket.org/echo.html
image

Extension

co.com.dendritas.WebSocketCl.aix (32,4 KB)


HTTPS for Web Component
#2

Can you explain a bit more about the extension use? Thanks


#3

Hola amigo, podrias mostrar un ejemplo como funciona, me resulta interesante, saludos desde Argentina!


#4

Wonderful!
This is opening so many possibilities for IoT, but not only.

Unfortunately it runs into an error all the time:
The operation Text cannot accept the arguments: , [*nothing*]
It comes from the OnError method.
My Node Red server is working, tested with https://www.websocket.org/echo.html

Would you please update and/or post a valid connection workflow?


#5

#6

you can show your blocks


#7

Sure, thanks for replying so fast

I don’t expose the server name here :slight_smile: but it’s present in my tests.

On echo, using my server I get:
CONNECTED
SENT: Rock it with HTML5 WebSocket
RECEIVED: Rock it with HTML5 WebSocket
And the message shows up in NodeRed debug:

But the companion doesn’t reach the server at all. Both on ws and wss (secure websocket). Wifi and network is working though.

Error is when I send, not when I connect. I tried to connect with another button and didn’t get an error.


#8

I’m going to try, I had not found someone familiar, I do it in the afternoon while I build the server


#9

This is great!
Thank you.


#10

Hi Andres,
Any news?


#11

Hi Andres,
What’s up on websocket?


#12

Hi,
Should I let go? :slight_smile: