Skip to content

raumzeitlabor/mqtt-control-map

 
 

Repository files navigation

MQTT Control Map

Local Development / Configuration

  • run yarn to install all dependencies.
  • for local development issue an export NODE_OPTIONS=--openssl-legacy-providerfor webpack to work
  • run yarn watch CONFIG to run a local build server that automatically builds your the mqtt control map for the given CONFIG everytime something changes.
  • run yarn dev CONFIG to create just a single build of the mqtt control map for the given config.
  • run yarn build CONFIG to generate all files for production use.

Production Deployment

  1. Commit your changes into the repository https://github.com/raumzeitlabor/mqtt-control-map
  2. Login into apfelkirsch.raumzeitlabor.de
  3. Change /etc/nixos/config/web/mqtt-control-map-rzl.nix
    • Update the variable rev and hash to the values you get from the command nix-shell -p nix-prefetch-github --run 'nix-prefetch-github raumzeitlabor mqtt-control-map'.
      $ nix-shell -p nix-prefetch-github --run 'nix-prefetch-github raumzeitlabor mqtt-control-map'
      {
          "owner": "raumzeitlabor",
          "repo": "mqtt-control-map",
          "rev": "fb8ffc992727f21929cd77a54460bae06236c28c",
          "hash": "sha256-aj84C04oYqO3Ho7NOcB8JuDOJ9wFruQaTusiHElBl0Q="
      }
      
  4. Rebuild the system by using nixos-rebuild switch

Documentation

The documentation can be found in our mqtt-control-map wiki.

About

Highly configurable MQTT map interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.7%
  • Io 3.9%
  • Other 0.4%