TX Station

by fm9000

Every signal connected to this substation will be written to a JSON file in the Factorio folder. Meant to be processed by Prometheus/Grafana.

Utilities
a month ago
2.0
20
Circuit network

g How to enable

27 days ago

I placed the structure, connected it to chests with both color wires, filled the chest, and waited several minutes, but the file is not appearing. did I miss anything?

21 days ago
(updated 21 days ago)

Right now this mod is designed to be used on a headless server and the mod only writes the json file on that server. In future releases I want to make it a proper mod setting.

If you are playing a single player game you can do a minor change to the mod yourself right now:
- Got to your mods folder and unzip the "txstation_0.0.1.zip" file in the mods folder
- Remove the zip file
- In the freshly created txstation_0.0.1 subfolder find the control.lua file
- On line 236 ( see https://github.com/fm9000/txstation/blob/main/factorio_mod/txstation_0.0.1/control.lua#L236 ) remove the last argument "0"

The line should then be helpers.write_file(filename, json .. "\n", false)

The mod is in a very rough state right now :)

New response