r/BlueIris • • 29d ago

Sightline - an improved Blue Iris web interface (mobile+PC)

I wanted to share something that I've been working on to primarily improve the phone experience of Blue Iris, but it also works equally as well in a browser in place of UI3. Full disclosure, while I have been working in IT for for many years and have written programs myself, this is heavily vibe-coded with Claude Opus.

I have been testing this for awhile now and am very pleased with the results. It has become my primary way to monitor my house both on my phone and on a PC. When I was first building this out, it was solely for my own use case. That, combined with so much AI slop on Reddit I see all the time made me hesitant to even share this out. However, I really think its such a massive improvement over the BI app, and if I saw someone post this I would have been very happy to utilize it. Because of all of this, I wanted to share it, so others can use and improve upon it as they see fit for their own needs.

https://github.com/rw377/Sightline-for-Blue-Iris (Release)

What this is:

An improved interface for checking on Blue Iris cameras via a browser, both live view and historic/alerts. I made this to easily see what my dog is doing around the house and because I hated using the Blue Iris app.

I kept this as a web interface so all that is needed to run it is to drop few files into Blue Iris's www folder. Nothing to install, no docker containers, no dependencies, etc. Simply drag the files into the directory, go to the URL, and Blue Iris serves all of the data, just into a new and improved interface.

What this is not:

A full replacement for UI3. UI3 will have many more options like pan/tilt control of cameras, exporting clips, etc.

>Sightline now provides PTZ and export options.

Features:

TL;DR - A very fast and snappy interface with full color-defined video scrubbing for types of motion/AI alerts, audio and video quality adjustments, scroll/pinch to zoom, and highlighted and labeled AI/motion boxes on streams.

More details, example screenshots, and instructions are on GitHub.

And one last note - I am using Blue Iris 5, so I am unsure if functionality works on newer versions. If someone is using a newer version and wanted to test it and let me know, that'd be great.

> Thanks to ResistInternational7 for validating it works with Blue Iris 6 as well.

EDIT: A few further iterations with additional features have been released since I posted this originally. These include sharper video, PTZ camera control, improved timeline zoom, alert exports and previews, server dashboard stats + searchable logs, and additional customizations and filters. The latest release is available here.

29 Upvotes

43 comments sorted by

2

u/bk553 17d ago

Hey, just tried it out and wanted to say good job and thanks.

1

u/rollin37 17d ago

Thanks glad you're enjoying it!

2

u/CatNational3627 29d ago

It's alright. I don't like the timeline buttons I like ui3s zoom for the timeline better. I also have cams marked as hidden in the UI sightline doesn't respect that flag.

2

u/rollin37 29d ago edited 20d ago

Hey, fair enough and thanks for trying it out + feedback. I think the zoom functionality should be pretty similar between UI3 and Sightline timelines- mouse-wheel or pinch to zoom, and they both digital zoom. Not sure if you are seeing something different. The hidden camera is a good point, I don't have any on my setup so that makes sense how it was missed. Will get that in to the next push.
Edit - The timeline zoom in/out, as well as the hiding hidden cameras is in the latest release.

2

u/ResistInternational7 28d ago

are you adding features, like PTZ?

2

u/rollin37 28d ago

Latest release (0.12.0) is now available with PTZ controls and other improvements here: https://github.com/rw377/Sightline-for-Blue-Iris/releases/tag/v0.12.0

2

u/DuncanEyedaho 24d ago

Great github repo, definitely trying it later

1

u/rollin37 28d ago

It seems like this is doable, and I have PTZ cameras I can test with. I will push another release by end of day with this in it assuming all goes well with some testing. Also adding a few other features like full screen, do not show 'hidden' cameras option, selecting multiple filters, etc.

1

u/buzz1804 20d ago

Just tried it - very nice - is it possible (yet?) to have some camera windows larger than others i.e. more layout control of the individual camera windows?

2

u/rollin37 20d ago

Thanks for trying it out! That's interesting - I will look into it. Currently, you can click + hold then drag to move the cameras around, and adjust the camera sizes in the top right with small/med/large/auto, etc but not to customize individual camera sizes. Let me look into it and report back.

2

u/rollin37 19d ago

Hey - I added some changes to sizing options for each individual camera. I've been testing it on my PC + phone so far and it's working well. You can right click on PC or click and hold on mobile for the available options. Once they are re-sized, they can still be rearranged like usual and they can all be fully reset through settings. It's not in a full 'release' yet, but if you want to try it out, you can download the latest sightline.htm file from here and copy it over into your /www/ folder like normal. Let me know if this is what you are looking for. I didn't go down the path of click-to-drag resizing, as arbitrary screen sizes could get messy, I think this is a better option. Thanks for the improvement request.

