So with this game being so addictive and with a good factory it may require some afk time.. it got me thinking.
I have a lot of home automation setup and would love to see factorio publish the chat log or activity / achievements to an MQTT server. That way I can then do things like get a push notification when someone logs in, or change an RGB strip to red when I'm logged in and biters attack - helpful for atmosphere and if I'm afk. I'd use node red to process the chat feed into actions. Like match * logged in and then send a push notification including the name.
I'd see it as an optional few lines of config when setting up a server only. As it's output only it shouldnt require much troubleshooting and you can set a last will and testament to help monitor if the server goes offline for any reason.
Tldr; add MQTT publish support for headless server so we can do stuff with the data outside the game.
External notifications / home automation integration
Moderator: ickputzdirwech
- SuperSandro2000
- Filter Inserter
- Posts: 742
- Joined: Sun Jan 12, 2014 3:54 am
- Contact:
Re: External notifications / home automation integration
Just analyze the log data....
Please call me simply Sandro.
My Main Mods: Sandro's fixes, Expanded Rocket Payloads Touched by an AngelBob and more can be found here
My Main Mods: Sandro's fixes, Expanded Rocket Payloads Touched by an AngelBob and more can be found here
Re: External notifications / home automation integration
This type of thing should be a mod imo, not a base game feature. I am not aware of any mods that do this currently but it shouldnt be too difficult to make
Re: External notifications / home automation integration
Sounds absolutely awesome!
But it is definitely something that a mod could do and not really on Wube to implement.
If anyone does this then please show us I want to see!
@sjp770 You have the hardware and software endpoints right? If someone made a mod like this, would you show us the results? Maybe me or someone else feels like hacking together something quick and dirty that works just to see an "interactive Factorio room" demonstration video?
But it is definitely something that a mod could do and not really on Wube to implement.
If anyone does this then please show us I want to see!
@sjp770 You have the hardware and software endpoints right? If someone made a mod like this, would you show us the results? Maybe me or someone else feels like hacking together something quick and dirty that works just to see an "interactive Factorio room" demonstration video?
My mods: Capsule Ammo | HandyHands - Automatic handcrafting | ChunkyChunks - Configurable Gridlines
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser
Re: External notifications / home automation integration
While not a native solution or not requiring an additional running process, I've developed an early mod that does this. It does require you to run a consumer process of generated json files, but it does enable you to do I think what you want. I'd really like feedback on this mod, if you please.
https://mods.factorio.com/mod/factorio2mqtt
Edit: just realized I necro'ed this post quite hard. Sorry about that, but hopefully y'all still building factories and doing home automation.
https://mods.factorio.com/mod/factorio2mqtt
Edit: just realized I necro'ed this post quite hard. Sorry about that, but hopefully y'all still building factories and doing home automation.