Fix email address in LICENSE
Add quit option to fzf
Change figlet header
┬ ┬┌─┐┌─┐┌┬┐┌─┐┌─┐┌─┐┌┬┐ A fzf wrapper to get
└┬┘│ ││ │ │ ││ ┬├┤ │ data from Yoctopuce
┴ └─┘└─┘ ┴ └─┘└─┘└─┘ ┴ VirtualHub for Web
yoctoget
is a simple fzf
wrapper written in Bash for the YSensor
binary from Yoctopuce's command line API (and only that binary, for now) to ease retrieving in batch the data from remote VirtualHub for Web instances. It allows storing URLs to VirtualHub for Web instances already used in the past to quickly select from them upon the next execution. Although not recommended, the user can store their favourite VirtualHub for Web instance password in secret.conf
.
yoctoget
is an unofficial script, unaffiliated to Yoctopuce SARL, and comes with no warranty on your sensors data.
YSensor
(either downloaded from yoctopuce.com or, for apt-based distributions, from the Yoctopuce APT repository)fzf
awk
pv
The YSensor
binary should be in your $PATH
(typically ~/.local/bin/
or /usr/bin/
), else yoctoget
will not find it.
Just make the script executable (chmod +x /path/to/yoctoget
), then run it with sh /path/to/yoctoget
, ./yoctoget
, or /path/to/./yoctoget
and follow the instructions.
Downloaded data will be stored in data/<instancename>/
subdirectories, like so:
data
├── bob001
│ ├── THRMCPL1-249936.temperature1_(THRMCPL1-249936.Some_custom_name)_all.csv
│ ├── THRMCPL1-249936.temperature2_(THRMCPL1-249936.Some_other_name)_all.csv
│ ├── THRMSTR1-213825.temperature1_(bob-thermistor.Blah_blah)_all.csv
│ ├── THRMSTR1-213825.temperature2_(bob-thermistor.This_is_thermistor2)_all.csv
│ ├── THRMSTR1-213825.temperature3_(bob-thermistor.This_is_thermistor3)_all.csv
│ ├── THRMSTR1-213825.temperature4_(bob-thermistor.This_is_thermistor4)_all.csv
│ ├── THRMSTR1-213825.temperature5_(bob-thermistor.This_is_thermistor5)_all.csv
│ └── THRMSTR1-213825.temperature6_(bob-thermistor.This_is_thermistor6)_all.csv
└── alice001
├── METEOMK2-1C33B6.humidity_(ymeteo.humidity)_from_2023-06-02.csv
├── METEOMK2-1C33B6.pressure_(ymeteo.pressure)_from_2023-06-02.csv
├── METEOMK2-1C33B6.temperature_(ymeteo.temperature)_from_2023-06-02.csv
├── METEOMK2-235AE5.humidity_from_2023-06-02.csv
├── METEOMK2-235AE5.pressure_from_2023-06-02.csv
├── METEOMK2-235AE5.temperature_from_2023-06-02.csv
├── THRMSTR1-1F81F1.temperature1_from_2023-06-02.csv
├── THRMSTR1-1F81F1.temperature2_from_2023-06-02.csv
├── THRMSTR1-1F81F1.temperature3_from_2023-06-02.csv
├── THRMSTR1-1F81F1.temperature4_from_2023-06-02.csv
├── THRMSTR1-1F81F1.temperature5_from_2023-06-02.csv
└── THRMSTR1-1F81F1.temperature6_from_2023-06-02.csv
3 directories, 20 files