Questions tagged [cumulocity]

Cumulocity is a proprietary, cloud-based Internet of Things (IoT) applications development platform.

Cumulocity is a proprietary, cloud-based Internet of Things (IoT) applications development platform with REST APIs to connect IoT devices. For connecting devices, many embedded environments using , , , , and others are supported.

302 questions
0
votes
1 answer

MeasurementValue datatypes

I'm a newcomer to Cumulocity, currently evaluating both Java and C++ agents. In Java MeasurementValue class has a method setType(ValueType), which can have ValueType.STRING as argument but container for measurement value is BigDecimal. In general,…
Hannu_H
  • 5
  • 1
0
votes
1 answer

Are there any solutions to debug CEL for cumulocity development?

Are there any solutions to debug CEL (cumulocity event language) for cumulocity analytics development? Thanks, ZJP
zjp
  • 11
  • 1
0
votes
1 answer

How to fetch fieldname and structure for additional properties in operation, managedObject etc

I am trying to figure out which fragments are related to operation: managedObject event measurement alarm So , Is there a way to get all these fragments ? Also there are additional Properties for which field name is defined as * and the value can…
0
votes
1 answer

CumulocityLongPollingTransport - canceling the long poll request because of inactivity

I am using the Cumulocity java agent (7.38.0) and it apparently lost communication with the server somehow and never recovered. The admin interface says: LAST COMMUNICATION November 22, 2016 2:25 AM and last cumulo record in the the device syslog…
Peter
  • 73
  • 1
  • 7
0
votes
1 answer

Cumulocity inventory filter

Is is possible to fetch inventory by more than one fragment type? like inventory/managedObjects?fragmentType=c8y_IsDevice&fragmentType=c8y_DistanceSensor and is possible to konow the list of available fragments?
balaji
  • 1,236
  • 2
  • 18
  • 28
0
votes
1 answer

Connecting Raspberry Pi with cumulocity

I've registered my Raspberry Pi device with Cumulocity. Now I just wanted to switch on/off LED which is connected with Pi through Cumulocity. Is it possible and if so how to proceed?
balaji
  • 1,236
  • 2
  • 18
  • 28
0
votes
2 answers

Creating custom fragment in Cumulocity

Is it possible to create custom fragment as below? "custom_Position": { "alt": 67, "lng": 6.15173, "lat": 51.211977, "place":"xxxx" }
balaji
  • 1,236
  • 2
  • 18
  • 28
0
votes
1 answer

Cumulocity find all pending operations for tracker

I' writing a parser for a particular acknowledgement message in my tracker-agent. When parsed, I would like to retrieve all pending commands/firmware updates for the tracker so I can compare them with the content of the acknowledgement and update…
Gaetan L.
  • 649
  • 6
  • 20
0
votes
1 answer

Cumulocity access object properties and Cumulocity functions

In one of my Esper rules, I need to get a specific (custom) property of a managed object, or a default value if it doesn't exist. So I decided to do this in a js expression. I started like this: create expression Number js:getTripId(deviceId) [ …
Gaetan L.
  • 649
  • 6
  • 20
0
votes
1 answer

Cumulocity extend API

We're working with Cumulocity and we'd like to offer services to our customers that are not currently possible to implement with Cumulocity. As an example, we'd like to be able to retrieve a list of devices located within x kilometers of a given…
Gaetan L.
  • 649
  • 6
  • 20
0
votes
1 answer

Cumulocity epr differences with esper

I was testing some rules I wrote in Cumulocity, and as I couldn't get the results I wanted I tried using the Esper EPL online tool for comparison. Turns out I found a difference in outputs between the two that I can't explain. Basically, what I want…
Gaetan L.
  • 649
  • 6
  • 20
0
votes
1 answer

fail to create operation with c8yDeviceControl.creat

I'm new to cumulocity application development. Now I'm learning to use Smart App Toolkit to develop HTML5 application. I could create device in my Tenant, and could run some operations with servces provided in the SDK. However, I failed to create…
D. Chen
  • 11
  • 1
0
votes
1 answer

easiest way to access to device credentials from a Driver implementation?

I am fabricating a class to simplify distributing files to devices from cumulocity /** * Class to simplify pushing files to the devices */ public class GenericFileUploadDriver implements Driver, OperationExecutor { Using c8y_DownloadConfigFile I…
Peter
  • 73
  • 1
  • 7
0
votes
1 answer

Real Time Processing - read a managed object fragment

I'd like to use the Event Processing functionality to create derived measurements. Our devices report a measurement that has a target value we store, per-device, in a managed object fragment. I want to create a device measurement that is the…
Lou O.
  • 599
  • 4
  • 17
0
votes
2 answers

Display icon depending upon managed object fragment

We update a status fragment in our managed objects to reflect the current operating state of the device. I'd like to display an icon on a cockpit dashboard that changes colour as the managed object state changes. I considered using the Cumulocity…
Lou O.
  • 599
  • 4
  • 17