I would find it very useful if I could clone a DashBoard configuration to a new DB configuration. I can easily copy the JSON text to a new file, but then I am still left with manually adding all the devices from the master DB to a new one. Does that make sense? Any ideas?
My use/case is that I have 25 tiles on one dashboard with 5 items on each tile. So that is a minimum of 125 devices referenced/defined in the dashboard configuration. I like to make periodic backups where possible. In the case of dashboards it's a snap to copy the json text. The problem is always printing or making a list of the devices referenced in the dashboard config.
I have multiple dashboards with similar tiles/devices. Maybe this is a foolish request as I haven't received any response or suggestions.
Maybe I am the one not getting it, but wouldn't the existing hub backups do this without any new feature? Don't they back up both the dashboard code AND the associated devices? Granted you cannot individually back things up, but if the hub crashes, you probably will be wanting more than just a dashboard backup anyway.
I have never experimented with it. What is not captured in the JSON?
I'm going to guess you are correct. Never thought of that. Thanks for pointing that out.
The list if devices used by the tile. If you create a new dashboard and paste in the json file you would need to pick the devices for the dashboard. I assume clicking include all devices is still not a good choice.
If that is what you are looking for, the existing backup works. I've installed a backup on a new hub and the dashboards worked. Cloning is more difficult. I think what is not captured in the JSON is the devices picked for inclusion. They are listed in a couple of places and in a couple of ways but it would still take some work to recreate everything.
We were typing at the same time. I understand what you are saying. I don't know of an easy way to do that. I don't know of a way to batch enable a list of devices for a dashboard. Someone in another thread had asked about the idea of having a retroactive device enable - so you build the dashboard, include the devices you want, and hit a button to create the included (or excluded) device list. If that feature were available it would pretty much take care of your requirement.
I think it would at that.
I have spent a lot of time building my dashboards and would like to avoid the need to do it again. When my dashboards didn't involve so many devices it was easy to make a back up. I imagine that a HUB restore would bring back my dashboards intact and that may be my only option for now.
I thank all of you for your comments. Great group here.