Skip to content

DataRecovery node#5

Open
eschava wants to merge 1 commit intoBelphemur:masterfrom
eschava:master
Open

DataRecovery node#5
eschava wants to merge 1 commit intoBelphemur:masterfrom
eschava:master

Conversation

@eschava
Copy link
Copy Markdown

@eschava eschava commented Jun 30, 2017

New type of node combining DataIn and DataOut nodes and used to recovery node state on startup

@Belphemur
Copy link
Copy Markdown
Owner

Hello,

Can you describe in detail and with an example how you use this node ?

@eschava
Copy link
Copy Markdown
Author

eschava commented Jul 13, 2017

I need it to persist value of some parameter and restore it on startup
Actually, it's a pair of DataIn/DataOut nodes having same data path and initiated recovery on startup

E.g. to restore the latest value of dashboard switch I use:

[{"id":"8fe0367.8c3ecc8","type":"DataRecovery","z":"7d4b5f0a.6383c","collection":"fdac088a.008348","name":"","path":"/switch","error":false,"x":536.0000076293945,"y":652.0000171661377,"wires":[["851a5a9b.da70c8"]]},{"id":"851a5a9b.da70c8","type":"ui_switch","z":"7d4b5f0a.6383c","name":"","label":"switch","group":"df1f60c8.3d4dc","order":0,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":519.37890625,"y":733.6953125,"wires":[["8fe0367.8c3ecc8","d84ec4b4.c436e8"]]},{"id":"d84ec4b4.c436e8","type":"debug","z":"7d4b5f0a.6383c","name":"","active":true,"console":"false","complete":"false","x":718.3828125,"y":730.453125,"wires":[]},{"id":"fdac088a.008348","type":"json-db-collection","z":"","name":"test","collection":"test","save":true},{"id":"df1f60c8.3d4dc","type":"ui_group","z":"","name":"Default","tab":"10b63539.57807b","disp":true,"width":"6"},{"id":"10b63539.57807b","type":"ui_tab","z":"","name":"Home","icon":"dashboard"}]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants