Skip to content
No description, website, or topics provided.
Perl CSS HTML Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
api /api/latest Sep 28, 2019
data Basic app Sep 27, 2019
front
nginx Basic app Sep 27, 2019
.gitignore
README.md
docker-compose.yml
restart
stop Basic app Sep 27, 2019

README.md

oak-hollow

There is 2 subsystems in this repo:

  • api — it can get and store info from huminidy/temperature IOT sensords
  • frontend — web application that show graphs with humidity/temperature. It is using Cubism.js.

How to run it

  1. You need a docker on your machine
  2. Run ./restart in the working copy of this repo
  3. Send a sample metric:
curl -X POST -d '{"t": 24.30,"h": 60.80,"mac": "AA:BB:CC:00:11:22"}' http://127.0.0.1:3527/api/dot
  1. Open http://127.0.0.1:3527/ in your browser

Continue sending metrics with curl to see the data change (but instaed of curl it it intened that the IOT device is sending that data).

Screenshot

You can’t perform that action at this time.