questions.yaml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  1. groups:
  2. - name: Zigbee2MQTT Configuration
  3. description: Configure Zigbee2MQTT
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Zigbee2MQTT
  6. - name: Network Configuration
  7. description: Configure Network for Zigbee2MQTT
  8. - name: Storage Configuration
  9. description: Configure Storage for Zigbee2MQTT
  10. - name: Labels Configuration
  11. description: Configure Labels for Zigbee2MQTT
  12. - name: Resources Configuration
  13. description: Configure Resources for Zigbee2MQTT
  14. questions:
  15. - variable: TZ
  16. group: Zigbee2MQTT Configuration
  17. label: Timezone
  18. schema:
  19. type: string
  20. default: Etc/UTC
  21. required: true
  22. $ref:
  23. - definitions/timezone
  24. - variable: zigbee2mqtt
  25. label: ""
  26. group: Zigbee2MQTT Configuration
  27. schema:
  28. type: dict
  29. attrs:
  30. - variable: mqtt
  31. label: MQTT Configuration
  32. description: Configure MQTT for Zigbee2MQTT.
  33. schema:
  34. type: dict
  35. attrs:
  36. - variable: topic
  37. label: Topic
  38. description: The MQTT topic to use for Zigbee2MQTT.
  39. schema:
  40. type: string
  41. required: true
  42. - variable: server
  43. label: Server
  44. description: |
  45. The MQTT server to use for Zigbee2MQTT.</br>
  46. Example: mqtt://server.ip:1883
  47. schema:
  48. type: string
  49. required: true
  50. - variable: user
  51. label: User
  52. description: The MQTT user to use for Zigbee2MQTT.
  53. schema:
  54. type: string
  55. required: true
  56. - variable: password
  57. label: Password
  58. description: The MQTT password to use for Zigbee2MQTT.
  59. schema:
  60. type: string
  61. required: true
  62. private: true
  63. - variable: serial
  64. label: Serial Configuration
  65. description: Configure Serial for Zigbee2MQTT.
  66. schema:
  67. type: dict
  68. attrs:
  69. - variable: port
  70. label: Port
  71. description: |
  72. The serial port to use.</br>
  73. Examples: </br>
  74. - `/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0` </br>
  75. - `tcp://192.168.1.100:6638`
  76. schema:
  77. type: string
  78. required: true
  79. default: ""
  80. - variable: adapter
  81. label: Adapter
  82. description: The serial adapter type.
  83. schema:
  84. type: string
  85. required: true
  86. default: ""
  87. enum:
  88. - value: "zstack"
  89. description: zstack
  90. - value: "deconz"
  91. description: deconz
  92. - value: "ember"
  93. description: ember
  94. - value: "zigate"
  95. description: zigate
  96. - value: ""
  97. description: "None"
  98. - variable: additional_envs
  99. label: Additional Environment Variables
  100. schema:
  101. type: list
  102. default: []
  103. items:
  104. - variable: env
  105. label: Environment Variable
  106. schema:
  107. type: dict
  108. attrs:
  109. - variable: name
  110. label: Name
  111. schema:
  112. type: string
  113. required: true
  114. - variable: value
  115. label: Value
  116. schema:
  117. type: string
  118. - variable: run_as
  119. label: ""
  120. group: User and Group Configuration
  121. schema:
  122. type: dict
  123. attrs:
  124. - variable: user
  125. label: User ID
  126. description: The user id that Zigbee2MQTT files will be owned by.
  127. schema:
  128. type: int
  129. min: 568
  130. default: 568
  131. required: true
  132. - variable: group
  133. label: Group ID
  134. description: The group id that Zigbee2MQTT files will be owned by.
  135. schema:
  136. type: int
  137. min: 568
  138. default: 568
  139. required: true
  140. - variable: network
  141. label: ""
  142. group: Network Configuration
  143. schema:
  144. type: dict
  145. attrs:
  146. - variable: web_port
  147. label: WebUI Port
  148. schema:
  149. type: dict
  150. attrs:
  151. - variable: bind_mode
  152. label: Port Bind Mode
  153. description: |
  154. The port bind mode.</br>
  155. - Publish: The port will be published on the host for external access.</br>
  156. - Expose: The port will be exposed for inter-container communication.</br>
  157. - None: The port will not be exposed or published.</br>
  158. Note: If the Dockerfile defines an EXPOSE directive,
  159. the port will still be exposed for inter-container communication regardless of this setting.
  160. schema:
  161. type: string
  162. default: "published"
  163. enum:
  164. - value: "published"
  165. description: Publish port on the host for external access
  166. - value: "exposed"
  167. description: Expose port for inter-container communication
  168. - value: ""
  169. description: None
  170. - variable: port_number
  171. label: Port Number
  172. schema:
  173. type: int
  174. default: 30065
  175. min: 1
  176. max: 65535
  177. required: true
  178. - variable: host_ips
  179. label: Host IPs
  180. description: IPs on the host to bind this port
  181. schema:
  182. type: list
  183. show_if: [["bind_mode", "=", "published"]]
  184. default: []
  185. items:
  186. - variable: host_ip
  187. label: Host IP
  188. schema:
  189. type: string
  190. required: true
  191. $ref:
  192. - definitions/node_bind_ip
  193. - variable: host_network
  194. label: Host Network
  195. description: |
  196. Bind to the host network. It's recommended to keep this disabled.
  197. schema:
  198. type: boolean
  199. default: false
  200. - variable: storage
  201. label: ""
  202. group: Storage Configuration
  203. schema:
  204. type: dict
  205. attrs:
  206. - variable: data
  207. label: Zigbee2MQTT Data Storage
  208. description: The path to store Zigbee2MQTT Data.
  209. schema:
  210. type: dict
  211. attrs:
  212. - variable: type
  213. label: Type
  214. description: |
  215. ixVolume: Is dataset created automatically by the system.</br>
  216. Host Path: Is a path that already exists on the system.
  217. schema:
  218. type: string
  219. required: true
  220. default: "ix_volume"
  221. enum:
  222. - value: "host_path"
  223. description: Host Path (Path that already exists on the system)
  224. - value: "ix_volume"
  225. description: ixVolume (Dataset created automatically by the system)
  226. - variable: ix_volume_config
  227. label: ixVolume Configuration
  228. description: The configuration for the ixVolume dataset.
  229. schema:
  230. type: dict
  231. show_if: [["type", "=", "ix_volume"]]
  232. $ref:
  233. - "normalize/ix_volume"
  234. attrs:
  235. - variable: acl_enable
  236. label: Enable ACL
  237. description: Enable ACL for the storage.
  238. schema:
  239. type: boolean
  240. default: false
  241. - variable: dataset_name
  242. label: Dataset Name
  243. description: The name of the dataset to use for storage.
  244. schema:
  245. type: string
  246. required: true
  247. hidden: true
  248. default: "data"
  249. - variable: acl_entries
  250. label: ACL Configuration
  251. schema:
  252. type: dict
  253. show_if: [["acl_enable", "=", true]]
  254. attrs: []
  255. - variable: host_path_config
  256. label: Host Path Configuration
  257. schema:
  258. type: dict
  259. show_if: [["type", "=", "host_path"]]
  260. attrs:
  261. - variable: acl_enable
  262. label: Enable ACL
  263. description: Enable ACL for the storage.
  264. schema:
  265. type: boolean
  266. default: false
  267. - variable: acl
  268. label: ACL Configuration
  269. schema:
  270. type: dict
  271. show_if: [["acl_enable", "=", true]]
  272. attrs: []
  273. $ref:
  274. - "normalize/acl"
  275. - variable: path
  276. label: Host Path
  277. description: The host path to use for storage.
  278. schema:
  279. type: hostpath
  280. show_if: [["acl_enable", "=", false]]
  281. required: true
  282. - variable: additional_storage
  283. label: Additional Storage
  284. schema:
  285. type: list
  286. default: []
  287. items:
  288. - variable: storageEntry
  289. label: Storage Entry
  290. schema:
  291. type: dict
  292. attrs:
  293. - variable: type
  294. label: Type
  295. description: |
  296. ixVolume: Is dataset created automatically by the system.</br>
  297. Host Path: Is a path that already exists on the system.</br>
  298. SMB Share: Is a SMB share that is mounted to as a volume.
  299. schema:
  300. type: string
  301. required: true
  302. default: "ix_volume"
  303. enum:
  304. - value: "host_path"
  305. description: Host Path (Path that already exists on the system)
  306. - value: "ix_volume"
  307. description: ixVolume (Dataset created automatically by the system)
  308. - value: "cifs"
  309. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  310. - variable: read_only
  311. label: Read Only
  312. description: Mount the volume as read only.
  313. schema:
  314. type: boolean
  315. default: false
  316. - variable: mount_path
  317. label: Mount Path
  318. description: The path inside the container to mount the storage.
  319. schema:
  320. type: path
  321. required: true
  322. - variable: host_path_config
  323. label: Host Path Configuration
  324. schema:
  325. type: dict
  326. show_if: [["type", "=", "host_path"]]
  327. attrs:
  328. - variable: acl_enable
  329. label: Enable ACL
  330. description: Enable ACL for the storage.
  331. schema:
  332. type: boolean
  333. default: false
  334. - variable: acl
  335. label: ACL Configuration
  336. schema:
  337. type: dict
  338. show_if: [["acl_enable", "=", true]]
  339. attrs: []
  340. $ref:
  341. - "normalize/acl"
  342. - variable: path
  343. label: Host Path
  344. description: The host path to use for storage.
  345. schema:
  346. type: hostpath
  347. show_if: [["acl_enable", "=", false]]
  348. required: true
  349. - variable: ix_volume_config
  350. label: ixVolume Configuration
  351. description: The configuration for the ixVolume dataset.
  352. schema:
  353. type: dict
  354. show_if: [["type", "=", "ix_volume"]]
  355. $ref:
  356. - "normalize/ix_volume"
  357. attrs:
  358. - variable: acl_enable
  359. label: Enable ACL
  360. description: Enable ACL for the storage.
  361. schema:
  362. type: boolean
  363. default: false
  364. - variable: dataset_name
  365. label: Dataset Name
  366. description: The name of the dataset to use for storage.
  367. schema:
  368. type: string
  369. required: true
  370. default: "storage_entry"
  371. - variable: acl_entries
  372. label: ACL Configuration
  373. schema:
  374. type: dict
  375. show_if: [["acl_enable", "=", true]]
  376. attrs: []
  377. $ref:
  378. - "normalize/acl"
  379. - variable: cifs_config
  380. label: SMB Configuration
  381. description: The configuration for the SMB dataset.
  382. schema:
  383. type: dict
  384. show_if: [["type", "=", "cifs"]]
  385. attrs:
  386. - variable: server
  387. label: Server
  388. description: The server to mount the SMB share.
  389. schema:
  390. type: string
  391. required: true
  392. - variable: path
  393. label: Path
  394. description: The path to mount the SMB share.
  395. schema:
  396. type: string
  397. required: true
  398. - variable: username
  399. label: Username
  400. description: The username to use for the SMB share.
  401. schema:
  402. type: string
  403. required: true
  404. - variable: password
  405. label: Password
  406. description: The password to use for the SMB share.
  407. schema:
  408. type: string
  409. required: true
  410. private: true
  411. - variable: domain
  412. label: Domain
  413. description: The domain to use for the SMB share.
  414. schema:
  415. type: string
  416. - variable: labels
  417. label: ""
  418. group: Labels Configuration
  419. schema:
  420. type: list
  421. default: []
  422. items:
  423. - variable: label
  424. label: Label
  425. schema:
  426. type: dict
  427. attrs:
  428. - variable: key
  429. label: Key
  430. schema:
  431. type: string
  432. required: true
  433. - variable: value
  434. label: Value
  435. schema:
  436. type: string
  437. required: true
  438. - variable: containers
  439. label: Containers
  440. description: Containers where the label should be applied
  441. schema:
  442. type: list
  443. items:
  444. - variable: container
  445. label: Container
  446. schema:
  447. type: string
  448. required: true
  449. enum:
  450. - value: zigbee2mqtt
  451. description: zigbee2mqtt
  452. - variable: resources
  453. label: ""
  454. group: Resources Configuration
  455. schema:
  456. type: dict
  457. attrs:
  458. - variable: limits
  459. label: Limits
  460. schema:
  461. type: dict
  462. attrs:
  463. - variable: cpus
  464. label: CPUs
  465. description: CPUs limit for Zigbee2MQTT.
  466. schema:
  467. type: int
  468. default: 2
  469. required: true
  470. - variable: memory
  471. label: Memory (in MB)
  472. description: Memory limit for Zigbee2MQTT.
  473. schema:
  474. type: int
  475. default: 4096
  476. required: true