The maschine readings should be pulished to which cumulocity data type

What product/components do you use and which version/fix level are you on?

latest

Is your question related to the free trial, or to a production (customer) instance?

production

What are you trying to achieve? Please describe it in detail.

Our gateway device uses the digital input devices to read the data from maschines. To which type of data we need to publish if we want to send these data to cumulocity.
Events or measuremnets.

Do you get any error messages? Please provide a full error message screenshot and log file.

Have you installed all the latest fixes for the products and systems you are using?

yes

Hi,

usually the Cumulocity Domain Model separates events and measurements the following:

  • Measurements contain numerical data produced by sensors (like temperature readings)

  • Events contain other real-time information from the sensor network, such as the triggering of a door sensor.

However there might be an overlap. Can you describe a bit more what the data represents?

The data we receives from devices are continous binary values.

That’s only a partial answer, what do these binary values represent?

The values represents High and Low or On and off

On and off (or at least the transition) can be modeled as both.

  1. Measurement: 1 = On, 0 = off
  2. Event: e.g. {“TransititionTo”: “On”}, {“TransititionTo”: “Off”}

Measurements can be easier used to be visualized via dashboards in a timeline.

If high and low is not a bool but the actually high and low value from within a certain timeframe it feels like a measurement would be the better choice here. But more insights would be helpful I guess.