Blue Iris UI3

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,654
Reaction score
14,091
Location
USA
is it pulling main and sub direct to wire in your two situations?
Possibly. Does direct-to-wire also intelligently switch between mainstream and substream depending on which of the two resolutions is closest to the selected profile? That could explain it if so. But as far as I was aware, it only pulls from the mainstream. Happy to be wrong though.
Aha, that must be it. When the resolution arguments sent by UI3 are less than or equal to the sub stream resolution, then Blue Iris will deliver the sub stream via direct-to-wire.

I should have had you open Stats for nerds, that would have been a dead giveaway I think. Well not if the requested resolution happened to be an exact match for the sub stream.
 

Corvus85

Getting the hang of it
Joined
Aug 18, 2021
Messages
498
Reaction score
79
Location
Australia
Aha, that must be it. When the resolution arguments sent by UI3 are less than or equal to the sub stream resolution, then Blue Iris will deliver the sub stream via direct-to-wire.
Oh so that's the answer then! Thanks, that solves the mystery. Thought I was losing my mind lol.
 

Ultralord

n3wb
Joined
Sep 8, 2014
Messages
19
Reaction score
0
Location
LamÃ*a, Greece
Hello may i ask if i can request a feature that i can put buttons or something to get work with webhooks links from ifttt or something?
 

Buxton

Young grasshopper
Joined
Mar 1, 2019
Messages
33
Reaction score
17
Location
los angeles, CA
Hello,

I just stumbled upon the MQTT feature of UI3 and I have it working to remote control the UIs of my monitors. Very cool. If possible, I'd like to see an added command of a LWT when a browser closes on the UI, or conversely, if the UI is launched in a browser. Perhaps "Closed" and "Open".

Secondly, would it be possible to add a "select all" right mouse click for alerts and clips? I often do manual clip cleanup and a select all function would make things much easier.

Thanks in advance.
 

Corvus85

Getting the hang of it
Joined
Aug 18, 2021
Messages
498
Reaction score
79
Location
Australia
I just stumbled upon the MQTT feature of UI3 and I have it working to remote control the UIs of my monitors. Very cool.
Interesting. Can you elaborate? Is there a tutorial somewhere? I've got an MQTT server set up on my network but I'm not quite sure how to use it.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,654
Reaction score
14,091
Location
USA
Hello,

I just stumbled upon the MQTT feature of UI3 and I have it working to remote control the UIs of my monitors. Very cool. If possible, I'd like to see an added command of a LWT when a browser closes on the UI, or conversely, if the UI is launched in a browser. Perhaps "Closed" and "Open".

Secondly, would it be possible to add a "select all" right mouse click for alerts and clips? I often do manual clip cleanup and a select all function would make things much easier.

Thanks in advance.
UI3's mqtt client already announces when it goes online by publishing a retained string to ui3/instance_id/online/random_window_id. The message will be pub/sub or pub only or sub only depending on configuration. Upon disconnection the last will message publishes an empty value to the same topic, effectively removing it.

I don't think I'm going to do a "select all", but you can hold use ctrl and shift keys to multi-select.
 

Attachments

Buxton

Young grasshopper
Joined
Mar 1, 2019
Messages
33
Reaction score
17
Location
los angeles, CA
Interesting. Can you elaborate? Is there a tutorial somewhere? I've got an MQTT server set up on my network but I'm not quite sure how to use it.
If you're using mosquitto as your broker, then place the following two lines in the config file:

listener 9001
protocol websockets

This allows port 9001 to function as the websocket listener. Then configure your connection in the UI3 "UI settings" at the top right menu. My configuration looks like this:



1660946265845.png


Then in your MQTT client, place the topic command that you want to fire when a given event occurs. I have an MQTT client in my home automation software, and there is a client in Blue Iris itself. So for example, if you want your hall monitor to show a full screen image of a door camera when someone presses a doorbell, set the publish command to do so when the doorbell triggers your HA, and then the reset command to restore the monitor back to a group of cameras. Here's a sample from a Blue Iris alert that displays my garage camera when triggered with GarageExterior as the name of the camera:

1660947051598.png
 

Corvus85

Getting the hang of it
Joined
Aug 18, 2021
Messages
498
Reaction score
79
Location
Australia
Then in your MQTT client, place the topic command that you want to fire when a given event occurs. I have an MQTT client in my home automation software, and there is a client in Blue Iris itself. So for example, if you want your hall monitor to show a full screen image of a door camera when someone presses a doorbell, set the publish command to do so when the doorbell triggers your HA, and then the reset command to restore the monitor back to a group of cameras. Here's a sample from a Blue Iris alert that displays my garage camera when triggered with GarageExterior as the name of the camera:
Damn that sounds awesome, although gotta admit, most of that flew over my head lol.
Is there anywhere I can go to learn the basics of MQTT and what the terms like 'publish' and 'websocket' means in this context?
 

