diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -13,11 +13,12 @@ A service that makes barcode scanners available on the network for IoT use. git clone https://github.com/xengineering/iot-barcode-scanner.git cd iot-barcode-scanner sudo make install + sudo useradd -Urs /usr/bin/nologin iotbarcode ``` -2. Configure ```/etc/xengineering.eu/iot_barcode_scanner/config.json``` -3. Run ```sudo eu.xengineering.iot_barcode_scanner.scanner &``` -4. Run ```eu.xengineering.iot_barcode_scanner.transmitter &``` -5. Listen to MQTT output (e.g. with ```mosquitto_sub -h localhost -t "xengineering.eu/iot-barcode-scanner"```) +2. Configure ```/etc/iot_barcode/config.json``` +3. Run ```sudo systemctl enable --now iot-barcode-device-handler``` +4. Run ```sudo systemctl enable --now iot-barcode``` +5. Listen to MQTT output (e.g. with ```mosquitto_sub -h localhost -t "xengineering.eu/iot-barcode"```) ## Milestones @@ -27,10 +28,10 @@ A service that makes barcode scanners available on the network for IoT use. - [x] Disable scanner as regular input source and bind it only to the service - [x] Split into two executables to reduce root-priviledged code - [x] Write Makefile for easy installation +- [x] Implement systemd services +- [ ] Package it for Arch Linux - [ ] Make python package installation portable across linux distributions -- [ ] Implement systemd services - [ ] Implement auto discovery of barcode scanners -- [ ] Package it for Arch Linux ## Dependencies |