I made a better remote-live-view page [OLD]

robilium

n3wb
Joined
Dec 5, 2016
Messages
19
Reaction score
2
This script has been great. A dumb question though. How do I just show one specific camera with a refresh? I have been using this embedded in my home seer hstouch app and the embedded web server works great. But I have a few screens where I don't want to see all cameras but just 1, i.e the baby nursery.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,666
Reaction score
14,006
Location
USA
The tiled display shows the border quite well, however when I have left clicked on one cam and viewing it, there is no display change to show that the camera has been triggered. On the default blue iris one, there is a little red light in the top right corner to show this. Am I missing a setting or able to add in a little triggered state symbol on this screen for UI2?
This is not yet possible. Maybe some day, but I have been busy lately without much time to dedicate to this :)

This script has been great. A dumb question though. How do I just show one specific camera with a refresh? I have been using this embedded in my home seer hstouch app and the embedded web server works great. But I have a few screens where I don't want to see all cameras but just 1, i.e the baby nursery.
/ui2.htm?fullscreen=1&cam=nursery
 
Joined
Apr 29, 2016
Messages
14
Reaction score
7
Is there a way in ui2 to bulk delete all the alerts rather than going one by one with the long press?
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,666
Reaction score
14,006
Location
USA
There is no bulk delete functionality in UI2. If you need to delete a lot remotely, you need to use remote desktop or teamviewer or something and access Blue Iris directly.
 

erkme73

BIT Beta Team
Joined
Nov 9, 2014
Messages
1,540
Reaction score
1,412
Hi Mike,

Had another episode of locked temps on my overlay. I logged into the remote BI PC and found this:

upload_2016-12-28_2-54-21.png


This is running 1.1.3 on Win 10 64-bit. When I hit "OK" on the script error, my BIT doesn't change. It continues to read "waiting for wunderground.com". I can switch tabs, but I cannot close out the program or bring up the results box. X-ing out does nothing. Clicking results also does nothing. The only way to get it to fix itself is to use taskmanager to end task on BIT and restart it.
 

erkme73

BIT Beta Team
Joined
Nov 9, 2014
Messages
1,540
Reaction score
1,412
Ugh... I'm such a tard. Sorry... Should have waited until after a nap...
 

wantafastz28

Getting comfortable
Joined
Nov 18, 2016
Messages
550
Reaction score
253
Location
Phoenix, az
I'm sure you already have hundreds of these but, Thanks BP. :) Bought BI last night, and set this up after getting the key. Super simple and functional.
 

Bapski

Young grasshopper
Joined
Dec 25, 2016
Messages
83
Reaction score
17
i followed install instructions on both on this thread and on the BIT but how come i dont see the same screen as this:


mine still looks like the default:
upload_2017-1-8_19-4-37.png


im still trying to go over 44 pages of this thread. my apologies in advance

====

i think i got it.. hostname.com:81/ui2.htm ? or is there anything else direct?
 
Last edited:

yandreev3

n3wb
Joined
Jan 9, 2017
Messages
8
Reaction score
1
I downloaded this and extracted the zip into my www folder but going to the ip address/ui2.htm brings me to a login screen and when I enter in my username and pass and click login, it does nothing. Am I missing a step?
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,666
Reaction score
14,006
Location
USA
i think i got it.. hostname.com:81/ui2.htm ? or is there anything else direct?
Yes, you need to specify ui2.htm as the page. You were loading jpegpull2.htm or default2.htm, which are both much older and much simpler interfaces I made.

I downloaded this and extracted the zip into my www folder but going to the ip address/ui2.htm brings me to a login screen and when I enter in my username and pass and click login, it does nothing. Am I missing a step?
You may have entered an invalid user name and password. At the very least you should be getting sent away from the login screen once you've successfully logged in.
 

yandreev3

n3wb
Joined
Jan 9, 2017
Messages
8
Reaction score
1
You may have entered an invalid user name and password. At the very least you should be getting sent away from the login screen once you've successfully logged in.
Yeah I made sure to try it a few times making sure I spelled things properly haha. But no the only thing that happens is my URL changes from ".../login.htm?page=%2Fui2.htm" to ".../login.htm?page=%2F"

Thanks for the quick reply!
 

yandreev3

n3wb
Joined
Jan 9, 2017
Messages
8
Reaction score
1
Maybe you have cookies turned off in your browser so it sends you right back to login?
Cookies enabled. Using google chrome Version 55.0.2883.87 m (64-bit)


EDIT__________
I can also see the cookie made by the webpage in my chrome settings
 

yandreev3

n3wb
Joined
Jan 9, 2017
Messages
8
Reaction score
1
Perfect. Worked no problem. Thank you so much! Extremely helpful and quick! Great job on the interface btw!
 

Robert M

Young grasshopper
Joined
Jan 4, 2017
Messages
36
Reaction score
2
Is there a way to expand the "Current Camera" list? For example, I have a group called "Remote" which doesn't show up.


If it's a code modification I don't mind doing that if I can be pointed at the file I should be looking at.

Thanks!
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,666
Reaction score
14,006
Location
USA
It should already appear, unless there is only one camera in the group. You'll need to add a second camera before Blue Iris reports it as a group, I think.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,666
Reaction score
14,006
Location
USA
If you want to include individual cameras in that dropdown list, create a file ui2-local-overrides.js in your www/ui2/ folder, and paste this in it:

Code:
// Show individual cameras in Current Camera dropdown
function PopulateHomegroupSelector()
{
    var box = $("#homegroupselector");
    box.empty();
    if (typeof (lastCameraListResponse.data) == "undefined" || lastCameraListResponse.data.length == 0)
        return;
    for (var i = 0; i < lastCameraListResponse.data.length; i++)
    {
        var displayName = lastCameraListResponse.data[i].optionDisplay;
        if (CameraIsGroupOrCycle(lastCameraListResponse.data[i]) || lastCameraListResponse.data[i].isEnabled)
        {
            var thisGroupId = JavaScriptStringEncode(lastCameraListResponse.data[i].optionValue);
            var thisGroupName = CleanUpGroupName(lastCameraListResponse.data[i].optionDisplay);
            var thisGroupSelected = currentlySelectedHomeGroupId == lastCameraListResponse.data[i].optionValue;

            box.append('<div' + (thisGroupSelected ? ' class="selected"' : '')
             + ' onclick="SelectCameraGroup(\'' + thisGroupId + '\')">' + thisGroupName + '</div>');
        }
    }
}
// Allow clicking individual cameras in Current Camera dropdown
function SelectCameraGroup(groupId)
{
    $("#homegroupselector").hide();

    for (var i = 0; i < lastCameraListResponse.data.length; i++)
    {
        if (lastCameraListResponse.data[i].optionValue == groupId)
        {
            if (CameraIsGroupOrCycle(lastCameraListResponse.data[i]) || lastCameraListResponse.data[i].isEnabled)
            {
                settings.ui2_defaultCameraGroupId = currentlySelectedHomeGroupId = groupId;
                currentlyLoadingCamera = lastCameraListResponse.data[i];

                UpdateSelectedLiveCameraFields();
                break;
            }
        }
    }
}
 
Top