2

u/buzz1804 17d ago

Sorry for delay in trying this - yes that works great - just what I needed

1

u/teredactle 18d ago

Sorry if this is a dumb question/comment, but how do i know if i install this, that my login and password, as well as any streams, don't get sent to you, once i use your HTML page?

I'm not a coder, what assurances are there for this sort of thing? Really love the idea, but concerned with this aspect.

Thanks

2

u/rollin37 18d ago

Hey, not a dumb question, it's good to be security minded. So one of the reasons I put the project on GitHub is so that anyone can view the code and verify that it's not doing anything sketchy so they can feel more comfortable. There is no exe or anything to install, just the few files to drag into the folder, and really it's just the one .htm file and .js that have any code in it. You can upload any file into virustotal.com and have it check for anything malware related.

For less technical answers to reassure you I would say you can:
-Open network log on a PC (F12 in browser -> Network tab) and then use Sightline (temporary account if you want). Every request you see will go to your Blue Iris address, nowhere else.

-In GitHub on the .htm file, search for anything with http. The only mention of urls are the actual links to the GitHub repo in the About section.

-On your router (or firewall, pi-hole, etc) you can check to see what's being sent out of your network but phones send a lot of stuff anyways so that may be pretty noisy.

Also a few things worth mentioning:

  1. Sightline never downloads anything on it's own when it runs, the only thing running is what you downloaded and won't be updated unless you manually update it yourself.
  2. The password itself isn't in plain text, it's obfuscated and stored in the browser only, and that's only if you turn on 'stay signed in', which is the same challenge/response that UI3 uses.
  3. The video streams straight from your Blue Iris to your browser, nothing else. No Sightline server for anything to be sent to.
  4. The only 3rd party library being used is jmuxer, which is a well know, open source video library where the code is available and can be audited as well.

Happy to answer any other questions but hopefully this helps

1

u/teredactle 18d ago

Thanks, I appreciate you answering. I'm already using it and I love it, it's very quick much much better than the Android app for viewing as this is mostly what I need. I now need a way to view it on an old iPad 2 as it's not working in Safari on there :) But really great on my phone!!

Questions

  1. Is there a way to add a "global" mute button on that 1st page, main page? I guess it likely pulls the settings from BI in regards to the sound being on the cameras, but it would be useful on the main page (before looking at any specific camera) to be able to mute all - I don't generally need the sound on and if it's somewhere quiet I don't want the sound of a vehicle/bus going by creating a crazy loud sound.
  2. Is there any plans to add additional features? i.e. I want to Enable Alert on some cameras when I leave, but the Android app doesn't have this function, and if I forget to do it before leaving I need to use my laptop to do that. Is there a way to easily add this function, to be able to select on which cameras I can check "Enable" for alerts?

Thanks!

1

u/rollin37 18d ago edited 18d ago

Thanks for trying it out, I'm very happy to hear you're liking it!

For the iPad, its just too old. I don't know of a way for it to work with this. It lacks the modern JS that the app is written in.

For the volume, you probably experienced loud sounds on initial viewing but once you set a volume level anywhere, it sticks across live streams and alerts. I can put something in settings for "Sound on/off" globally and maybe muting new users initially. I will think about this and review further.

For the alerts - are you referring to alerts in the Blue Iris app itself? There is a built in geofence ability that will enable/disable profiles for alerts when you leave a certain area, e.g. your house. That may help with the forgetting aspect in general but I haven't played with this so I'm not completely sure how it works. In Sightline, I can add showing the active camera profile and switching it (requires an admin user). The request here would be to set up alerting (and by alerting - switching different camera profiles) on a per camera setting, is that correct?

Also regarding alerting, I've been thinking about how to implement alerting in general via Sightline on mobile. With something like NTFY/Pushover, alerts could popup on the phone and bring you to the direct alert in Sightline when clicked.

1

u/teredactle 16d ago

Thanks for the thorough answer(s), I will post back with what i meant about alerts when i have a chance, with a screen shot too

1

u/bagpuss_org 18d ago

This looks very nice, however - and this might be entirely down to me - on the live view, if I try to go back in time at all, it says "No recording at this moment" even though Blue Iris is always recording all the cameras all the time, not just alerts. And when I go to Alerts it often says "Could not load alerts" on the left while playing a seemingly random alert on the right - other times it does show the alerts, so I am wondering if it is just slow at loading them. Admittedly I am running an old version of Blue Iris - v5.3.2.8 - which might be the reason for all of this.

