Skip to content

DMX over Internet, with no need for open incoming ports or a VPN (using Firebase as a secure bridge)

Notifications You must be signed in to change notification settings

gobo-ws/FireDMXbase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

FireDMXbase – DMX over Internet

This solution allows you to control DMX lighting remotely by using Firebase as a secure bridge, with no need for open incoming ports or a VPN.


Prerequisites

  • Two devices (e.g., Raspberry Pi), one acting as the sender and one as the receiver

  • Internet access with outbound HTTPS (port 443), which is typically open on most networks

  • Node-RED installed on both devices

  • @gogovega/node-red-contrib-firebase-realtime-database installed on both devices

  • OLA installed on both devices, with at least one active and configured DMX universe on each device (both sender and receiver)

  • FireDMXbase Node-RED flow imported into Node-RED


Installation

1. Create a Firebase Account

  • Go to Firebase and sign up for a free account.
  • The Spark Plan is free and sufficient for most small projects.

2. Create a Realtime Database

  • In the Firebase Console, create a new project.
  • Navigate to Build → Realtime Database and create a new database instance.

3. Enable Anonymous Authentication

  • In the Firebase Console, go to Build → Authentication → Sign-in method.
  • Enable Anonymous Authentication.
  • Note your API key (found in your project settings) for use in your application.

4. Set Up Firebase Security Rules

  • In the Firebase Console, go to Build → Realtime Database → Rules.

  • Set your security rules. For example:

    {
      "rules": {
        ".read": true,           // Anyone can read
        ".write": "auth != null" // Only authenticated users can write
      }
    }

    This allows public read access, but restricts write access to authenticated users.


5. Set Up the Node-RED Flow

  • Install the sender part of the Node-RED flow on the sending device and the receiver part on the receiving device.
  • Edit the Firebase settings, the OLA IP/hostname and the universe in the flow as needed.

Limitations

  • Latency: This solution relies on cloud communication, which introduces some latency compared to direct DMX or local network protocols. While it is suitable for remote control, it may not be ideal for time-critical or high-frequency DMX applications.
  • Internet Dependency: Both sender and receiver devices require a stable Internet connection at all times.
  • Firebase Free Tier Limits: The free Spark Plan has limits on the number of simultaneous connections, data throughput and write operations per day. For larger or more demanding installations, consider upgrading to a paid plan.

About

DMX over Internet, with no need for open incoming ports or a VPN (using Firebase as a secure bridge)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published