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
1
vote
1 answer

smartREST template: custom measurement not visible as Datapoint

I created a smartREST template for measurement via "device management -> smartREST templates". I send the reading via MQTT: s/uc/mytemplateID 777,123,stringValue The message arrives because I can see it through the API: { …
c8yUser
  • 13
  • 5
1
vote
1 answer

leafletDirectiveMarker disable focus when user click outside the map

I have a click function on the marker which will enable the marker popup. But when the user clicks outside the map I want to disable this focus. How to do this? $scope.$on('leafletDirectiveMarker.click', function (event, args) { …
rajmohan
  • 1,618
  • 1
  • 15
  • 36
1
vote
1 answer

CEP List as single items (iterate over managed obejects)

in CEP, I can get managed objects as a list, for example with the function "...ManagedObjectByType". After getting the list, I use the AllOf function to filter the list. Now, I would like to put every single Mangaged Object from the list into a new…
Nico
  • 15
  • 3
1
vote
2 answers

How to gracefully end test client

I have a simple cumulocity test client. The code runs fine but the jvm does not stop when the code finishes. Some threads are still running: MultiThreadedHttpConnectionManager. How to gracefully shutdown the open connections allocated by:…
pmahler
  • 11
  • 1
1
vote
3 answers

Deleting many managed objects selectd by fragment name

I want to delete many managed objects, selected by fragment type. There are more then 2000 elements in it. Unfortunately I can not delete all with one function call. I have to call this function many times until I have deleted all. How can I delete…
apes
  • 87
  • 8
1
vote
1 answer

How to add `c8y_Address` property to a device using API in cumulocity?

Here is the image of the asset information widget, which can add a property called c8y_Address I would like my device to show their address information on the asset information widget, but I don't really know how to upload these properties to a…
1
vote
1 answer

How to apply 'out of the box' Cumulocity Widgets (such as 'Radial Gauge') in custom Cumulocity applications

So I've been trying to make a customised application in Cumulocity. However, I want to maintain the consistency for cockpit and my customised application, so I'm just wondering is there any way to apply the "out of the box" widgets to our own…
1
vote
1 answer

How to add multiple microservices in cumulocity

We implemented an application which is onboarded in the C8Y server : DM (Device Management) application. The end user connects to the tenant-related C8Y server and selects the DM application. The DM application consists of two parts : Front end…
1
vote
1 answer

Cumulocity Event Language (CEL): Computing the Total Energy Consumption from the Battery Level Signal

My device registered on the Cumulocity IoT Platform has a signal for the current battery level: DLValues => battery_level I want to compute the total energy consumption from this signal. The energy consumption between two battery level measurements…
eanbmu
  • 11
  • 2
1
vote
1 answer

How to inject PlatformApi in a Microservice Application?

I need to build a small Microservice which receives a REST Request and stores data (Devices, Measurements etc.) in Cumulocity. For me it is not very clear from the documentation how the platformApi can be easily injected to my Spring Boot…
Switschel
  • 42
  • 4
1
vote
2 answers

How to get to the device registration page of cumulocity?

How to get to the device registration page of cumulocity? I am trying to connect Raspberry Pi with Cumulocity.I followed all the steps from the following link < https://www.cumulocity.com/guides/devices/raspberry-pi/ >.I got stuck in the step where…
Knight
  • 61
  • 1
  • 11
1
vote
2 answers

How to post data from Raspberry PI to Cumulocity?

How to post data from Raspberry PI to Cumulocity? When I searched for the same I came across Connecting Raspberry Pi with cumulocity But in my case I want to post to Cumulocity.
Knight
  • 61
  • 1
  • 11
1
vote
1 answer

Linear Regression Using CEP

What is the best approach to achieve a linear regression using CEP ?. We have tried two different options. We do want to have the algorithm working in real time. Basic code for both approach : create context IntervalSpanning3Seconds start…
Jorge
  • 238
  • 1
  • 10
1
vote
2 answers

Cumulocity - Custom widget configuration

I'm writing a chart widget in cumulocity platform. In widget comes with the platform, I can select data point after I select device: But the widget I wrote can only select device, there is no data point option for me to select: I know there is…
WahahaXDD
  • 25
  • 7
1
vote
1 answer

Custom application Integegrate on Cumulocity

I have a custom application developed standalone using angular 4 and bootstrap version 3. I do build a custom application using angular-cli using 'ng build' command. I want to integrate this application with cumulocity. Can someone suggest the…
Chetan Laddha
  • 993
  • 8
  • 22