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 - managedObject Event - detect device first connection

Looking to understand whether there is a a bulletproof event from the namagedObject side of c8y where we know the device has just connected. I have a microservice that listens for events in real time and I want to trigger a process once we know a…
TheRealPapa
  • 4,393
  • 8
  • 71
  • 155
0
votes
1 answer

How to send a measurement from Cumulocity IoT to a registered device using MQTT

I am able to register a device on Cumulocity IoT and send measurements from the device to Cumuloicty via MQTT. Now I want to send measurement from Cumulocity to that registered device using MQTT. How can I achieve this ? I tried going through all…
0
votes
1 answer

How can i send messurments in cumulocity via mqtt

I am pretty new to Cumulocity and I am trying to get data into the platform from my own device using MQTT and the smartrest templates. I can get data using the static templates but they only support certain data types. I am struggling to create the…
0
votes
1 answer

attaching binary file to an event in cumulocity

I have a scenario where in my code creates a file and an event in cumulocity as well. I need to attach the binary file to the event, however none of the API's provide me the functionality, any guidance as to how to go ahead please? Update: On…
0
votes
1 answer

Is there any way to send data to cumulocity without physical devices

Finding a way to push data to cumulocity without physical devices I am trying to find a way to push data to cumulocity without physical devices. is there any to implement in java? If there is a way, please drop some snippets and doc links.
nanavinay
  • 1
  • 3
0
votes
1 answer

Removing property from operation in Cumulocity does not work?

I would like to remove a property from an operation in Cumulocity. I use the following code: private final DeviceControlApi deviceControl; OperationRepresentation operation = deviceControl.getOperation(new…
Ivajlo Iliev
  • 303
  • 1
  • 3
  • 19
0
votes
1 answer

Cumulocity - get access to datapoint modal

I'm trying to get an access to datapoints in new cumulocity version. In older version such things as c8yDataPointSvc and schemaPropertiesSvc. I can't seem to find them anywhere. Basically I need components to work with datapoint as in the picture…
0
votes
1 answer

Get application managed object with Cumulocity Microservice JavaSDK

Is there an easy way to get a managed object of the microservice application with Java SDK? Or how do I get application id using JavaSDK? Use case: My microservice reacts to operations. As the operation deviceId id I use the managed object of the…
Nick Ponomar
  • 307
  • 3
  • 9
0
votes
1 answer

How to use existing cumulocity widget in custom widget

I created a custom widget using angular 10, Now I wanted to add a datapoint list in the configuration(edit) and access it I am using c8y-data-point-list directive but my angular application not able to find this selector/associated component. so my…
0
votes
1 answer

Check if an array contains a value Query in Cumulocity REST API

I have a managed object of type “ABC” with a fragment “A”, that has sub-structure as following: { "type": "ABC", "A": { "value": ["B", "C"] } } How would one create a filter/query that would check if "A" fragment contains “C” in…
Nick Ponomar
  • 307
  • 3
  • 9
0
votes
1 answer

Proxying to Cumulocity tenant when using Angular cli

So I have created a Web SDK project using Angular cli and added the c8ycli to it. When starting the project using c8ycli server -u http://mytenanturl.com all I see is an endless spinner. Could anyone point what am I doing wrong here ?? Here is the…
Jish Nair
  • 65
  • 1
  • 9
0
votes
1 answer

ProjectReference not getting included in the packed nuget

I am new to the C# and nuget world. I have the issue with https://www.nuget.org/packages/Cumulocity.SDK.Client . Cumulocity.SDK.Client internally has a ProjectReference to Cometd.NetStandard.csproj . And I want to pack and publish the…
Kumar Pallav
  • 31
  • 1
  • 4
0
votes
2 answers

assign global role and application to a user via REST API in Cumulocity

I want to dynamically assign Global Role and Specific Application access to a user in Cumulocity globally.But getting 422 status code back. "error": "usermangement/Invalid Data", "message": "Could not Identify the role referenced by:…
0
votes
1 answer

Cumulocity HTML widget cannot access child device data

I am trying to use HTML widget to display device and child devices property. I created a group and created 3-4 child devices under it. When I am using {{device.name}} it is showing the data of the group properly since I chose it as parent asset. But…
0
votes
1 answer

Cumulocity File Repository

I am trying to load a csv file in the Cumulocity -> Administration - > Management - > File Repository. My objective is to access the file contents in the HTML widget and show the data in tabular or chart format. I tried using the fetch() method to…