Switch to desktop version  
Detect when a user connects to the flexy - Printable Version

+- Ewon Technical Forum (https://techforum.ewon.biz)
+-- Forum: Development (https://techforum.ewon.biz/forum-50.html)
+--- Forum: BASIC Script (https://techforum.ewon.biz/forum-52.html)
+--- Thread: Detect when a user connects to the flexy (/thread-446.html)



Detect when a user connects to the flexy - jonteohr - 14-11-2017

Hi,
Is it possible to, via script, detect when a user connects to the Flexy? And then the other way around, detecting when a user disconnects


RE: Detect when a user connects to the flexy - jonteohr - 15-11-2017

UPDATE
I was testing if the flexy disconnects from the VPN if a user is not connected, which would mean that I then could just check if the VPN IP = 0.0.0.0 or not via GETSYS PRG, "VPNIP".

Sadly, it seems like the VPN IP only gets set to 0.0.0.0 when it has no internet connection, and not when a connected user disconnects


RE: Detect when a user connects to the flexy - simon - 15-11-2017

Yes, when a user disconnects from an eWON on eCatcher, it is the VPN between eCatcher and talk2M that is disconnected, not the VPN between the eWON (Cosy/Flexy) and talk2M.

I can tell you that this is actually a new feature that will be supported in the next firmware 12.2 (should be available end of November). You'll simply have a special Tag that will indicate the number of users connected through eCatcher (Desktop) or eCatcher Mobile. (M2Web users connected are not counted)


RE: Detect when a user connects to the flexy - jonteohr - 16-11-2017

(15-11-2017, 05:46 PM)Simon Wrote: Yes, when a user disconnects from an eWON on eCatcher, it is the VPN between eCatcher and talk2M that is disconnected, not the VPN between the eWON (Cosy/Flexy) and talk2M.

I can tell you that this is actually a new feature that will be supported in the next firmware 12.2 (should be available end of November).  You'll simply have a special Tag that will indicate the number of users connected through eCatcher (Desktop) or eCatcher Mobile.  (M2Web users connected are not counted)

Thanks, interesting! Will it be possible to retrieve usernames of those connected?


RE: Detect when a user connects to the flexy - simon - 17-11-2017

For this first version, no :-)
But good idea!


RE: Detect when a user connects to the flexy - driesdebouver - 12-01-2023

(17-11-2017, 12:11 AM)simon Wrote: For this first version, no :-)
But good idea!

Hi Simon,

Any updates on this or plans to add this in the future?
To be able to retrieve usernames of those connected to a specific Ewon?
Thanks.


RE: Detect when a user connects to the flexy - simon - 12-01-2023

Still not in short term plans unfortunately.