LiliyGo-HiGrow-Sensor/build/gen/mgos_config_schema.json

102 lines
7.0 KiB
JSON

[
["device", "o", {"title": "Device settings"}],
["device.id", "s", {"title": "Device ID"}],
["device.password", "s", {"title": "Device password"}],
["debug", "o", {"title": "Debug Settings"}],
["debug.udp_log_addr", "s", {"title": "Send logs to this ip:port (UDP)"}],
["debug.level", "i", {"title": "Level", "type": "select", "values": [{"title": "NONE", "value": -1}, {"title": "ERROR", "value": 0}, {"title": "WARN", "value": 1}, {"title": "INFO", "value": 2}, {"title": "DEBUG", "value": 3}, {"title": "VERBOSE_DEBUG", "value": 4}]}],
["debug.filter", "s", {"title": "Log filter against source file name or function name. Comma separated list of prefix match glob patterns, e.g. *mqtt*,mgos_wifi"}],
["debug.stdout_uart", "i", {"title": "STDOUT UART (-1 to disable)"}],
["debug.stderr_uart", "i", {"title": "STDERR UART (-1 to disable)"}],
["debug.factory_reset_gpio", "i", {"title": "Factory reset GPIO (low on boot)"}],
["debug.mg_mgr_hexdump_file", "s", {"title": "File name to hexdump network traffic to. Use '-' for stdout, '--' for stderr."}],
["debug.mbedtls_level", "i", {"title": "mbedTLS debug level"}],
["sys", "o", {"title": "System settings"}],
["sys.mount", "o", {"title": "Extra filesystem to mount"}],
["sys.mount.path", "s", {"title": "Mount point"}],
["sys.mount.dev_type", "s", {"title": "Storage device type"}],
["sys.mount.dev_opts", "s", {"title": "Storage device options"}],
["sys.mount.fs_type", "s", {"title": "Filesystem type"}],
["sys.mount.fs_opts", "s", {"title": "Filesystem options"}],
["sys.tz_spec", "s", {"title": "See formats for the TZ env var: \"man tzset\". Formats like \":/path/to/file\" are not supported"}],
["sys.wdt_timeout", "i", {"title": "Watchdog timeout (seconds)"}],
["sys.pref_ota_lib", "s", {"title": "Preferred ota lib, e.g. dash, ota-http-client"}],
["sys.esp32_adc_vref", "i", {"title": "ADC Vref, in mV"}],
["conf_acl", "s", {"title": "Conf ACL"}],
["bt", "o", {"title": "Bluetooth settings"}],
["bt.enable", "b", {"title": "Enable BT"}],
["bt.dev_name", "s", {"title": "Device name; defaults to device.id"}],
["bt.adv_enable", "b", {"title": "Advertise services"}],
["bt.scan_rsp_data_hex", "s", {"title": "Scan response data, hex-encoded"}],
["bt.keep_enabled", "b", {"title": "By default, BT will be disabled once WiFi is configured and connects. Set this to true to keep BT enabled."}],
["bt.allow_pairing", "b", {"title": "Allow pairing/bonding with other devices"}],
["bt.max_paired_devices", "i", {"title": "Max number of paired devices; -1 - no limit"}],
["bt.random_address", "b", {"title": "Use random BT address"}],
["bt.gatts", "o", {"title": "GATTS settings"}],
["bt.gatts.min_sec_level", "i", {"title": "0 - no auth required, 1 - encryption reqd, 2 - encryption + MITM reqd"}],
["bt.gatts.require_pairing", "b", {"title": "Require device to be paired before accessing services"}],
["bt.config_svc_enable", "b", {"title": "Enable the config service"}],
["mjs", "o", {"title": "mJS settings"}],
["mjs.generate_jsc", "b", {"title": "Generate .jsc file when executing any .js file"}],
["rpc", "o", {"title": "RPC settings"}],
["rpc.enable", "b", {"title": "Enable RPC"}],
["rpc.max_frame_size", "i", {"title": "Max Frame Size"}],
["rpc.max_queue_length", "i", {"title": "Max Queue Length"}],
["rpc.default_out_channel_idle_close_timeout", "i", {"title": "Default idle close timeout for outbound channels"}],
["rpc.acl_file", "s", {"title": "File with RPC ACL JSON"}],
["rpc.auth_domain", "s", {"title": "Realm to use for digest authentication"}],
["rpc.auth_file", "s", {"title": "File with user credentials in the htdigest format"}],
["rpc.ws", "o", {"title": "RPC over WebSocket settings"}],
["rpc.ws.enable", "b", {"title": "Enable RPC over WebSocket"}],
["rpc.ws.server_address", "s", {"title": "Cloud server address"}],
["rpc.ws.reconnect_interval_min", "i", {"title": "Minimal reconnect interval"}],
["rpc.ws.reconnect_interval_max", "i", {"title": "Maximal reconnect interval"}],
["rpc.ws.ssl_server_name", "s", {"title": "TLS Server Name"}],
["rpc.ws.ssl_ca_file", "s", {"title": "TLS CA file"}],
["rpc.ws.ssl_client_cert_file", "s", {"title": "TLS client cert file"}],
["rpc.uart", "o", {"title": "RPC-over-UART settings"}],
["rpc.uart.uart_no", "i", {"title": "UART number (-1 to disable)"}],
["rpc.uart.baud_rate", "i", {"title": "Baud rate"}],
["rpc.uart.fc_type", "i", {"title": "Flow control: 0 - none, 1 - CTS/RTS, 2 - XON/XOFF"}],
["rpc.uart.wait_for_start_frame", "b", {"title": "Wait for an incoming frame before using the channel"}],
["wifi", "o", {"hide": true}],
["wifi.sta", "o", {"title": "WiFi Station"}],
["wifi.sta.enable", "b", {"title": "Connect to existing WiFi"}],
["wifi.sta.ssid", "s", {"title": "SSID"}],
["wifi.sta.pass", "s", {"title": "Password", "type": "password"}],
["wifi.sta.user", "s", {"title": "Username for WPA-PEAP mode"}],
["wifi.sta.anon_identity", "s", {"title": "Anonymous identity for WPA mode"}],
["wifi.sta.cert", "s", {"title": "Client certificate for WPA-TTLS mode"}],
["wifi.sta.key", "s", {"title": "Client key for WPA-TTLS mode"}],
["wifi.sta.ca_cert", "s", {"title": "CA certificate for WPA-enterprise mode"}],
["wifi.sta.ip", "s", {"title": "Static IP Address"}],
["wifi.sta.netmask", "s", {"title": "Static Netmask"}],
["wifi.sta.gw", "s", {"title": "Static Default Gateway"}],
["wifi.sta.nameserver", "s", {"title": "DNS Server"}],
["wifi.sta.dhcp_hostname", "s", {"title": "Host name to include in DHCP requests"}],
["wifi.ap", "o", {"title": "WiFi Access Point"}],
["wifi.ap.enable", "b", {"title": "Enable"}],
["wifi.ap.ssid", "s", {"title": "SSID"}],
["wifi.ap.pass", "s", {"title": "Password", "type": "password"}],
["wifi.ap.hidden", "b", {"title": "Hide SSID"}],
["wifi.ap.channel", "i", {"title": "Channel"}],
["wifi.ap.max_connections", "i", {"title": "Max connections"}],
["wifi.ap.ip", "s", {"title": "IP address"}],
["wifi.ap.netmask", "s", {"title": "Network Mask"}],
["wifi.ap.gw", "s", {"title": "Default Gateway"}],
["wifi.ap.dhcp_start", "s", {"title": "DHCP Start Address"}],
["wifi.ap.dhcp_end", "s", {"title": "DHCP End Address"}],
["wifi.ap.trigger_on_gpio", "i", {"title": "Trigger AP on low GPIO"}],
["wifi.ap.disable_after", "i", {"title": "If > 0, will disable itself after the specified number of seconds"}],
["wifi.ap.hostname", "s", {"title": "If not empty, DNS server will resolve given host name to the IP address of AP"}],
["wifi.ap.keep_enabled", "b", {"title": "Keep AP enabled when station is on"}],
["higrow", "o", {"title": "LilyGo HiGrow ESP32 Plant Sensor App Settings"}],
["higrow.deviceId", "s", {"title": "DeviceId"}],
["higrow.temperature", "d", {"title": "Temperature"}],
["higrow.humidity", "d", {"title": "Humidity"}],
["higrow.light", "i", {"title": "Light"}],
["higrow.moisture", "i", {"title": "Moisture"}],
["higrow.connected", "b", {"title": "Connected"}],
["higrow.battery_calibration", "i", {"title": "Battery ADC value at 4000mV"}]
]