explaingit

sstrang/3d-synced-factorio-lab

Analysis updated 2026-07-25

5Audience · generalComplexity · 4/5Setup · hard

TLDR

A 3D-printed Factorio lab model with real LED lights that sync to your gameplay. When you do research in-game, the physical model's lights match the science pack colors in real time.

Mindmap

mindmap
  root((repo))
    What it does
      3D printed lab model
      Syncs LEDs to gameplay
      Mirrors Disco Science mod
    Tech stack
      ESP32 and WLED
      Home Assistant
      MQTT broker
      Factorio mod
    Use cases
      Flash lights on death
      Announce rocket launches
      Sync research colors
    Setup needs
      Factorio 2.0 or 2.1
      3D printed model
      Raspberry Pi or PC
    Audience
      Smart home tinkerers
      Factorio fans

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Build a 3D-printed lab model whose LEDs sync to Factorio research progress.

USE CASE 2

Flash your house lights red when a player dies in Factorio.

USE CASE 3

Announce rocket launches through smart speakers using in-game events.

USE CASE 4

Trigger any smart home automation based on Factorio game activity.

What is it built with?

FactorioESP32WLEDHome AssistantMQTTLua

How does it compare?

sstrang/3d-synced-factorio-lab00kaku/wp-rest-playground1ncendium/aibuster
Stars555
LanguageJavaScriptPython
Setup difficultyhardhardmoderate
Complexity4/53/53/5
Audiencegeneraldeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Requires 3D printing, an ESP32 microcontroller, an MQTT broker, Home Assistant, and Factorio with a custom mod all configured to work together.

The explanation does not mention a license for this project.

In plain English

{"i":42,"repo":"sstrang/3d-synced-factorio-lab","stars":5,"lang":"unknown","ok":true,"char_count":1812,"text":"This project is a physical, 3D-printed model of a research laboratory from the game Factorio. The model contains real LED lights that sync to what happens in your game. When you start research in Factorio, the lights on the model flicker and cycle through the colors of the science packs your game is consuming. When the research finishes, the light flashes white once. If you cancel the research, the light turns off. It mirrors the behavior of a popular game mod called Disco Science, but brings that effect into the real world with physical hardware.\n\nThe system works through a chain of several connected pieces. First, a custom Factorio mod called Events Logger writes each in-game event to a file on your computer as it happens. A separate program called the MQTT Bridge watches that file and sends each event to an MQTT broker, which is a kind of message relay. From there, a smart home platform called Home Assistant receives the messages and triggers an automation that controls the LED strip inside the 3D-printed model. The LEDs themselves are driven by WLED, an open-source firmware running on a small ESP32 microcontroller.\n\nThe Events Logger mod records far more than just research events. It logs player joins, chat messages, deaths, rocket launches, and other game activity. Once these events flow into Home Assistant, you can use them for any smart home automation you want. The README suggests examples like flashing your house lights red when a player dies or announcing rocket launches through smart speakers. The synced lab is just one possible use of the broader pipeline.\n\nSetting up the project requires several components working together. You need Factorio version 2.0 or 2.1 with the Events Logger mod installed, a 3D-printed lab model with an addressable LED strip, an ESP32 running WLED, an MQTT broker such as Mosquitto, and Home Assistant configured to receive the events. You also need a machine to run the MQTT Bridge program, which could be the same computer running Factorio or a small device like a Raspberry Pi. The README credits the original 3D model creator, the Events Logger mod authors, and the Disco Science mod author whose work inspired the lighting behavior.","error":null}

Copy-paste prompts

Prompt 1
Help me set up an ESP32 with WLED to control an addressable LED strip for a 3D-printed Factorio lab model.
Prompt 2
Write a Home Assistant automation that changes LED colors based on MQTT messages from a Factorio game.
Prompt 3
Create a simple MQTT bridge program that reads a log file and publishes each new line as an MQTT message.
Prompt 4
Help me design a 3D-printable model of a Factorio research lab with space for an LED strip inside.

Frequently asked questions

What is 3d-synced-factorio-lab?

A 3D-printed Factorio lab model with real LED lights that sync to your gameplay. When you do research in-game, the physical model's lights match the science pack colors in real time.

What license does 3d-synced-factorio-lab use?

The explanation does not mention a license for this project.

How hard is 3d-synced-factorio-lab to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is 3d-synced-factorio-lab for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.