Angular & Cumulocity IoT Platform

The following topics are covered here: Installation of the Cumulocity IoT Platform (C8Y) CLI Project creation via the C8Y CLI Creation of components Setting up navigation (routing) Custom branding & using Bootstrap 4 instead of 3 (default) First of all, we need the Cumulocity (C8Y) Angular CLI (Command Line Interface). We can install the CLI as follows: npm install -g @c8y/cli Using the C8Y CLI, a new project can be created as follows: c8ycli new myApp ...

April 27, 2019 · Aaron

Alexa Skill & AWS Lambda & npm Packages & Cumulocity

The following example shows the creation of a simple Alexa application (Skill) using the ‘Alexa Developer Console’ and ‘AWS Lambda’. Alexa Developer Console The ‘Alexa Developer Console’ helps us create the so-called ‘Interaction Model’. This model is used to describe the desired application and define the sentences and parameters to which Alexa should later respond. The programming of the logic is NOT done in the Developer Console but in AWS Lambda. ...

January 30, 2019 · Aaron

MQTT + Cumulocity IoT Platform

MQTT Summary [Source: Wikipedia] MQTT (Message Queuing Telemetry Transport) is an open messaging protocol for machine-to-machine communication (M2M) that enables the transmission of telemetry data in the form of messages between devices, e.g. sensors. The Internet Assigned Numbers Authority (IANA) reserves ports 1883 and 8883 for MQTT. MQTT messages can be encrypted using the TLS protocol. The MQTT specification distinguishes between TCP/IP-based and non-TCP/IP networks. MQTT is a client-server protocol. Clients send messages with a topic to the server (“broker”) after establishing a connection; the topic hierarchically classifies the message, for example Kitchen/Fridge/Temperature or Car/Wheel/3/AirPressure. Clients can subscribe to these topics, and the server forwards received messages to the respective subscribers. ...

January 26, 2019 · Aaron