Configuration Parameters
Provide the following parameters in a yaml configuration file. Refer to Cumulocity.yaml.
requestAllDevices. Requests for all assets at startup. Default value is true.
subscribeToAllMeasurements. Subscribes for measurements of all devices during startup. Default value is true.
subscribeToDevices. Subscribes for all device related updates. Default value is true.
tenant. Unique name given to the application tenant.
username. Name of the user.
password. Password of the user.
url. Optionally provide an URL if connecting to an on-premise installation of Cumulocity IoT.
forceInitialHost. Configures the Cumulocity SDK to always use the URL provided during session initialization instead of the endpoint details returned by the Cumulocity platform. This parameter is used in deployment scenario's where the Cumulocity Instance is reachable only with an IP address.