VRDeviceMonitor
Jump to navigation
Jump to search
Install VRDeviceMonitor on Device (FIDO only) - VRPackager Method (preferred)[edit | edit source]
Copy over vrdevicemonitor package[edit | edit source]
wget http://downloads.ventureresearch.com/VRReader/packages/vrdevicemonitor-2657.vrpkg.tar.gz -O /tmp/vrdevicemonitor-2657.vrpkg.tar.gz
Install vrpkg[edit | edit source]
vrpackager install /tmp/vrdevicemonitor-2657.vrpkg.tar.gz
Install VRDeviceMonitor on Device (FIDO only) - Manual Method[edit | edit source]
Install python3 on the reader[edit | edit source]
opkg install python3 python3-modules python3-pyvenv subversion
Create python3 venv[edit | edit source]
Next, create a venv for running the software. Read about virtualenv: https://virtualenv.pypa.io/en/stable/
cd /home/root/ pyvenv-3.5 venv source venv/bin/activate
Install dependencies[edit | edit source]
pip install toml pip install marshmallow pip install aiohttp pip install protobuf pip install requests pip install http://readonly:secret@svn.crm.ventureresearch.com/svn/linux/src/vrreader-api-py3/dist/VRReaderAPI-1.0.1-py3-none-any.whl
Check out source code[edit | edit source]
cd /opt/ svn co http://svn.crm.ventureresearch.com/svn/linux/py3apps/vrdevicemonitor cd vrdevicemonitor cp config.toml-release config.toml
Install systemd startup script[edit | edit source]
cp /opt/vrdevicemonitor/vrdevicemonitor.service /lib/systemd/system/vrdevicemonitor.service systemctl daemon-reload systemctl enable vrdevicemonitor systemctl start vrdevicemonitor