lurume84 / bling-viewer

Web viewer for Blink Home Security Camera
MIT License
80 stars 6 forks source link

Bling viewer

Blink Home Security Camera is a great product but currenty lacks of an official web viewer. This project is an attempt to create a web viewer that complements the current Mobile application. In conjuntion with Bling Desktop project, it works as a Desktop solution for Blink Systems.

If you want to use this in your Windows you have to install Bling Desktop. It will automatically download this repository, do not try to execute index.html as will not work because of security restrictions in browsers

Example

Networks

Check current thumbnail, battery status and temperature for all cameras of each network

Activity

View and download all videos

Security

This viewer is just a frontend application. This means user credentials are never stored, being directly forwarded to Immedia servers. Once login succeeds, server returns a token that will be provided in future REST API calls.

Usage Guide

As Immedia server is not being proxied by any other server, trying to run the application in a Chrome browser will incur in CORS problems. Using CORS plugin will not solve the problem as some Immedia endpoints do not implement OPTIONS method for some calls. Chrome's preflight request will fail for this reason.

To avoid this problem you can do one of these things:

Windows

C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --disable-web-security --user-data-dir=<path to viewer>. 

MacOS

open -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --disable-web-security --user-data-dir=<path to viewer>