Skip to content

morganofslo/bcs-backup

 
 

Repository files navigation

bcs-backup

Backup and Restore BCS-460, BCS-462, and BCS-482 brew controller devices running 4.x firmware.

Usage Notes

  • This utility must be run locally (not from a hosted HTTPS site like github pages) to communicate with your BCS device over HTTP.
  • Authentication must be disabled on your BCS device for this utility to work. The browser's CORS restrictions prevent authenticated requests from working properly.
  • After backup/restore, you can re-enable authentication on your BCS.

Architecture

This is a static web application that communicates directly with BCS brewery controllers via their REST API.

resources/
├── js/index.js      # Main application logic (backup/restore)
├── pug/             # Pug templates → compiled to HTML
└── stylus/          # Stylus styles → compiled to CSS
vendor/
└── js/FileSaver.js  # Third-party library for file downloads
site/                # Build output (static site)

The application uses:

  • Pug for HTML templating
  • Stylus for CSS preprocessing
  • jQuery for DOM manipulation
  • Async.js for managing sequential API calls
  • BCS library (loaded externally) for device communication

Building and Running Locally

Prerequisites

  • Node.js

Setup

npm install

Development

npm run build   # Build the project (compile Pug, Stylus, concat JS)
npm run watch   # Watch for changes and rebuild automatically

Or using npx directly:

npx grunt
npx grunt watch

Serving Locally

After building, start a local server:

npm start       # Serves site/ on http://localhost:3000

Screenshot

BCS Backup Utility

About

Backup and Restore configurations on defunct BCS-460, BCS-462, and BCS-482 brewery controller devices from embedded control concepts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 80.2%
  • Pug 15.7%
  • Stylus 4.1%