Skip to content

How to collect discrete inputs with the Cloud IoT Gateway and display on Proficloud?

edited January 2020 in Proficloud

I have a Cloud IoT Gateway set to read discrete inputs from a Modbus device. The Gateway correctly updates when the value changes from false to true, however I cannot get this data to display correctly on Proficloud. I tried using the Singlestat panel to display this data, however the Singlestat remains 0 even though the value is true.

Can the Singlestat panel display discrete inputs? Is there another panel that should be used instead?

Cloud IoT Gateway inputs are true

Singlestat panel shows 0

Comments

  • Hi,

    did you try to set the value mapping to:

    false = 0

    true = 1

    I am sure that I have used bollean with singlestat in the past to display on/off information. 

  • Hi Arno,

    Yes I have tried value mapping, but since the singlestat never changes the value mapping never changes....Any other thoughts or suggestions?

  • Any additional thoughts?

  • Hi Dave,

    Did you check the stat is "Current"

    Options -> Value: Stat: "Current"

    Default is "Average"...which would explain that the value does not change immediatelly.

    Arno

    Current

     

  • Hi Arno,

    None of the panels appear to show the data correctly. I’ve included a screenshot showing what the Cloud IoT Gateway was reading at 11:29 today, and the corresponding table on Proficloud with the same metrics added. As you can see, the Proficloud is not displaying either "1" or “true”. The Proficloud logs the data in real time (I’ve verified there are no time sync issues), but still will not show these Boolean values.

    Has anyone on your team tested Read Coils on the Proficloud before?

    Do you think we might need the discrete panel in order to display this data: https://grafana.com/grafana/plugins/natel-discrete-panel

     

    Boolean not displaying on chartBoolean value in Cloud IoT GW

    Cloud IoT Gateway setup

  • Hi,

    we finally could also reproduce the issue. We will come back with a solution very soon. We think that it could be an issue with the TSD collector in the proficloud. Sorry for any inconvenience.

  • Hi, we have tested the problem with the boolean values in the IoT Gateway. The problem was not in the IoT Gateway, but in the TSD collectors in the cloud. We have fixed the parsing of "true" and "false". Now we have updated it and the values are correctly captured and displayed in proficloud.

  • Thanks for the quick turn around!

Sign In or Register to comment.