Skip to content
This repository has been archived by the owner. It is now read-only.

[Enhancement] [Core] Restore Flows / Devices with original GUID #1384

Closed
Dijker opened this issue Mar 21, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@Dijker
Copy link
Contributor

commented Mar 21, 2017

What is your Homey version (Settings → System)?

1.2.0.-rc8

What did you try to achieve?
Restore a device after deleting it. (or deleting all devices by accidentally removing the App. )

Please include detailed steps how we can reproduce the issue
Post [{"id":"c80161f9-34c0-45b2-bcdc-1db5927f5e18","name":"Test20170321","data":{"overridden":false,"codewheelIndexes":[2,2],"address":"0100","channel":"00","unit":"01","undef":[0,1,1],"state":0,"id":"0100:00:01","driver_id":"SUN-650"},"virtualClass":null,"virtualCapabilities":["windowcoverings_state"],"driver":{"uri":"homey:app:nl.klikaanklikuit","id":"SUN-650"},"zone":"9919ee1e-ffbc-480b-bc4b-77fb047e9e68"}]
to
api/manager/devices/device

What was the result?

{"status":200,"result":[{"err":null,"result":{"id":"2594ad16-7074-407a-96f8-bfac3391164d","name":"Test20170321".....

so effectively I get an new Device with a New GUID ...

What did you expect as result?

An Error or a device with the requested ID ;-)

Any other remarks
Homey Generates new IDs,
For backup and restore of flows and devices WORKING it would be nice to define the GUID's
Like the Data / Address / CodeWheels Homey should Check for duplicates but this would help to restore a part of the devices and flows that would work

fe all KAKU, HomeEasy, ans many other devices work after re-creating them

@WeeJeWel

This comment has been minimized.

Copy link
Contributor

commented Mar 23, 2017

This will most likely never happen. We are thinking about backup functionality ourselves though.

@WeeJeWel WeeJeWel closed this Mar 23, 2017

@Dijker

This comment has been minimized.

Copy link
Contributor Author

commented Mar 23, 2017

This makes the opinion of Athom maybe clear :-(

@WeeJeWel

This comment has been minimized.

Copy link
Contributor

commented Mar 23, 2017

What do you mean, exactly? Our opinion is to keep things simple for 99% of the users :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.