Giter Site home page Giter Site logo

php-iot-server's Introduction

PHP-IoT-server

Used for storing IoT-data in Integrated Smart Systems (ISS) module. Allows you to store and retrieve variables in an SQL database via HTTP requests.

Requirements

  • PHP
  • MySQL/MariaDB
  • Web server (Apache, Nginx, etc.)

Setup

  1. Clone this repository.
  2. Create a database in MySQL/MariaDB to store IoT data.
  3. Rename config.blank.php to config.php file and fill out your database credentials.
  4. 📡 ··· 🛰️

Usage

The server accepts HTTP requests with the following format:

  • To store a variable: https://yourserver.com/send/token/value (Use mode 'send')

    • Example: https://yourserver.com/send/abc123/0.001
  • To retrieve a variable: https://yourserver.com/get/token (Use mode 'get')

    • Example: https://yourserver.com/get/abc
  • Never share sensitive or personal information

php-iot-server's People

Contributors

tjjjia avatar manofea avatar

Watchers

 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.