Replies: 4 comments 7 replies
-
This is how I do it: A bash script runs at night that scans all devices and creates a json backup with decode-config; then git runs over the directory. I can make the Linux script available as as.si. I put that in "Discussion" because I don't see such a solution as part of decode-config itself. |
Beta Was this translation helpful? Give feedback.
-
it does not what you described (that's a nice idea but dev too time consuming I currently do not have) - it simply scans IPs within my network range and brute force to run decode-config on it; as simple as possible |
Beta Was this translation helpful? Give feedback.
-
@robmwalsh did you get anything going? @curzon01 did you ever publish your script "as-is"? If so, can you please point me there. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Here are my very simple bash backup script saving json and dmp file in one call in two loops:
Script uses For better protection |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
I briefly thought I'd accidentally reset ALL of my devices - turns out the issue was that my router needed a restart phew, but this made me think it'd be a good time to backup all of my device configs, which is how (after being disappointed to learn that the config export is binary) I found this project. I'm also a big fan of version control which seems to be very lacking in the home automation space in general, but it looks like most of the parts are already here!
Describe the solution you'd like
Describe alternatives you've considered
none
Additional context
intention for this is making this work with git, allowing you to commit changes when you do something useful, checkout/roll back to a known good state when you're experimenting and break your house (or are part way though doing something but have to stop and would like everything to keep working until you get back to working on it)
Beta Was this translation helpful? Give feedback.
All reactions