GithubHelp home page GithubHelp logo

ekapujiw2002 / ubidots-lua-openwrt-router-ubidots-real-time-data-monitoring Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ediy/ubidots-lua-openwrt-router-ubidots-real-time-data-monitoring

0.0 2.0 0.0 377 KB

A tool to monitor data in real time

Shell 22.64% Lua 77.36%

ubidots-lua-openwrt-router-ubidots-real-time-data-monitoring's Introduction

Ubidots-Lua: OpenWRT router + Ubidots = Real time data monitoring

alt text

Ubidots is a cloud service to store and analyze sensor data in real-time.

Ubidots-Lua is written in Lua, it allows you to post data to or get data from Ubidots with minimum coding required. Ubidots-Lua should run on any OpenWRT wireless router, and it is able to execute from console, Shell script or as a Lua function call.

####Installing Ubidots-Lua There is no need to run a specific installation program, just put the file to your wireless router (/usr/lib/lua directory), giving execution permission and run it.

####Execute ubidots-Lua from command-line interpreter

This will post a value of 100 to your Ubidots Variable:

/usr/lib/lua/ubidots.lua -post api_key deviceID 100

Retrieve last value from Ubidots Variable:

/usr/lib/lua/ubidots.lua -get api_key deviceID

Retrieve all data from Ubidots Variable:

/usr/lib/lua/ubidots.lua -get api_key deviceID all

Retrieve last value from Ubidots Variable and save it to router /tmp/data.txt directory:

/usr/lib/lua/ubidots.lua -get api_key deviceID last data.txt

You can read more about this project on my website. http://ediy.com.my/index.php/projects/item/121-ubidots-lua-openwrt-router-ubidots-real-time-data-monitoring

ubidots-lua-openwrt-router-ubidots-real-time-data-monitoring's People

Contributors

ediy avatar

Watchers

James Cloos avatar Eka Puji Widiyanto 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.