This is a project consisting that uses Raspberry Pis and NodeMCUs.
I'm making it to showcase how IoT could be used around a normal office. Due to time constraints, the first version is simple enough.
Each of the components of this project has separate APIs, depending on how they can be coded.
-
/whoami - GET This is a request that returns a simple JSON:
{ "id": ID, # an integer. "type": "nodemcu" }
-
/temperature - GET
-
/humidity - GET
-
/whoami - GET
{ 'id': ID, # an integer 'type': "enviropi" }
-
/temperature - GET
-
/pressure - GET
-
/light - GET
-
/leds - POST
-
/whoami - GET
{ "id": ID, # an integer "type": "sensehat" }
-
/temperature
-
/humidity
-
/pressure
-
/show_message - POST
- /whoami
- /tempmon
- /sensehatpi
- /enviropi
- /admin