The Ruby/Hanami application to show status and execute commands through a MQTT server.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
apps/web
config
db Uses uuid as entities`s identifier May 3, 2018
lib
public
script
spec
systemd
.dockerignore
.env.development
.env.test
.gitignore
.ruby-version Adds bootstrap and some pages Mar 2, 2017
.travis.yml
Dockerfile
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
anycable
config.ru
docker-compose.yml
publisher.rb
subscriber
usgard.config

README.md

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