Get alert when a certain user logs in?

Discussion in 'Customizing' started by sretlow, Feb 7, 2018.

Share This Page

  1. sretlow

    sretlow n3wb

    Joined:
    Feb 28, 2017
    Messages:
    23
    Likes Received:
    0
    Is it possible to get an notification/alarm/message/email when a certain user logs in? If it is not a Blue Iris option maybe I can do something with the log files?
     
  2. Dasstrum

    Dasstrum Getting comfortable

    Joined:
    Nov 4, 2016
    Messages:
    298
    Likes Received:
    269
    Only way I know of is under the users option to play a sounds when they login. This sound is going to come from the Blue Iris computer speaker though.
     
  3. tito9

    tito9 n3wb

    Joined:
    Dec 30, 2017
    Messages:
    11
    Likes Received:
    1
    I am also in favor of this type of suggestion, for now you can see access notification only on pc, add sound and notification on smartphone would be much safer.
     
  4. TonyR

    TonyR Known around here

    Joined:
    Jul 15, 2014
    Messages:
    1,106
    Likes Received:
    680
    Location:
    Alabama
    I do know that you could have a custom HTML page launched when that user logs in (see below). That custom .htm file is placed into BI's 'www' folder alongside the UI files. Now if you could figure a way to have that "notification/alarm/message/email" activated when that specific page is opened or accessed, you might achieve what you want. However, you may have to come up a PHP script to do that part, out of my wheel house.....sorry.

    BI_user-HTML.jpg
     
  5. tito9

    tito9 n3wb

    Joined:
    Dec 30, 2017
    Messages:
    11
    Likes Received:
    1
    no work. I have test but i don't see the new file.htm.... how i said in a discussion, it is better to send smarphone sound notification to access
     
  6. TonyR

    TonyR Known around here

    Joined:
    Jul 15, 2014
    Messages:
    1,106
    Likes Received:
    680
    Location:
    Alabama
    Well, I have used the above method many times to launch a custom .htm page when a specific user logs in so you have done something wrong there. But I guess it doesn't matter since you feel that "...it is better to send smarphone sound notification to access."

    Maybe someone else can help you in that regard.
     
  7. tito9

    tito9 n3wb

    Joined:
    Dec 30, 2017
    Messages:
    11
    Likes Received:
    1
    i have create new user and only add same word but nothing..what could it be ?
     
  8. TonyR

    TonyR Known around here

    Joined:
    Jul 15, 2014
    Messages:
    1,106
    Likes Received:
    680
    Location:
    Alabama
    Did you put the custom .htm file into BI's 'www' folder? (it's at C:\Program Files\Blue Iris 4\www )
     
  9. tito9

    tito9 n3wb

    Joined:
    Dec 30, 2017
    Messages:
    11
    Likes Received:
    1
    yes, the custom .htm file remains at 0 kb
     
  10. TonyR

    TonyR Known around here

    Joined:
    Jul 15, 2014
    Messages:
    1,106
    Likes Received:
    680
    Location:
    Alabama
    Did you author a new HTML file that contains code, name it "something.htm", place it in the 'www' folder and configure the user page to launch the "something.htm" fils?

    What does that .htm file contain? If it contains ANY coding it won't have a 0 kb file size, it should be at least 1kb.

    If all it does is have code to FTP an image somewhere it will have at least 1 kb file size.