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
8
votes
2 answers

How to handle $ctrl. in AngularJS?

I have a Methode from an API. It returns a promise which resolves to an $ctrl(?) object. This objects should contain a measurement and will be updated whenever it receive a new data. getMeasurements.latest(filter) //only a object to filter…
5
votes
1 answer

Error when subscribing to operations through the java-client

When subscribing to operations using the Cumulocity java-client I am getting: com.cumulocity.sdk.client.SDKException: unable to subscribe Client: fwy51ui5s1crhtn1p1qkybrl2me2 on Channel:/meta/subscribe 403:denied_by_security_policy:create_denied My…
Georgi
  • 165
  • 1
  • 9
4
votes
1 answer

How can the display name of measurements be directly set in Cumulocity/Java

I want to send MeasurementValues to Cumulocity and visualize the data with the given tools. Which values are sent by my software is specified in a JSON and has to be changeable after compilation. My issue: The Java Cumulocity Framework doesn't allow…
DaGroove
  • 192
  • 1
  • 10
4
votes
2 answers

Import cumulocity plugins from own applications

in the past (somewhere around 8.4) it was possible to include plugins into a "hidden" plugin application for referencing them in other apps. As André stated, this is still possible to include the plugins in a "hidden" application, but the plugins…
Meykel
  • 123
  • 1
  • 7
4
votes
3 answers

Cumulocity Event Language - call external API

Form what I can see on your documentation, it's possible to query the database for additional data when writing CEL, but is it possible to call an external API? Is it also possible to update a Measurement to populate a missing value. For example,…
3
votes
1 answer

Error compiling cumulocity-clients-java with java 11

I would like to develop using cumulocity api, so I downloaded the sources for java examples (https://bitbucket.org/m2m/cumulocity-clients-java) version 1004.7.0. When trying to compile it with java 11 (openjdk 11.0.2) using maven I have the…
Mircea
  • 61
  • 1
  • 6
3
votes
1 answer

Cumulocity Alarm Text Rewriting based on Type

We've encountered a baffling issue with cumulocity's Alarm types. We've found that when we create an Alarm with an agent, either through HTTPS or MQTT, the "type" field of the very first alarm creation (for a given type) determines the severity and…
PoolOfPeas
  • 383
  • 2
  • 11
3
votes
1 answer

Settings for hosting an application in cumulocity

i want to configure the application to be hosted at cumulocity via uploaded archives. The documentation shows two application types, HOSTED and EXTERNAL. If i set the type to HOSTED, it requires the params resourcesUrl, which references a…
Meykel
  • 123
  • 1
  • 7
2
votes
1 answer

"c8ycli server" returns an error when try to connect behind the proxy

I need to use cumulocity behind the proxy server. Therefore, I have set the proxy addresses using: "npm set proxy" and "npm set https-proxy". Now I am able to run a standard angular project and it works fine. But when I create a c8y project and run…
Parda
  • 31
  • 5
2
votes
1 answer

How to set child devices to a device via inventory api?

I am trying to set child device to a device in Cumulocity, using the inventory api, unfortunately without success. I have already tried the following: GId gid = new GId(deviceId); ManagedObjectRepresentation…
Ivajlo Iliev
  • 303
  • 1
  • 3
  • 19
2
votes
2 answers

How to install the latest 1004.x cumulocity UI package [ng1]?

How can I update my custom app to the latest (current 1004.x) cumulocity UI package using the old ng1 command line tools? Updating to a previous 9.x version works fine: >c8y install 9.20.13 Installing 9.20.13 UI Package... npm+…
stedaho
  • 218
  • 1
  • 3
  • 10
2
votes
1 answer

Cumulocity single sign-on - authenticating with a microservice in the context of a SSO user

Our c8y tenant has single sign-on configured with an external openid connect provider. Users can login via the SSO and access c8y UI apps - cockpit, etc. However, when a user tries to access an endpoint of a microservice(e.g. the /health endpoint…
Mihail Kostira
  • 510
  • 7
  • 10
2
votes
1 answer

When c8yDataModule is added, expections are occuring in the angular6 Applications

I know that c8yDataModule is in beta, but still i can use it. I used this c8yDataModule in one app, but it is not working in another app, and i get a lot of errors. I have imported the C8yDataModule in my angular6 application like this below and…
PCA
  • 1,677
  • 6
  • 28
  • 45
2
votes
1 answer

Hosted microservice, SpringSecurityContextProvider : Security context not available

I developed a microservice using microservice SDK 9.9.0. The microservice is running hosted at Cumulocity and is working fine. I get only many WARN messages in the logging file: ... 2018-08-24 12:44:41.400 WARN 11 --- [http-nio-80-exec-9]…
apes
  • 87
  • 8
2
votes
1 answer

How use the @c8y/client library

I am testing the new @c8y/client library for typescript. I have a very simple code : import { Client } from '@c8y/client'; //const baseUrl = 'https://bismark1.cumulocity.com/'; const baseUrl = 'https://demos.cumulocity.com/'; const tenant =…
Jorge
  • 238
  • 1
  • 10
1
2 3
20 21