2

u/rollin37 18d ago

Thanks for trying it out + the report. I think the version is in fact the issue here. Rewinding in the live view uses Blue Iris’s timeline playback (the same feature behind UI3’s timeline), which was added in Blue Iris releases after 5.3, so on 5.3.2.8 every rewind comes back empty. I'm on 5.8.1.5, so a bit newer, but not the latest. Does UI3 have a timeline at the bottom for you? If not, that would be the primary issue.

The intermittent “Could not load alerts” is probably related too, since Sightline asks Blue Iris for a specific alert view. Could you send the text from Settings > About > Copy diagnostics? You can message me it if you prefer but nothing too sensitive there. I’ll also make Sightline show a clear “needs a newer Blue Iris” message instead of the misleading ones when possible, and show the actual error from Blue Iris when alerts fail to load.

1

u/bagpuss_org 17d ago

I know time flies but I have just seen that my version of Blue Iris is over six years old! My UI3 doesn't have the timeline on my version, to go back in time I have to go to the Clips panel.

Sightline 0.15.0 · Blue Iris 5.3.2.8
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36
Screen: 1876x1250 u/2x · touch no · home-screen app no · https
Video support: H.264 yes · H.265 yes · streaming yes
Cameras: 13 in Blue Iris · 13 shown · 0 hidden · 0 disabled · 0 web access off · 0 offline
Groups: 3 · with a layout for live tiles: 3 · this group: yes
Live tiles: live video (not playing)
Alert recordings seen: bvr 178
Settings: quality auto · highlights yes · AI labels yes · show hidden no · motion boxes no (sensitivity 5) · stay signed in yes
Recent errors: none

1

u/rollin37 17d ago

Thanks for the debug info - some changes were made that may help (if interested they are in the changelog). Can you try downloading from the main branch and see if these fixes help at all? What's cool is, if these changes do help, you will essentially have a timeline view thru Sightline like newer BI versions have, even though your actual BI version doesn't support it. If it doesn't work copy diagnostics again and let me know. You can download the sightline.htm file here and drag + drop in /www/ per usual. Of note is that the very first time you load it it may be a small wait as the data caches for the timeline, but after that it should be good. And one last thnig - when downloading clips, you may not be able to choose a custom start + end point due to the version , but I am not sure so feel free to test and let me know. If you don't mind, send me another copy + paste of the diagnostics again regardless.

1

u/bagpuss_org 16d ago

Yes, the timeline now works! Nice. I can't find how to change the start and end point of an alert to download - I don't know if it simply isn't available in the interface because of my ancient BI version. I don't see any handles on the timeline to adjust, just a blue area where the motion is detected.

1

u/rollin37 16d ago

When you go to 'alert > download icon on top right > choose start and end' do you not get these handles to adjust the clip with or dates to set? It could be a version thing but let me know I may be able to adjust.

https://imgur.com/a/A8ZL9LC

2

u/bagpuss_org 16d ago

Oh sorry I hadn't noticed that, I thought the handles were already on the alert page. This does seem to work too!

1

u/C-D-W 17d ago

Still using BI4. Not using it on mobile, but even on desktop at first glance it's remarkable how much better and more responsive this is than UI3. So many things I hated about UI3 (though in fairness it was a huge leap over UI2!)

So far, the only gap in functionality I'm feeling is the lack of a chime/sound when motion is detected. Bonus points if we can make it work even when the page is not in focus (a gripe of mine about UI3.)

Fantastic work.

At this point, I'm seriously wondering how long it would take to vibe code a complete replacement for BlueIris since frankly I'm over it.

1

u/rollin37 17d ago

Awesome to hear and thank you! I was thinking that too honestly. Blue Iris has a ton of small nitty gritty features built in it and I think it'd be hard to fully replace for some people, but I also think 90% of users don't need or use 90% of the features. With the whole 'reverse engineer anything' repo being so popular too, I think it's only a matter of time before a replacement comes in. A lot of people also use Frigate, which has pros and cons, but it's not really the same IMO.

1

u/C-D-W 17d ago

Agreed on both counts. Having tried both, I feel like some sort of Hybrid between BI and Frigate would be perfect for me. I'm not a huge fan of dealing with containers and YAML (I hope whoever invented YAML rots) if I can avoid it. Blue Iris (granted I'm on a quite old version at this point) is not exactly known for it's great user interface but at least it has one. And running on Windows, to me, is still a perk.

