Animated Weather Radar Loops as a Blue Iris camera

Browser

(I’m using Firefox, similar can be done with other browsers.)

  1. Go to this Link, https://www.wunderground.com/maps/radar/current/usa
  2. Select the Region you want displayed.
  3. Click “Play Animation”
  4. Right Click on the image and choose “Copy Image Location”. (In Chrome it would be Copy Image Address”.
  1. Paste this link into a new tab, if you only see the animated image you have the correct link.
  2. For my example, my link is https://s.w-x.co/staticmaps/wu/wxtype/county_loc/spi/animate.png

Blue Iris Setup

Network

  1. Add a new camera like the following:
  2. Change address to https://.
  3. Copy and paste the address from above into the address line, remove everything except what is shown in the picture.
  4. Change Model to JPEG/GIF/etc. image requests.
  5. Copy and paste the address from above into the path line, remove everything except what is shown in the picture.
  1. There’s no need to click “Find/Inspect”.
  2. Click “OK”.

On the Video Tab of the new camera.

  1. Select the “Max rate” as shown.
  2. If you want to add Overlays, do so here.
  3. I also selected “Limit decoding unless required”
  4. Click “OK”.
  1. You should now see your new Doppler camera.

NOTE: You may want to disable all motion detection, alerts, triggers, etc.

Set up stunnel on Blue Iris 5 server

Required:
Blue Iris
stunnel

Links:
Self Signed Certificate
Forum discussion on SSL Error
Blue Iris and stunnel video

Note: It is a good idea assign your BI Server  with a static IP address, after assigning the IP on your router, restart your PC or you can open a command prompt and type:

ipconfig /release

ipconfig /renew

Step 1: Install Blue Iris and set it up how you want it to be, if it is already setup skip to step 2. (Remember to set Blue Iris to run as a service under the Startup tab.)

Step 2: Click on the Settings/info and select the Web Server tab.

Web Server Settings

  • Be sure your assigned static LAN IP address is shown.
  • Check the box next to Stunnel is installed for HTTPS on port:
  • You can also check the box next to HTTPS LAN also, if you want to use https on LAN connection.
  • Use a port under 1024, but be sure it is not being used. (Don’t use any port between 1024 and 49152)
    • To verify the port you chose, open a CMD as admin and run “netstat -anop tcp | findstr port#“, no quotes.

Step 3: Click on the Remote access Wizard to verify it works.

Red X

  • Once to this screen you should have a Green check mark for HTTP and Red check mark for HTTPS, since this port is not setup on router yet, or setup in stunnel.

NOTE: You will also get this red check if stunnel service is not running.

Click Next

Router Settings

  • You will need to add your BI server to port forwarding on your router, you can do that now by clicking the Open button. You will add the port you chose, in this example was 443. Add it as TCP to the Internal IP of your server, in this example it is 192.168.50.252. Every Router is different how to access Port Forwarding, commonly it is on the WAN menu. Set the Internal and External port as the port you selected to use, in this example it is 443.

Router Port Forward

For now, leave BI open, and click back to leave the wizard open to the HTTP/HTTPS test window.

Step 4: Install Stunnel, for all users, once installed you should see a shortcut on your desktop “stunnel AllUsers, click on it. This will start the GUI.

  • Right click the icon and select Edit Configuration

stunnel GUI

  • Under the TLS Server Mode Services add the following, then save and exit.

VirtualBox_Windows 10_19_01_2020_16_13_34

 

  • Right click the icon and select Show Log Window

Show Log

Log Window

  • Right click and click Reload Configuration

Reload Config

Log Window after Reload

After Reload you should see activity in the log window, final line should read Configuration Successful.

  • Go back to the Blue Iris Access Wizard and it should now have a green check mark for HTTPS

Access Wizard after config

And the stunnel log should show connection activity.

Log after Access Wizard

Click next to get to the following, once again, a green check should be here.

Final test

If you get this error in Chrome,

Chrome Error

and the Log will show this

VirtualBox_Windows 10_17_01_2020_11_49_24

I had to update my cert to get it working, and that is fairly straight forward.

  • Locate your stunnel folder under C:Program Files (x86)\stunnel\config, be sure you have full permissions of the file, open config folder, open stunnel.pem with notepad.
  • Click here to go to ZeroSSL to create new Certificate.
  • ZeroSSL has changed a few things, you will need to create a free account and choose 90 day cert for a free one, or there a fee based options. 
  • Add your BI Server IP, then click Generate.
  • Copy and paste both the Private Key and Certificate and paste in your stunnel.pem that is open in notepad, overwriting all that is there.

Once this is done, start the stunnel GUI, reload the config file, and watch the log, it should show Configuration successful.

Then reload the Blue Iris server address, you should then see this. Just click on Proceed.

VirtualBox_Windows 10_17_01_2020_11_55_48

It will show Not Secure because this certificate is not signed by a CA.

VirtualBox_Windows 10_17_01_2020_12_43_25

You can now install the service and start it.

stunnel menu

GUI and Service cannot run at the same time. If the GUI is running, select GUI Stop.

Then Install Service and then select Service Start.

It should be fully functioning now.

A few troubleshooting topics:

  1. If your browser shows “This site can’t be reached”, and all the above settings are correct in Blue Iris and stunnel, then the stunnel service or GUI is not running.

Adding Blue Iris to IFTTT

Step 1: Log in to IFTTT. https://ifttt.com/

Step 2: Add the ‘WebHooks’ service. https://ifttt.com/my_services

Step 3:

1)Open Blue Iris

2) Right-click the camera you want to receive and alert for.

3) Choose “Camera Properties”

4) Click the “Alerts” tab

5) Check the box next to “Request from a web service”

6) Click the “Configure” button for “Request from a web service”

7) Under “When Triggered” choose “https://”

8) enter “maker.ifttt.com/trigger/BlueIris<camera-name>/with/key/<Your-Maker-channel-key>”

8a) Replace <camera-name> (and remove the < & >) with the name of the camera in question. “BlueIrisFrontPorch”, “BlueIrisBasementDoor”, etc…. USE THIS AS YOUR EVENT NAME IN THE TRIGGER

8b) Replace <Your-Maker-channel-key> (and remove the < & >) with your unique Maker channel ID. “FHY834hTg893kkls24FHt” or whatever.

9) Click “OK”s until you are out of camera properties.

Step 4: Go back to IFTTT and create your applet using WebHooks for ‘this” and then your choice for ‘that’. https://ifttt.com/create

1) Click on the Webhooks Tile

Capture

2) Click on the Tile on the left ‘Receive a Web Request’

Capture

3) Remember step 8a above? Put the name here. Then click ‘Create Trigger’.

Capture

4) Once ‘This’ was added, click on ‘That’.Capture.PNG

5) Search for the action you want.

Capture.PNG

6) Finalize and create your Applet.