We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question

Fiware Data Model Usage - Device Functioning Messages

asked 2018-01-18 15:53:12 +0200

tomsluyts gravatar image

Hi there,

We are currently looking into the implementation of the Fiware data model. First trial would be waste baskets that send data.

They have two types of messages at source.

One is related to fillingLevel, etc -- that one is easy and nicely fits into the WasteContainer data model.

The second type are "alert" and are related to the functioning of the device itself, stuff like batterylevellow, or no_network or something like that.

Our idea is to put that data in a "device" entity with a pointer to it's WasteContainer entity, but is that the right way to go about it? WasteContainer itself doesn't look like the right fit, on the other hand we're also not describing device in the sense of sensors either...

So config, status and alarms would go into the device, measurement from a more business perspective into the entity.

We want to get our model right from in the beginning, so alle help is appreciated!

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2018-01-23 11:43:10 +0200

jmcantera gravatar image


Good question. You can certainly use a Device entity linked to a WasteContainer entity and use the Device entity to store battery level, configurations and the like.

For certain device conditions that should be alerted, why don't you use the Alert entity type?. The Alert entity type could be extended to cover new Alert categories and subcategories. If you opt for that approach a Pull Request that extends the current Alert data model (with categories and subcategories for alerts originated in devices) will be more than welcome.

Thanks, best

edit flag offensive delete link more

answered 2018-01-24 14:19:23 +0200

tomsluyts gravatar image

Thanks for the answer.

Alerts look like the way to go, I'll see if I can get the required time for the required changes to make it work and do the Pull Request.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-01-18 15:53:12 +0200

Seen: 861 times

Last updated: Jan 24 '18