Skip to content

syn-inc/server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status golangci Go Report Card Maintainability codecov CII Best Practices

SYN-server

Samples of requests:

To get data

Get data request consists of two parameters, path and key, e.g. /last?id=1. Path defines period and key - sensor id. Period might be only among these values - "last", "day", "week", "month", "year".

  • last - last value
  • day - average values for each of the last 24 hours
  • week - average values for each of the last 7 days
  • month - average values for each of the last 30 days
  • year - average values for each of the last 12 months

Available sensors

ID - DECRYPTION

  • 1 - Temperature, °C
  • 2 - Humidity, %
  • 3 - Pressure, hPa
  • 5 - Amount of luminous flux, lm

About

[temporarily frozen] Server for SYN system

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors