Skip to content

nakov/TemperatureServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temperature Server

Very simple IoT server for educational purposes.

  • Collects temperatures through HTTP POST endpoint.
  • Visualizes all collected temperatures, with auto-refresh once per second.
  • No authentication, no database -> everyone can write, data is lost at server restart.
  • Provides a simple API to view / add temperatures.

Live Demo

View temperatures Web user interface: https://temperature-server.nakov.repl.co

image

API endpoint to view the last added temperature:

GET https://temperature-server.nakov.repl.co/api/temperatures/last

image

API endpoint to add (collect) new temperature measurement:

POST /api/temperatures/add HTTP/1.1
Host: temperature-server.nakov.repl.co
Content-Type: application/x-www-form-urlencoded
Content-Length: 4

t=25

image

About

Very simple IoT server for colleting temperatures

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors