<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://blueirissoftware.com/forum/app.php/feed/topic/2943" />

	<title>Blue Iris</title>
	<subtitle>Blue Iris User Group</subtitle>
	<link href="https://blueirissoftware.com/forum/index.php" />
	<updated>2021-12-20T19:22:35+00:00</updated>

	<author><name><![CDATA[Blue Iris]]></name></author>
	<id>https://blueirissoftware.com/forum/app.php/feed/topic/2943</id>

		<entry>
		<author><name><![CDATA[varghesesa]]></name></author>
		<updated>2021-12-20T19:22:35+00:00</updated>

		<published>2021-12-20T19:22:35+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=11727#p11727</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=11727#p11727"/>
		<title type="html"><![CDATA[Remote access - User &amp; Mobile device permissions]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=11727#p11727"><![CDATA[
<span style="font-size:150%;line-height:116%"><strong class="text-strong">Introduction</strong></span><br><br>An often overlooked aspect of remote access is user and mobile device permissions.  Many users will spend hours on their Alerts tab or Action map or Network setup to only discover the issue was with permissions.  If not setup correctly, functionality on your Mobile apps or the UI3 web interface (remote endpoints) may not be working as you expect.<br><br>Common issues that lead to tickets:<br>Cannot connect from the WAN.<br>I do not receive push notifications.<br><br>This article deep dives into the Global settings -&gt; Users tab and Global settings -&gt; Mobile devices tab.  We document all the ways permissions can affect remote endpoint functionality.<br><br><br><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Users tab">Users tab</a></strong></span><br><br>Global settings -&gt; Users tab<br>The Users tab sets permissions for the user logged into the remote endpoint.<div style="margin-left:3em"><br><strong class="text-strong">Accessible times and profiles</strong><div style="margin-left:3em">Make sure the user is allowed remote access.  LAN only is unchecked.<br>Make sure the user is allowed access to BI during the appropriate profiles.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2213" class="postimage" alt="users access.png" onclick="viewableArea(this);" /></dt></dl></div><br><strong class="text-strong">If not set correctly the user will not be able to access BI from the remote endpoint.  If you are using a custom schedule, double check those settings as well.<br></strong><br></div><strong class="text-strong">Camera groups</strong><div style="margin-left:3em">If you are using camera groups, the user must have access to a group that contains the appropriate cameras.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2214" class="postimage" alt="alert map_camera groups.png" onclick="viewableArea(this);" /></dt></dl></div><br>If not set successfully, specific cameras may not be visible at the remote endpoint.  Push notifications will also NOT be received by the device.<br><br></div><strong class="text-strong">Push notifications</strong><div style="margin-left:3em">In the user profile, you have the ability to restrict Push notifications by Profile.  Confirm Push notifications are active in the user's profile for the appropriate profiles.  Always good to start with NO restrictions, get the alerts working, then applying any restrictions.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2215" class="postimage" alt="mobile push profiles.png" onclick="viewableArea(this);" /></dt></dl></div><br>Specific to mobile apps, this setting can prevent Push notifications to mobile devices.<br><br></div><strong class="text-strong">Testing</strong><div style="margin-left:3em">If another user on another phone is receiving push alerts, test the non-working phone with the working user account.  If working user account works on the non-working phone, then you know the phone is fine.  The user account must not have correct permissions.  An example of isolating the issue to user permissions or mobile device by leveraging a user account that we know works.<br><br><br></div></div><span style="font-size:150%;line-height:116%"><strong class="text-strong"><a name="Mobile devices tab">Mobile devices tab</a></strong></span><br><br>Global settings -&gt; Mobile devices tab<br>Setting permissions correctly for the mobile device is equally important as the user permissions.<div style="margin-left:3em"><br><strong class="text-strong">Mobile device</strong><br>The first check is to confirm whether your phone is listed in the Mobile devices tab.  This confirms your Server settings on the mobile app are correct and your device is registered with the BI server.  <br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2216" class="postimage" alt="mobile push enabled.png" onclick="viewableArea(this);" /></dt></dl></div><div style="margin-left:3em"><br><strong class="text-strong">Mobile app server settings</strong><br>If your phone is NOT listed, you first need to double check your <a href="viewtopic.php?f=19&amp;t=2211#Server%20settings" class="postlink">Server settings on the mobile app</a>.<br><br><strong class="text-strong">User permissions</strong><br>If the Server settings are correct, double check your User permissions above.<br><br><strong class="text-strong">Web server advanced</strong><br>Review the Web Server Advanced dialog.  Make sure the mobile device is not blocked via the IP address.<br><br></div><strong class="text-strong">Push notifications</strong><div style="margin-left:3em">If this device should receive Push notifications, confirm Push notifications are enabled for the user's phone (above).<br>This is another reason why Push notifications may not be going to your device.<br><br></div><strong class="text-strong">Mobile Tags</strong><div style="margin-left:3em">Mobile tags can also prevent Push notifications and Alert actions.  If you are using tags make sure the mobile phone in question has the tag associated with the alert.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2217" class="postimage" alt="action map_tags1.png" onclick="viewableArea(this);" /></dt></dl></div><br>The below action map shows this particular Push notification ONLY goes to devices with the security tag.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2218" class="postimage" alt="action map_tags2.png" onclick="viewableArea(this);" /></dt></dl></div><br>Tags can prevent any alert (not just Push notifications) from being sent to a mobile device.  Best to not use tags and confirm the alert works.  Afterwards, apply tags if necessary.<br><br></div><strong class="text-strong">Legacy GCM</strong><div style="margin-left:3em">Make sure Legacy GCM is unselected.  Only needed for very old models which get phased out over time.<br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=2219" class="postimage" alt="mobile gotchas legacy GCM.png" onclick="viewableArea(this);" /></dt></dl></div></div><strong class="text-strong">Testing</strong><div style="margin-left:3em">If another user on another phone is receiving alerts, maybe test the non-working phone with the working user account.  If the working user account does NOT work on the non-working phone, then you know the phone is the issue.  An example of isolating the issue to user permissions or mobile device permissions by leveraging a user account that we know works.<br><br>If the working account does NOT work on the new phone:<ul><li>You have to double check your Server settings on the mobile app.</li><li>Revisit your <a href="viewtopic.php?f=20&amp;t=2539" class="postlink">network setup</a>, especially the Global settings -&gt; Web server tab.  Review the Web Server Advanced dialog as well.  Make sure the mobile device is not blocked via the IP address.</li></ul></div></div><strong class="text-strong">Mobile device/phone settings</strong><div style="margin-left:3em">If you are trying to troubleshoot alerts to your mobile app, the other aspect of permissions is in regards to the Phone settings.  The <a href="viewtopic.php?f=19&amp;t=2211#Server%20settings" class="postlink">Server settings</a> section of the Mobile devices article explains how to use the Wizard to setup the Phone settings correclty.  </div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=521">varghesesa</a> — Mon Dec 20, 2021 7:22 pm</p><hr />
]]></content>
	</entry>
	</feed>