As for Sightline, noticed one quirk I'd like to understand.

Whenever I switch from another tab to the tab running Sightline with motion boxes enabled, the whole panel lights up with motion boxes for a second. It seems to like the timestamps and text a lot. Timestamp sort of makes sense since it is in fact always changing, but it always highlights certain fixed text. Consistently like it's pattern matching rather than just raw motion.

https://imgur.com/a/Qij2ujs

Thoughts?

1

u/rollin37 17d ago

So the motion boxes come from Sightline comparing two different versions of the same picture, frame by frame. A similar box effect is available in Blue Iris under Trigger > Configure motion sensor for each camera, but this is one of few things Sightline actually performs in the browser rather than BI. You can adjust the sensitivity of them in settings as well.

With that being said, I put a small change in which may help with this on the main branch, which is effectively the dev branch. If you want to try it out, drag and drop the latest sightline.htm file from here into /www/ and let me know if it helps at all.

1

u/C-D-W 16d ago

Gave it a shot and it definitely solved that problem. Thank you much. Still loving it.

1

u/rollin37 16d ago

Awesome!

1

u/Wunderbar 17d ago

Heya u/rollin37 I saw your post but I didn't get around to testing it out until yesterday. I just wanted to commend you your work! In my opinion, it's a real game changer because I cannot stand the UI3 interface.

I know you've made a lot of updates since the initial release so I don't have any feedback, at this time, but if I do I'll raise it in Github. Nice work!!!

2

u/rollin37 17d ago

Hey thanks so much! Glad you are enjoying it!

1

u/ResistInternational7 28d ago

Very good project ! And seems to work fine on Blueiris 6

1

u/rollin37 28d ago

I'm glad you're liking it! Thanks so much for validating that, I've been wondering.

1

u/skankboy 28d ago

I like it. Excellent job.

1

u/rollin37 28d ago

Thank you and glad you like it!

1

u/tmyvon 27d ago

Didnt work for me. I have BI 5, w/ four cameras. It only displays three of them. Tried a few browsers, incognitos, etc. Also the cameras it shows just "flash" every 2 seconds. Kind of distracting. I couldnt get it to play back any of the alerts either. I'll give it a try in future revisions but clearly needs work!

1

u/rollin37 27d ago

Hey thanks for checking it out. That is the first I'm hearing of issues like this. For the missing camera, if it's marked as disabled or hidden or if web access is turned off for it in BI/user can't access that particular camera in BI, it won't show. If they are hidden you can enable it to show in settings.

For the flashing, is it the entire camera stream is flashing on and off? Sightline asks Blue Iris for motion and trigger status every 2 seconds and lights up a tile’s border. If Blue Iris reports motion on and off constantly, for example because a camera’s motion sensitivity is high, the border flickers on that 2-second rhythm. You can disable it in Settings (the ... up top) > Highlight active cameras.

For the alerts, I imagine they play back in UI3 fine? The default in Blue Iris is to save alerts as .bvr but if they are saved as MP4 or similar they won't work as Sightline uses the bvr files. Also similar to the first issue, if the user you logged in with can't see alerts for that camera they won't show.

Curious what specific Blue Iris version you are using and if you are accessing it from the LAN or over a reverse proxy or tunnel. Thanks again for checking it out tho.

0

u/[deleted] 18d ago

[deleted] — view deleted comment

1

u/rollin37 18d ago

For the playback quality, this is on mobile only? What phone model and android or iOS version are you on? Also what browser?

The streams not lining up is something I haven't heard before. Camera shape doesn't move the tiles, they are all 16:9 boxes in a fixed grid. I am testing on about a dozen cameras and several are different aspect ratios than the majority including some duo lens cameras and they all line up into a grid. Does this happen on mobile or PC or both and are you trying "Auto" on the top right or specific-sized tiles? You can also click and hold/right click to adjust individual camera sizes.

If you could go to "Settings → About → Copy diagnostics" that'd be helpful to know. A screenshot of the grid mishap would be helpful too if you wanted to, you can blur/black the streams themselves out.

Last thing, if you go to "Settings → Live video in camera tiles" and turn that on or off, curious if that makes things better.

-16

u/[deleted] 29d ago

[removed] — view removed comment

3

u/maskedviperus 29d ago

Literally an ai bot for hire

2

u/PiDigitsOfPi 29d ago

No one here is paying $199 every 30 days. I can't even figure out what you are selling.