Skip to content

Used for storing IoT-data in Integrated Smart Systems (ISS) module

License

Notifications You must be signed in to change notification settings

CMD-Breda-Avans/PHP-IoT-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Used for storing IoT-data in Integrated Smart Systems (ISS) module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages