Create your own Escape Room control software - Part 1 (Patreon)
Content
Hi folks!
So, as teased over the last few weeks, here's the first of a new series of tutorial videos demonstrating how I've created a ER control system based on Node-RED (https://nodered.org/). Now, some of you probably know of several existing commercial ER software systems already out there (M3, ERM, ClueControl, Houdini etc.), so why did I create another one rather than use one of those? Well, it's...
Free and open source - Completely free to download and use.
Robust - The Node-RED framework on which its based was originally developed by IBM, and now supported by the OpenJS Foundation. It is being used by tens of thousands of users across the world, and is actively maintained and developed.
Flexible - The system is completely customisable and extendable, so you never have to worry about having your imagination limited by your control software. Want to make a game that streams live video? Adjust hue lightbulbs or DMX spotlights? Integrate with a social media feed? No problem - there's a node for that.
Supports a wide range of platforms - The server can be run on Windows, Linux, or Raspberry Pi. Individual prop controllers can be based on Raspberry Pi, any model of Arduino, ESP32, ESP8266, Teensy, and many more. Devices may be connected via ethernet, Wi-Fi, serial connection, and messages transferred via JSON, CSV, binary, or simple text.
In this first video, I'll cover how to download and install Node-RED itself, and then create a general ER "game flow" workflow, which can update a timer displayed on both a GM dashboard and a HTML/CSS-styled in-room player display. I'll also show how that same timer flow can send a message via an HTTP GET request to a WeMos D1 mini device which sets the time on a clock using a dual-shaft stepper motor. I'll also create link nodes for other types of triggered events - such as events that occur when the timer reaches a certain value, or an event with a random chance of occurring based on a set probability. I'll demonstrate how these events can trigger different sorts of hardware in later videos in this series.
As explained later in the video, Node RED has a neat system of allowing you to import/export node whole flows, or just snippets, and one of the things I'd like to do with this project is to create a "recipe book" of snippets for various common ER use-cases. I haven't quite worked out where/how to host that yet. What I'd really like is to have some sort of collaborative public wiki so that you can all share flows that you've created too, which you think might help other folk out. As soon as I've got that up and running, you'll be the first to know. In the meantime, download and start playing, and let me know what you think!
00:00 - 02:05 Intro and Demonstration
02:06 - 05:48 Installation of Node.JS and Node-RED
05:49 - 07:21 The Node-RED interface
07:22 - 13:19 Creating a Game Flow - declaring global variables
13:20 - 21:04 Creating a Game Flow - maintaining a game timer
21:05 - 31:00 Adding a simple GM dashboard timer with buttons and text node
31:01 - 36:50 Adding a fancy in-room timer display with HTML and CSS in a template node
36:51 - 46:52 Exposing link nodes to allow actions to be triggered by common game events
46:53 - 50:30 Controlling a clock prop running on WeMos D1 mini using HTTP GET request
50:31 - 52:50 Importing and exporting Node RED flows
52:51 - 53:30 Wrap-up