Hi,

I am looking to display the GPS from a device on a vessel, i ahve set up SNMP and the sensors are showing the LAT/Long on each sensor but as a mesage, i only thing i can select to display is Downtime or Response Time.

I would like the sensors to display the actual GPS, can this be done with another sensor?


Article Comments

Hello,

depending on how you read the coordinates, you might be able to use the SNMP Custom String sensor to put the string into the sensor message.

When creating a Custom String sensor, you can enable the option to process the data and have a regex match used as channel value. This however would be just one channel.

In order to extract multiple numbers, one has to use multiple sensors. With yet another sensor, the Factory, one can combine multiple channel sources into one sensor.


Apr, 2022 - Permalink

Hello,

depending on how you read the coordinates, you might be able to use the SNMP Custom String sensor to put the string into the sensor message.

When creating a Custom String sensor, you can enable the option to process the data and have a regex match used as channel value. This however would be just one channel.

In order to extract multiple numbers, one has to use multiple sensors. With yet another sensor, the Factory, one can combine multiple channel sources into an additional sensor.


Apr, 2022 - Permalink

Hi,

Thank you for the reply, much appreciated.

See the below links for what i have set up Sensors = https://ibb.co/xqmXNs3 Sensors 2 = https://ibb.co/yQ6VXzt SNMP Longitude = https://ibb.co/b3WXWDR

The Longitude sensor is set up with SNMP Custom String, it displays the Longitude as a "message" but only shows the "response Time" as a result/sensor, what i want is it to display the Longitude, not the response time as you can see from the first link.

I have created another sensor using SNMP String Custom and do not see where or how to do what you suggested.

Your assistance is appreciated


Apr, 2022 - Permalink

Thank you for the response, much appreciated.

Can you advise how we display the message as the sensor?, the only Channels we have in the SNMP String Custom is either Downtime or Response Time, so thats what the sensor displays.

We need to display the actual GPS, as you can see the GPS is coming through but as a message.

https://ibb.co/xqmXNs3 https://ibb.co/yQ6VXzt https://ibb.co/b3WXWDR


Apr, 2022 - Permalink

Hello,

in order to get a number as sensor channel, the processing option has to be configured upon sensor creation, Extended Processing / Numeric Value Extraction, with a regex entered to match the number within the string.


Apr, 2022 - Permalink

Hi,

I managed to get the sensors displaying the Message rather than response time by creating the sensor as a SNMP Custom not a SNMP Custom String.


Apr, 2022 - Permalink

Hello,

the normal SNMP Custom sensor requires a number, or a string which can be converted into a number. If the device delivers such content, it can be used.

Otherwise, if the result is a string which contains a number but other characters as well, the Custom String sensor can be used, if a regex is entered which matches a number.


Apr, 2022 - Permalink