tasmota / decode-config

Backup/restore and decode configuration tool for Tasmota
GNU Lesser General Public License v3.0
211 stars 32 forks source link

Managing multiple devices #56

Closed pgorod closed 1 year ago

pgorod commented 1 year ago

Hi. This is a semi-philosophical speculative rambling to see what others are doing / what others think.

I have just started using decode-config to configure 130 Shelly Plug S devices that are part of a solution to reduce energy spending in the heating of building. The plugs are glued to electrical heaters and limit their schedules.

Any way, speaking in generic terms and thinking of every decode-config user out there, how can we use decode-config in a practical way for a number of devices, not just one?

The Unix way: each tool does only its own thing

So, this is a nice school of thought. We leave decode-config to do its job of communicating with a single device, and then use other tools like bash script to discover and iterate devices and call decode-config over and over.

Advantages:

Disadvantages:

The user-friendly way, enhancing functionality

Some options can be added to decode-config, or a separate tool config-manager is devised, allowing:

Thoughts?

I'd love to hear what @curzon01 and others think of this. And also possibly other ideas you have, how have you been solving this sort of problems which are probably common to many of us?

I guess I'm just trying to stay with the simplicity of the command-line and avoiding home automation servers...

Thanks!