Logic Machine Forum
User login "log" - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: User login "log" (/showthread.php?tid=4385)



User login "log" - DGrandes - 16.11.2022

Hi,

Is there any way to get user name and external IP when someone access to Logic Machine?
I need to register that.

Thanks!


RE: User login "log" - admin - 16.11.2022

User access > Access logs


RE: User login "log" - DGrandes - 16.11.2022

(16.11.2022, 09:05)admin Wrote: User access > Access logs

Ok thanks! Buy I need to "Alert" when this happens. How can I get that with lua event script or Javascript?
I need to send by telegram, email...

Thanks!


RE: User login "log" - DGrandes - 02.12.2022

(16.11.2022, 09:23)DGrandes Wrote:
(16.11.2022, 09:05)admin Wrote: User access > Access logs

Ok thanks! But I need to "Alert" when this happens. How can I get that with lua event script or Javascript?
I need to send by telegram, email...

Thanks!

Sorry, is not possible get connected user when event script run?


RE: User login "log" - admin - 02.12.2022

Possible: https://forum.logicmachine.net/showthread.php?tid=3119&pid=20192#pid20192


RE: User login "log" - DGrandes - 02.12.2022

(02.12.2022, 10:47)admin Wrote: Possible: https://forum.logicmachine.net/showthread.php?tid=3119&pid=20192#pid20192

Ok thanks so much!

Another question. Is there any way to get internal IP of connected device?


RE: User login "log" - admin - 02.12.2022

Not at the moment, but in the new firmware the meta field will have USER:IP format.


RE: User login "log" - DGrandes - 02.12.2022

(02.12.2022, 11:32)admin Wrote: Not at the moment, but in the new firmware the meta field will have USER:IP format.

Ok thanks