Skip to content

The Ruby/Hanami application to show status and execute commands through a MQTT server.

License

Notifications You must be signed in to change notification settings

GabrielMalakias/usgard

Repository files navigation

Usgard

Travis CI

Usgard

Asgard is located in the sky and is connected to Midgard, the world of humanity, by the rainbow bridge Bifrost - Norse-Mythology.org

Overview

Usgard(Us + Asgard) is responsible for show status(like temperature, luminosity...) and execute commands (turn on the light, for example) through the Bitfrost.

Usgard architecture

Dependencies

  • Ruby(2.4.0)
  • Hanami(1.0.0-beta1)
  • Postgres(9.6)
  • Redis(3.2)
  • Docker-compose version 1.8.1(optional)

Running application

./script/server

Running tests

./script/test

Monitoring stats

docker stats --format "table {{.Container}}\t{{.Name}}\t{{.MemUsage}}\t{{.CPUPerc}}\t{{.NetIO}}\t{{.BlockIO}}"

Maintainers

Gabriel Malaquias