Node-Red UI Builder - Counter value from connected client available?

Hello,

I get a simple project with Node-Red + UI Builder 7.1.0.
Question: could it be possible to get directly out the main uibuilder node the counter value from
connected client ?
I know that part of this information is already given in the uib controls msg. but...
Is there a direct way to get this value ?

Regards
Jean-Rem

image

A status node pointed at that node.

1 Like

Hello Steve,

Verry good idea. That's perfect.

Thanks

Jean-Rem

Let me know if that isn't enough for some reason. It could also be added to the control msg outputs in a future version if needed. Wouldn't be hard.

Hello Julian,

Thanks for your suggestion, but with Steve Idea. This is good enough for my side.
I use this information to limit API request when no client connected to server. As soon as new client connected, I create a new API request. And it works.

Regards
Jean-Rem

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.