#Help with creating automation

1 messages · Page 1 of 1 (latest)

bleak oasis
#

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?

cerulean barn
bleak oasis
#

Yes

#

This is one I’m working on adding right now

cerulean barn
# bleak oasis Yes

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.

bleak oasis
#

In hindsight that’s a really simple way of doing it

#

I feel like an odor

#

Idiot*

cerulean barn
bleak oasis
#

Wow autocorrect