configuring multiple devices

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
agroszer
Normal user
Posts: 28
Joined: 02 Jan 2023, 16:36

configuring multiple devices

#1 Post by agroszer » 02 Jan 2023, 16:42

Hi,

I'll have a load of ESPs (10+) soon.
I'd avoid somehow to have to configure every single one via the browser by clicking around.
Is there something out there that can do this for me?
Or even better, I'd have a sheet/file/something describing the config of each (mostly similar) ESP config and run a script that does the configuration for me?

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: configuring multiple devices

#2 Post by TD-er » 02 Jan 2023, 17:56

Of course you could copy the config files from the file system and upload them to another node.
The Settings archive feature allows to "clone" a unit by downloading the files from another node.

However these do not change the settings.

Another thing you could do, is fetch the POST from when you save some settings page.
This can then be altered and scripted using something like CURL.
Some unit specific things, like the unit-nr can be set via commands.

agroszer
Normal user
Posts: 28
Joined: 02 Jan 2023, 16:36

Re: configuring multiple devices

#3 Post by agroszer » 05 Jan 2023, 21:53


TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: configuring multiple devices

#4 Post by TD-er » 05 Jan 2023, 22:18

Hmm, if it does what I think it does, then it looks promising.
However, I don't really get the structure of the example Excel sheet.

agroszer
Normal user
Posts: 28
Joined: 02 Jan 2023, 16:36

Re: configuring multiple devices

#5 Post by agroszer » 06 Jan 2023, 20:49

Updated the sheet a bit with colors and comments. Hope that makes it a bit more clear. Feel free to ask what's not clear.

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: configuring multiple devices

#6 Post by TD-er » 06 Jan 2023, 22:44

Ah now I thing I understand.
I was thinking like one big spreadsheet, but you just define a group of nodes and some settings for that group to be applied.

agroszer
Normal user
Posts: 28
Joined: 02 Jan 2023, 16:36

Re: configuring multiple devices

#7 Post by agroszer » 08 Jan 2023, 17:00

Yes, that's how I'd handle common settings across more nodes instead of copypasting rows in the sheet.
But if you better like copypaste, you can still do that.

Next might be a script that executes actions across more nodes.

Post Reply

Who is online

Users browsing this forum: No registered users and 32 guests