Coder Social home page Coder Social logo

iotize-monitoring.ionic's Introduction

IoTize Monitoring.ionic

Monitoring.ionic is a simple demonstration project showing how to use 'Iotize Device API' and 'IoTize Cordova plugins'.

This sample is based on Ionic 3 tabs template. See Ionic tutorial

Prerequisites

Your computer needs to be set up for Android, iOS or Windows UWP Cordova development.

Usage

Plug in your Tap device. Then build and run the app.

git clone https://github.com/iotize-sas/iotize-monitoring.ionic.git
cd monitoring.ionic
npm i
ionic cordova run <platform> # replace <platform> by ios, android or windows

Upon connection, the app downloads the '.cloud' configuration file to display a dynamic UI for monitoring. Make sure to publish your configuration with IoTize Studio

Navigation

Once started, the app loads on the connect page. Click the BLE start button to scan surroundings IoTize BLE devices.

The app then shows a list of reachable devices. Click on the one you want to connect to.

Once the device connected, you may now access to the monitor page, and the application name changes to fit the one set in tap.

The monitor page is built with the configuration file the app downloaded. It has a navigation bar on top of the screen, where you can select the bundle you wish to monitor by clicking on its name.

Bundles are only visible to users allowed in the configuration file and logged in the app.

If you are logged in with an account that has writing rights on a bundle, a wrench icon appears next to every concerned variable. By clicking on it, a form asks you for the value you want to set the variable to.

On the about page, you can see informations about the currently connected tap.

To end the communcation with the tap, just disconnect it by clicking on its name in the connect page.

Settings and Authentification

On the Connect page, you can see, at the upper right hand corner of the app, a gear icon. By clicking it, a form opens, where you can modify the monitoring refresh period.

On the Monitor and About page, when connected to a tap, you can see a log-in icon at the same place. When clicked, it opens a form where you can enter your credentials to login to the tap.

You can logout by clicking the logout icon.

Glossary

Bundle: Set of variables configured in the tap. Each bundle has access rights (read/write) which can be given to user profiles.

iotize-monitoring.ionic's People

Contributors

geraud-iotize avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.