YIO-Remote / remote-software

💎 YIO Remote Software repository
GNU General Public License v3.0
164 stars 21 forks source link

Allow device configuration with configuration file #410

Closed zehnm closed 4 years ago

zehnm commented 4 years ago

Enhance the app and hardware configuration handling.

Expected Behavior or Design

The following features should be implemented:

Current Behavior or Design

Only a small part of the hardware devices can be configured in hardware.json. However, the devices are mostly prepared to be configured in the hardware factory. What is missing is some glue code, enhancing the configuration file and exposing missing parameters in the devices.

Possible Solution

zehnm commented 4 years ago

Enhancements are merged into develop branch and will be included in the next release.

Command line options:

mzehnder$ ./remote --help
Aufruf: ./remote [Optionen]
YIO remote app

Optionen:
  -h, --help            Zeigt diese Hilfe an.
  -v, --version         Zeigt Versionsinformation an.
  -p, --profile <NAME>  Use configuration profile.
  -c, --cfg <FILE>      Use configuration file.
  --cfg-schema <FILE>   Use configuration schema file.
  --hw-cfg <FILE>       Use hardware configuration file.
  --hw-schema <FILE>    Use hardware configuration schema file.
  --validate            Validate json configuration files and exit.

Note: German texts are default Qt strings and auto-translated based on OS country settings. The custom texts still need to be translated.