version = "1.0"; agent: { common: { log_level = 1; }; devices: { dht: { i2c: { path = "/dev/i2c-1"; addr = 0x76; }; }; tvoc: { i2c: { path = "/dev/i2c-1"; addr = 0x5a; }; nwake_pin: { path = "/dev/gpiochip0"; line = 6; }; }; lcd: { spi: { path = "/dev/spidev0.1"; clock_speed = 24000000; }; dc_pin: { path = "/dev/gpiochip0"; line = 24; }; reset_pin: { path = "/dev/gpiochip0"; line = 23; }; backlight_pin: { path = "/dev/gpiochip0"; line = 12; }; }; stick: { up: { path = "/dev/gpiochip2"; line = 1; }; down: { path = "/dev/gpiochip2"; line = 3; }; left: { path = "/dev/gpiochip2"; line = 2; }; right: { path = "/dev/gpiochip2"; line = 4; }; push: { path = "/dev/gpiochip2"; line = 0; }; }; }; libraries: { lvgl: { fs_base = "lvgl_fs"; logging_enabled = false; }; mqtt: { server: { host = "127.0.0.1"; port = 1883; keepalive = 30; topic = "test_topic"; }; client: { id_prefix = "SA_"; username = "test_account"; password = "test_password"; }; tls: { enabled = true; psk = ""; ca_file = ""; # Either ca_file or ca_path must not be null. ca_path = "/etc/ca-certificates"; client_cert_file = ""; client_key_file = ""; }; }; }; theme: { background = "A:images/background.bin"; }; };