Lawo / ember-plus

Ember+ control protocol - Slick and free for all!
https://github.com/Lawo/ember-plus/wiki
Boost Software License 1.0
110 stars 41 forks source link

EmberPlusView: possibility to traverse full tree automatically #60

Open Vasilich opened 7 years ago

Vasilich commented 7 years ago

Feature request: Traverse complete Ember tree for attached device with one click. This can be very convenient when the access to the scanned device is limited, so it could be possible to scan complete device, save results into *.EmBER file, that can later be loaded into TinyEmberPlus to simulate the device locally. Right now i use small script for AutoIt (on WIndows), writtem by me, to scan full tree automatically, but it would be nice to have it built-in :)

Priority: Low

danjford commented 6 years ago

Hi @Vasilich,

Does your script also create the full .Ember file from the device? If it does, is it available anywhere please?

We are also finding that it would be useful to be able to scan the full tree and have it in an Ember file for use in TinyEmberPlus.

Thanks!

Vasilich commented 6 years ago

Hi @danjford here is my AutoIt3 script (i am using Windows): ScanEmberPlusViewTree.zip

You can compile it in an executable (or use precompiled exe file from the archive) to be able to use it on PCs without having to have AutoIt installed. Desctiption: This script tries to scan the first node in EmberPlusView. The setting "Auto GetDirectory" should be checked, "Enquire" should have value "All". It will stop after scanning 10000 nodes, or after EmberPlusView window will loose its focus, so - do not switch to other windows/apps during the scan! After scan finishes, you can select first node and save/export it either as EmBER file or as XML file. I recommend first to start EmverPlusView, configure the settings, add proper IP address:port, close the app, and then start the app ScanEmberPlusViewTree.exe (it must be located in same folder with EmberPlusView.exe).

danjford commented 6 years ago

Thanks @Vasilich, that works great!