Giter Club home page Giter Club logo

house-dashboard-server's Introduction

House Dashboard Server

Server for taking various data (stored in DynamoDB currently) and making it available via an API.

Some example endpoints below - swagger is enabled for more up to date api documentation.

GET /Rainfall/{station-id}
GET /RiverLevel/{station-id}
GET /Summary
GET /Temperature/{station-id}/inside
GET /Temperature/{station-id}/outside

Deployment

Currently only hosted on a local raspi docker instance. Running with the following command as part of a manual deploy bash script.

Docker build should work now, updated raspi to buster so using the following base image mcr.microsoft.com/dotnet/sdk:5.0-buster-slim-arm32v7:

docker build . -t hds --network=host
# or for specific dockerfile...
docker build -f Dockerfile.local . -t hds --network=host

docker run --rm -it --network=host --name house-dashboard-server -v $local-credential-folder:/root/.aws/credentials:ro hds 

SEPA Station ID's

Rainfall stations

Station Name Station Id
Harperrig 15200
Whitburn 14881
Gogarbank 15196

River stations

Station Name Id
Whitburn 14881
Almondell 14869
Cragiehall 14867

house-dashboard-server's People

Contributors

alun1111 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.