This repository provides a simple CLI for monitoring and controlling a cryomech compressor via serial connection
- Install https://github.com/jbreck1987/cryomech_api
- Install https://github.com/jbreck1987/smdp
- Connect to the compressor via serial (currently DB9 to USB) and identify port number
git clone https://github.com/MazinLab/cryomech_driver
cd cryomech_driver
cargo check
cargo build --release
echo 'alias cryomech="~/cryomech_driver/target/release/cryomech_driver"' >> ~/.bashrc
source ~/.bashrc
cryomech --help yields a list of all options with usage examples
cryomech pressures yields all pressures
cryomech temperatures yields all temperatures
cryomech stop turns off the compressor
There is also functionality for continuous monitoring and quickly changing the network connectivity settings