Skip to content

ashish-c-naik/IOT-based-Smartmeter

Repository files navigation

IOT based smartmeter Web application

PhoneGap used to bridge the web application and mobile device. It uses IBM bluemix's IOT platform to run the simulation of the IOT device. Node-red was used to generate simulated smart meter IOT device that sends us data in form of JSON string which then was visualized by using PhoneGap and google charts. It was done as a part of hackathon held in SPIT college on Feb 15, 2017.

Technologies

Phonegap
IBM
NODE-RED
Google charts

Screenshots of app

Usage

IBM BLUEMIX IOT PLATFORM

You can get started using the platform at: IOT Node-red used for simulation : NODE-RED

PhoneGap CLI

The hello-world template is the default when you create a new application using the [phonegap-cli][phonegap-cli-url].

phonegap create my-app

Create an app using this template specifically:

phonegap create my-app --template hello-world

To see a list of other available PhoneGap templates:

phonegap template list

How to install this repo

First, head over to nodejs.org and install Node.js.

Go ahead and clone the repository onto your disk. Clone it inside your newly created phonegap project.

$ git clone https://github.com/spyashu/smartmeter.git && cd www

Install bower globally

$ npm install -g bower

Install necessary dependencies.

$ npm run install

Usage of this repo

Go ahead and run the server as follows:

$ npm start

Your app must now be running on localhost.

Releases

No releases published

Packages

No packages published