Skip to content

Implementation

The architectural system at Theatre NOVA is entirely home-grown by Jade. This is a first implementation of a reliable and portable system that can benefit small-time theatres or designers in unique and temporary performance spaces. It has been documented here for the benefit of troubleshooting the system at Theatre NOVA when some use case is inevitably not thought of or as yet implemented.

Hardware

The majority of the mission-critical software is running a Raspberry Pi 4 4GB with a 64GB SD card. Located in the booth and just next to the Console monitor, it is connected to two networks: the lighting network, through the built-in ethernet port, and to the Theatre NOVA staff network, through a USB ethernet adapter.

Communication with all outlets is over a ZBT-2 connected to a USB-2 port on the raspberry pi.

The outlets themselves are IKEA INSPELNING smart outlets, but as those are no longer produced, the secondary brand is NOUS smart outlets. The IKEA ones are preferred usage for the Stage Lighting rig, as they are more reliable and have a stronger signal, plus it is more difficult to reset them (requires an inset button to be pressed rather than simply holding the control button for 5 seconds).

An old Dell Optiplex which provides the web server, external dashboards and automations for the light switches runs on a different machine, also connected to both lighting and staff networks. This computer is at the bottom of the booth and is always turned on.

Each device (Optiplex and Raspberry Pi) has an independent connection to the internet for allowing remote control, and can function just fine internally in the event of a network outage.

Software

The Raspberry Pi is running several services to communicate with both the lighting network and the Zigbee network.

  • Mosquitto, as an MQTT broker
  • Open Lighting Architecture (ola)
  • zigbee2mqtt (Z2M)
  • OliveTin (for local control)

The Optiplex is running

  • proxmox
    • Home Assistant
    • node-red

Both the raspberry pi and Optiplex are running tailscale and cloudflared tunnel nodes, for remote access and to securely share the web dashboards and other diagnostic pages with the various show staff at Theatre NOVA.

Button Stations

IKEA Somrig and Rodret remotes comprise the majority of the button stations around the theatre. A few Aqara switches and philips hue green power switches fill in the gaps.

Touchscreens

Two miscellaneous legacy tablets reflashed with linux are running a kiosk web portal which provides direct access to Home Assistant.

Additional details

This section will be expanded in the future. It exists now as documentation for the installer.

Raspberry Pi

auth: melody-auth to oauth2-proxy instances on raspberry pi. Cannot restrict emails on melody-auth at this point in time.

HA is on arch-controller. Raspberry pi runs mosquitto, zigbee2mqtt (8080), ola (9090), and olivetin (deprecated, but 1337)

These are exposed using a single cloudflared tunnel using multiplexing, installed as a system service. Three systemctl services exist for an instance of oauth2-proxy per service, which simply redirects to melody-auth. Melody-auth is located at login.mapletwine.com, admin dash at auth-admin.mapletwine.com which automatically requests google login, and has password login disabled. This doesn't stop new users from signing up, so oauth2-proxy has a list of emails which is shared between all three instances. This list is stored on the raspberry pi and must be updated with each user who needs the ability to log in. These must be google accounts.

Optiplex

Located on the floor underneath the sound system amp.

Proxmox node: 10.10.1.63/24 port 8006

HA: on tailscale. cloudflared tunnel to nova-dash.mapletwine.dev

Backs up Home assistant to Cloudflare R2