Greetings Pioneers! I got my local dedicated server stats added to Home Assistant and wanted to share if anyone else is interested. First off the API documentation can be found at “steamapps/common/Satisfactory/CommunityResources/DedicatedServerAPIDocs.md” or [here thanks to redditor /u/suudo](https://gist.github.com/alyssadev/5148f83d68d3702aabf6819bf5514b83). I generated an API token by opening the game client, clicking Server Manager > Console and entering the command `server.GenerateAPIToken` and added the following code block below to my configuration.yaml file. NOTE: I assume this goes without saying, but just wanted to note that you need to input your own server IP at YOUR_DEDICATED_SERVER_IP and input your own API token at YOUR_TOKEN in my example below. If there’s more you want to see please consult the documentation I’ve linked above. NOTE: I specified a unique_id for each sensor so they are customizable in the UI - this can be literally anything as long as it’s unique. ``` rest: - scan_interval: 60 method: POST resource: "https://YOUR_DEDICATED_SERVER_IP:7777/api/v1" verify_ssl: false headers: Authorization: Bearer YOUR_TOKEN Content-Type: "application/json" payload: '{ "function": "QueryServerState" }' sensor: - name: "Satisfactory Connected Players" value_template: "{{ value_json.data.serverGameState.numConnectedPlayers | int }}" unique_id: 63628608-0139-40f0-b163-d2534d17ca78 unit_of_measurement: "Players" - name: "Satisfactory Tech Tier" value_template: "{{ value_json.data.serverGameState.techTier | int }}" unique_id: 63628608-0139-40f0-b163-d2534d17ca79 - name: "Satisfactory Average Tick Rate" value_template: "{{ value_json.data.serverGameState.averageTickRate | float | round(1) }}" unique_id: 63628608-0139-40f0-b163-d2534d17ca7a unit_of_measurement: "Ticks/s" - name: "Satisfactory Active Session Name" value_template: "{{ value_json.data.serverGameState.activeSessionName }}" unique_id: 63628608-0139-40f0-b163-d2534d17ca7b - name: "Satisfactory Total Game Duration" value_template: "{{ (value_json.data.serverGameState.totalGameDuration | int) // 3600 }}" unique_id: 63628608-0139-40f0-b163-d2534d17ca7c device_class: "duration" unit_of_measurement: "hours" ```
ReducedArc 2mo ago • 100%
ReducedArc 2mo ago • 100%
You doing alright? I hope you're around for longer than that
ReducedArc 2mo ago • 100%
Things like turning off wifi and/or turning on airplane mode can make a big difference (when you're not needing connectivity of course) The cell modem can really eat away battery life if you have a poor signal. And for my pixel tablet, turning off wifi means the battery can last for a couple weeks instead of a couple days. Heck, turning it off if you won't be using it for more than a few hours can help too.
ReducedArc 3mo ago • 81%
She could have, like, opened the door..
ReducedArc 3mo ago • 100%
Hah that very well could be!
ReducedArc 3mo ago • 100%
There's some kind of bird in the Faroe Islands that sounds exactly like this toy. I couldn't figure out what it was but I could hear it above me while hiking, it was delightfully bizarre
ReducedArc 5mo ago • 100%
Definitely, I would be shocked if there's more than a pound of copper in that camera assembly. It's all low voltage electronics.
ReducedArc 5mo ago • 100%
Hell yeah! If only I had cartoon network ..
ReducedArc 7mo ago • 100%
Oh man, the first time I heard this was when I was a teen playing some kind of adult flash game where you have to sell drugs to collect nude pics or something where this song was on repeat haha. I rediscovered this song/group years later in college and been a fan ever since
ReducedArc 9mo ago • 100%
With the 2 largest utilities being investor owned, their top priority is to show YoY growth to their shareholders. Due to the nature of being a public utility having competition isn't really feasible so customers are stuck dealing with being 2nd priority at best. That sucks
ReducedArc 9mo ago • 100%
What a cool feature!
ReducedArc 10mo ago • 62%
While I don't like the monstrous vehicles the US produces either, that's very irrelevant to this discussion
ReducedArc 10mo ago • 100%
Same, we're ones of dozens I'm sure but I've been running a mix of WD greens and Seagate barracudas in a hardware RAID5 array for over a decade. Only had 2 drive failures over the entire time with no data loss. But yeah... would advise against that if possible
ReducedArc 10mo ago • 100%
Wyze users: first time?
ReducedArc 10mo ago • 100%
Very true, could also try drying the filament as well.
ReducedArc 1y ago • 100%
I work at a fortune 500 company that's doing all sorts of things to reduce costs. One of those things was taking down all the clocks. So now we just have off-white-yellow circles near the ceilings throughout the office.
ReducedArc 1y ago • 100%
Hey I've been there! Múlafossur is just so so beautiful. It was my first time seeing puffins and I'll never forget it!
ReducedArc 1y ago • 100%
I struggle with progressing through Amnesia. It's such a cool game with an intriguing story but when I really get into it, it disturbs me to the core lol
ReducedArc 1y ago • 100%
Yeah I feel like posts have a better chance of surviving and having more visibility here.