Buxton

Young grasshopper
Joined
Mar 1, 2019
Messages
33
Reaction score
17
Location
los angeles, CA
Damn that sounds awesome, although gotta admit, most of that flew over my head lol.
Is there anywhere I can go to learn the basics of MQTT and what the terms like 'publish' and 'websocket' means in this context?

MQTT is not that difficult to understand so I'd say jump in by googling. Perhaps "MQTT home assistant". That should give you the basics. Web socket is a protocol much like http and there's plenty of info on the web if you want to deep dive. Needless to say, start by configuring Blue Iris:

1660965677744.png
1660965741055.png


And once you get a good connection between Blue Iris and your broker--by using the test button as shown above, configure a UI3 instance to your broker per my first snapshot above. Then play around with sending messages until you get a sense of how it works.

The software mqtt explorer will show you what messages are being sent and received and is invaluable when trouble shooting your MQTT communications:

 

Attachments

erkme73

BIT Beta Team
Joined
Nov 9, 2014
Messages
1,540
Reaction score
1,413
After all that technical discussion, I feel a bit out of place asking for help on a less technical issue. As of this morning, my live stream (individual cameras) do not show my video overlay (timestamp). They do in the group/index views, and also in the live stream of the BI console on the server.

Did I toggle a switch somewhere on UI3 that would turn that off? Unlike the clip playback where I can force the overlay on/off, that option doesn't exist on the live stream.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,654
Reaction score
14,091
Location
USA
After all that technical discussion, I feel a bit out of place asking for help on a less technical issue. As of this morning, my live stream (individual cameras) do not show my video overlay (timestamp). They do in the group/index views, and also in the live stream of the BI console on the server.

Did I toggle a switch somewhere on UI3 that would turn that off? Unlike the clip playback where I can force the overlay on/off, that option doesn't exist on the live stream.
You probably turned on direct-to-wire streaming which prevents Blue Iris from embedding any overlays.
 

erkme73

BIT Beta Team
Joined
Nov 9, 2014
Messages
1,540
Reaction score
1,413
Actually... So I went under global settings and unticked the "direct to wire" for both stream 0 and 1. I also went into the record setting of a given camera (w/o the overlay in live) and set the recording 0 and 1 to also avoid direct to wire. I'm still not getting the overlay. Is there somewhere else that I'm missing?

ETA: NM, I found it. Leaving it here so others as challenged as I am know what to do. I edited the encoder profile in UI3 to go from "inheret" to "yes". I just put it back and i"M all squared away. TY again.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,654
Reaction score
14,091
Location
USA
Actually... So I went under global settings and unticked the "direct to wire" for both stream 0 and 1. I also went into the record setting of a given camera (w/o the overlay in live) and set the recording 0 and 1 to also avoid direct to wire. I'm still not getting the overlay. Is there somewhere else that I'm missing?

ETA: NM, I found it. Leaving it here so others as challenged as I am know what to do. I edited the encoder profile in UI3 to go from "inheret" to "yes". I just put it back and i"M all squared away. TY again.
:)

The recording profiles in camera settings only have an effect if you aren't using direct-to-disc recording.
 

ChrisX

Getting the hang of it
Joined
Nov 18, 2016
Messages
130
Reaction score
4
i habe on my android all time session problems .. i must login 3-4 every time ...
 

actran

Getting comfortable
Joined
May 8, 2016
Messages
818
Reaction score
749
@bp2008 Love the timeline playback. It's a great feature in ui3.

Any chance you plan to implement reverse playback for this tab?

I'm currently on UI3 version 221, Blue Iris version: 5.6.0.7
 

actran

Getting comfortable
Joined
May 8, 2016
Messages
818
Reaction score
749
@actran

Reverse playback is already available, but to access it you need to be playing some recorded video using the timeline, and then click the gear icon where you would normally change the streaming quality.
@bp2008 Oh, yes I see it there. I assumed it was not available because the keyboard shortcut did not work, at least not on my Macbook. (BTW, keyboard shortcut for reverse playback does work during clip playback)

Follow-up question: any chance to get keyboard shortcut to work for this scenario or is there a blocker in this situation?
 

actran

Getting comfortable
Joined
May 8, 2016
Messages
818
Reaction score
749
@bp2008 In parallel, different request: In upper right corner, any chance to add "Confirmed" and "Cancelled" as 2 additional options? Perhaps toggled via UI settings?
 

Attachments

Top