Backup and Restore BCS-460, BCS-462, and BCS-482 brew controller devices running 4.x firmware.
- 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.
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
- Node.js
npm installnpm run build # Build the project (compile Pug, Stylus, concat JS)
npm run watch # Watch for changes and rebuild automaticallyOr using npx directly:
npx grunt
npx grunt watchAfter building, start a local server:
npm start # Serves site/ on http://localhost:3000