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

Cumulocity Java Agent credentials - access denied when updating MO

I'm writing a new agent for Cumulocity using the examples from BitBucket repository. I managed to create a new driver, communicate with the company service, now I want to update ManagedObject, but not the device of my Agent. Using the device…
Mariusz Kraj
  • 107
  • 5
0
votes
1 answer

Set "Notes" in Device Info via MQTT on Cumulocity

While registring a new Machine with static templates via MQTT I couldn't find a way to put something into the "Notes" Field at Device Profile in the Device Info. Is there a template or another way to put some additional Information in that Textbox?…
Vinh Tran
  • 13
  • 4
0
votes
1 answer

cumulocity smartrest template mqtt message not received

I created a smartREST template via the frontend: templateCollectionId: mycid messgaeID: 456 target rest api: EVENT Method: POST $.type: testType $ .text: testText $ .TIME: 2018-06-14 00:00 rest api custom fields: testkey / string testValue /…
c8yUser
  • 13
  • 5
0
votes
1 answer

How to set decimal points in CEL

I've been doing some calculation using CEL. Because of the complication of the calculation, the result ends up with some long decimal points. I'm just wondering is there any function that I can transform the data like 23.012372983659365034701 to…
0
votes
2 answers

microservice-package-maven-plugin skip container build by command line

i am building a microservice using microservice-package-maven-plugin to package docker container. This works fine on build-server, but i would like to switch off thid docker packaging on my development environment, because i use windows and…
apes
  • 87
  • 8
0
votes
1 answer

Access lastMeasurement in HTML widget

I want to reference the last measurment of a device in a HTML widget. The page https://www.cumulocity.com/guides/users-guide/cockpit/ give samples to access these. My attempt to show the TemperatureMeasurement doesn't return a…
pmahler
  • 11
  • 1
0
votes
2 answers

Cumulocity Java SDK: updating ManagedObjectRepresentation

The update function of InventoryApi returns a ManagedObjectRepresentation object of the result. In my code, I successfully use update() and later, try to update the returned ManagedObjectRepresentation (e.g. set some fragments), calling…
jakob
  • 35
  • 1
  • 1
  • 5
0
votes
3 answers

Cumulocity app release via Visual Studio Team Services

I have built a Build & Release pipeline through Visual Studio Team Services. The build process are executed using the Cumulocity framework c8y. For the release I would like to bring my packed (zip-file) web application automatically to the…
0
votes
2 answers

Cumulocity Rapsberry PI - Connection problems

I installed the Cumulocity Linux Agent on my Rapsberry PI, but I'm not able to register them on the Cumulocity platform. The platform stay in status Waiting for connection". To find out whats wrong I started the Cumulocity agent in Debug mode and…
Andreas
  • 21
  • 1
0
votes
1 answer

how to group historical data in cumulocity cep query

I have to group the last week data per day .I was able to retrieve the historical data every 10 sec but not able to group by date insert into AllMeasurementsOfWeek select…
Joby
  • 21
  • 3
0
votes
1 answer

How to manage statement execution order in esper

There is an issue with following code. before A gets incremented or decremented....finalstatement gets executed. Why does this happen.. how can we manage the execution order of statements. create variable Integer A=0; on pattern[every…
rajmohan
  • 1,618
  • 1
  • 15
  • 36
0
votes
1 answer

History of events

We have a scenario in which we need to check the status of different devices and create an event "completed". We need to check the history of events and check the status of different devices if any of them are in "stop" status. how can we check the…
rajmohan
  • 1,618
  • 1
  • 15
  • 36
0
votes
1 answer

Cumulocity microservice deployment: access is denied

My goal (background info) I want to develop a java microservice on cumulocity. It should be able to do the following: I would send "112233" to the microservice as…
0
votes
1 answer

How to check time difference between two events

How to check time difference between two events. can someone suggest me the approach to do this? I have different events coming from a device. initially it will be sending "started" event and after sometime it will send "completed" event. I need to…
Joby
  • 21
  • 3
0
votes
2 answers

How to get the Cumulocity tenant name of the logged-in user in my C8Y application

I have developped a Cumulocity (C8Y) application. This application can be onboarded or not according to the C8Y tenant. With other words, my C8Y application can run under different C8Y tenant. My C8Y application needs to know what is the tenant name…