<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Access Control IP Monitor]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I am having a access control. which is available on my local IP and using tcp/IP communication.<br />
I would like to monitor that IP using Mango.<br />
Can you please suggest me which protocol will be used to monitor the ip address.<br />
(i Have tried with Backnet IP and tcp ip data source.)<br />
Backnet ip giving error as "Cannot assign requested address (Bind failed)"<br />
on BACnet discovery-&gt;Send Whols..<br />
Is it possible to monitor an IP address(like ping) ?</p>
]]></description><link>https://forum.mango-os.com/topic/3295/access-control-ip-monitor</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 11:31:45 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/3295.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 23 Feb 2018 05:50:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Access Control IP Monitor on Tue, 27 Feb 2018 16:25:11 GMT]]></title><description><![CDATA[<p dir="auto">Did you set up the event handler on the data source event, as I instructed? I don't see an image of your event handler there.</p>
]]></description><link>https://forum.mango-os.com/post/17457</link><guid isPermaLink="true">https://forum.mango-os.com/post/17457</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 27 Feb 2018 16:25:11 GMT</pubDate></item><item><title><![CDATA[Reply to Access Control IP Monitor on Tue, 27 Feb 2018 06:13:52 GMT]]></title><description><![CDATA[<p dir="auto">Hi Phildunlap,<br />
i have checked  "Queryable" also but still getting 0 in all cases(right port number , wrong port number and after disconnecting lanwire).<br />
<img src="https://camo.nodebb.org/91e6cf92394171ef0d944db662fb4f7dc3ca738e?url=https%3A%2F%2Fi.imgur.com%2F6Ks9NLl.png" alt="2_1519711017900_1.png" class=" img-fluid img-markdown" /> <img src="https://camo.nodebb.org/72dfa43e54a59ebac1dd3d08df0ba75ffcec0e42?url=https%3A%2F%2Fi.imgur.com%2FJfwTTEy.png" alt="1_1519711017899_2.png" class=" img-fluid img-markdown" /> <img src="https://camo.nodebb.org/fd3850a14e7ccebbf80ba37478c724d1b9075564?url=https%3A%2F%2Fi.imgur.com%2FkMAIjH0.png" alt="0_1519711017898_3.png" class=" img-fluid img-markdown" /><img src="https://camo.nodebb.org/58a8f03a4efe73e9d1f1e8b98fc81e9c31f156ab?url=https%3A%2F%2Fi.imgur.com%2FM9uL5Lo.png" alt="0_1519712029197_4.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.mango-os.com/post/17455</link><guid isPermaLink="true">https://forum.mango-os.com/post/17455</guid><dc:creator><![CDATA[Naresh]]></dc:creator><pubDate>Tue, 27 Feb 2018 06:13:52 GMT</pubDate></item><item><title><![CDATA[Reply to Access Control IP Monitor on Tue, 27 Feb 2018 05:14:10 GMT]]></title><description><![CDATA[<p dir="auto">"Queryable" should be checked on the point</p>
]]></description><link>https://forum.mango-os.com/post/17454</link><guid isPermaLink="true">https://forum.mango-os.com/post/17454</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 27 Feb 2018 05:14:10 GMT</pubDate></item><item><title><![CDATA[Reply to Access Control IP Monitor on Tue, 27 Feb 2018 04:23:24 GMT]]></title><description><![CDATA[<p dir="auto">Hi Phildunlap,<br />
I have received Access control tcp IP port(4370) and   added data source and data points.I am able to ping my ip(192.168.0.80)<br />
But each time i am getting value 0 with 4370 port , with different ports and  after  removing lanwire.<br />
I have attached my data source and data point  screens.<br />
Please suggest if there is any issue in configuration?<br />
<img src="https://camo.nodebb.org/c2a3d02a26420c8effd99f49b6da4356a248f73c?url=https%3A%2F%2Fi.imgur.com%2FrCZojyr.png" alt="0_1519705390620_My_Mango_Automation_point.png" class=" img-fluid img-markdown" /><br />
<img src="https://camo.nodebb.org/d64a37d35aed59f9c5f6d9865fd962312a550393?url=https%3A%2F%2Fi.imgur.com%2FehytN8u.png" alt="0_1519705248924_My Mango Automation.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.mango-os.com/post/17452</link><guid isPermaLink="true">https://forum.mango-os.com/post/17452</guid><dc:creator><![CDATA[Naresh]]></dc:creator><pubDate>Tue, 27 Feb 2018 04:23:24 GMT</pubDate></item><item><title><![CDATA[Reply to Access Control IP Monitor on Fri, 23 Feb 2018 17:48:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi Naresh,</p>
<p dir="auto">It would take more work to get it to behave like a ping (I think there's some funny network layering to that), but you could check if a host is up using the TCP/IP data source.</p>
<p dir="auto">I would put a Set Point Event Handler on a TCP/IP Data Source's "Data source exception" and then point it at a closed port on the host. That way when the host is down, we'll get a socket timeout exception instead of a connection refused. We'll point our set point handler at a virtual boolean data point, and perhaps lower the TCP/IP's Data Source Exception alarm level to Do not log (since this is a normal event for this data source and we'll keep the history in the virtual point). Lower the data sources retries to 0.</p>
<p dir="auto">For the active action of the script, set point to scripted value:</p>
<pre><code>//We need to return the event to normal so that it raises again next poll
var dsEventType = new com.serotonin.m2m2.rt.event.type.DataSourceEventType(event.getReferenceId1(), 3); //&lt;-- I found a bug in event.getReferenceId2() so I hardcoded for now
com.serotonin.m2m2.Common.eventManager.returnToNormal(dsEventType, CONTEXT.getRuntime());
return event.getMessage().contains("SocketTimeoutException");
</code></pre>
<p dir="auto">You will also need to have a point on the TCP/IP data source that is queryable, but you can have a query command of "".</p>
<p dir="auto">If you host doesn't refuse connections on closed ports (instead ignores them), you could more simply check for a socket timeout exception event like we are, and use the inactive action to set to the binary point that the host is online again.</p>
]]></description><link>https://forum.mango-os.com/post/17435</link><guid isPermaLink="true">https://forum.mango-os.com/post/17435</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Fri, 23 Feb 2018 17:48:57 GMT</pubDate></item></channel></rss>