Giter VIP home page Giter VIP logo

desense's Introduction

deSense

Sensor Networks on Algorand

Provided for Algorand developer portal by @emg110 and @sheghzo.

IMPORTANT NOTE:

This library and the main solution deSense are made as proof of concept development projects with production and enterprise in mind, so all teal programs included are consisted of simple int 1 code to pass everything which suites the development enviromnet where the possibility of implementation is the target not showing off TEAL capabilities which are huge but off the subject for this library.

Sensor Emulator

deSense on Algorand Developers Portal

Technical notes

Run ./desense.sh help to see available flows and commands

Run ./desense.sh install first , then ./desense.sh startsandbox, then ./desense.sh startemitter and finally, then ./desense.sh start emulator as order of running things but read forward through technical notes first!

It'srecommended to run emitter and emulator in different bash terminals than main one, for they have continius logging of published and received sensor data which may interfere with user experience!

When running ./desense.sh startemitter for the first time you will be given just generated a license and a secret code for a new registered sensor netwrok on your localhost. The license and secret key to generated Sensor Network Take note of these two and set EMITTER_LICENSE environment variable:

export EMITTER_LICENSE="PfA8IHtI_zkp1tEGEG3T86--Gy6bexPlMVxzi3o4_aEMGBCfEK7GTYaxmK6Zche0DLQfMDamuYnxC9XB9p8BAQ:3"

Open your browser and go to Sensor Network registeration panel http://127.0.0.1:8080/keygen and register your channel name /desense to get a channel key.

Web based SNS channel generator & key registeration

Use the channel key you just received from keygen and set it in key configuration of your sensor emulator sensor-template-config.json. Along with channel key set the port of your sensor network e.g 8080 and also paste the sensor network license mentioned above into the license configuration. Make sure you do these configurations before starting emulator with ./desense startemulator command.

The sensor emulator configuration

If the setup is OK then by starting sensor emulator via ./desense startemulator this should be the output:

The sensor emulator running...

Design Info

deSense Concept

deSense Sequences

deSense UseCase Diagram

Presentation Video

deSense Presentation Video

Sensor Emulator Screen Cast

Senor Emulator Screencast Telesensing to Algorand blockchain and gives Transaction ID out

Based on amazing libraries and examples of

EmitterIO

Sampler

mqtt-emulator-----> Forked and extensively modified & overhauled version created just for this Hackathon sensor-emulator.

desense's People

Contributors

emg110 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

mojowlekaz

desense's Issues

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.