Hello, I run a couple Minecraft servers for friends and I have a lantern I 3D printed and made into an esphome light. Currently I use a couple automation setup so that whenever the player number changes on any of the servers it checks to see if any server has more than 0 players and if so it turns the lamp on, if not it turns the lamp off. Is there a simple way to set this up as sort of a template so that I don’t have to edit the automations whenever I add or remove a server?
#Help with creating automation
1 messages · Page 1 of 1 (latest)
so your entities of the the server data reports a "number of players online"?
you can create a group helper -> sensor -> type "Sum" then add your players online entities.
this way when you add a server you add it to the group and the the helper will be a "total players online on all servers"
Then you can automate on that.
Sometimes we all just need a nudge in the right direction.
Wow autocorrect