-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
31 lines (23 loc) · 6.24 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
knx_project_path = "./resources/project.knxproj"
group_addresses_output_path = "./output/group_addresses.json"
telegraf_config_output_path = "./output/telegraf_config.toml"
knx_driver_dpt_types_path = "./resources/knx_driver_dpt_types.txt"
knx_service_type = "router"
knx_service_address = "224.0.23.12:3671"
dpt_subtype_default_value = "---"
# whether final telegraf config should contain missing
# dpt subtypes, if False dpt_subtype_default_value will be used
ignore_missing_dpt_subtypes = False
# example: ["1/0/1"] - will ignore one address
# example 2: ["1/"] - will ignore a group of addresses with such prefix
ignored_addresses = []
# example: ["1.001"] - will ignore one dpt type
# example 2: ["1."] - will ignore all dpt types with "1." prefix
ignored_dpt_types = []
# example: ["1.001"] - will allow one dpt type
# example 2: ["1."] - will allow all dpt types with "1." prefix
# based on https://github.com/vapourismo/knx-go/tree/master/knx/dpt
# see parse_driver_dpt_types.py
# uncomment the following line if needed
# dpt_types_whitelist = ["1.001", "1.002", "1.003", "1.004", "1.005", "1.006", "1.007", "1.008", "1.009", "1.010", "1.011", "1.012", "1.013", "1.014", "1.015", "1.016", "1.017", "1.018", "1.019", "1.021", "1.022", "1.023", "1.024", "1.100", "5.001", "5.001", "5.003", "5.003", "5.004", "5.005", "6.010", "7.001", "7.001", "7.002", "7.002", "7.003", "7.003", "7.004", "7.004", "7.005", "7.005", "7.006", "7.006", "7.007", "7.007", "7.010", "7.010", "7.011", "7.011", "7.012", "7.012", "7.013", "7.013", "9.001", "9.001", "9.002", "9.002", "9.003", "9.003", "9.004", "9.004", "9.005", "9.005", "9.006", "9.006", "9.007", "9.007", "9.008", "9.008", "9.010", "9.010", "9.011", "9.011", "9.020", "9.020", "9.021", "9.021", "9.022", "9.022", "9.023", "9.023", "9.024", "9.024", "9.025", "9.025", "9.026", "9.026", "9.027", "9.027", "9.028", "9.028", "10.001", "11.001", "12.001", "12.001", "13.001", "13.002", "13.010", "13.011", "13.012", "13.013", "13.014", "13.015", "13.016", "13.100", "14.000", "14.000", "14.001", "14.001", "14.002", "14.002", "14.003", "14.003", "14.004", "14.004", "14.005", "14.005", "14.006", "14.006", "14.007", "14.007", "14.008", "14.008", "14.009", "14.009", "14.010", "14.010", "14.011", "14.011", "14.012", "14.012", "14.013", "14.013", "14.014", "14.014", "14.015", "14.015", "14.016", "14.016", "14.017", "14.017", "14.018", "14.018", "14.019", "14.019", "14.020", "14.020", "14.021", "14.021", "14.022", "14.022", "14.023", "14.023", "14.024", "14.024", "14.025", "14.025", "14.026", "14.026", "14.027", "14.027", "14.028", "14.028", "14.029", "14.029", "14.030", "14.030", "14.031", "14.031", "14.032", "14.032", "14.033", "14.033", "14.034", "14.034", "14.035", "14.035", "14.036", "14.036", "14.037", "14.037", "14.038", "14.038", "14.039", "14.039", "14.040", "14.040", "14.041", "14.041", "14.042", "14.042", "14.043", "14.043", "14.044", "14.044", "14.045", "14.045", "14.046", "14.046", "14.047", "14.047", "14.048", "14.048", "14.049", "14.049", "14.050", "14.050", "14.051", "14.051", "14.052", "14.052", "14.053", "14.053", "14.054", "14.054", "14.055", "14.055", "14.056", "14.056", "14.057", "14.057", "14.058", "14.058", "14.059", "14.059", "14.060", "14.060", "14.061", "14.061", "14.062", "14.062", "14.063", "14.063", "14.064", "14.064", "14.065", "14.065", "14.066", "14.066", "14.067", "14.067", "14.068", "14.068", "14.069", "14.069", "14.070", "14.070", "14.071", "14.071", "14.072", "14.072", "14.073", "14.073", "14.074", "14.074", "14.075", "14.075", "14.076", "14.076", "14.077", "14.077", "14.078", "14.078", "14.079", "14.079", "16.000", "16.001", "17.001", "18.001", "20.102", "20.105", "28.001", "242.600", "251.600""1.001", "1.002", "1.003", "1.004", "1.005", "1.006", "1.007", "1.008", "1.009", "1.010", "1.011", "1.012", "1.013", "1.014", "1.015", "1.016", "1.017", "1.018", "1.019", "1.021", "1.022", "1.023", "1.024", "1.100", "5.001", "5.001", "5.003", "5.003", "5.004", "5.005", "6.010", "7.001", "7.001", "7.002", "7.002", "7.003", "7.003", "7.004", "7.004", "7.005", "7.005", "7.006", "7.006", "7.007", "7.007", "7.010", "7.010", "7.011", "7.011", "7.012", "7.012", "7.013", "7.013", "9.001", "9.001", "9.002", "9.002", "9.003", "9.003", "9.004", "9.004", "9.005", "9.005", "9.006", "9.006", "9.007", "9.007", "9.008", "9.008", "9.010", "9.010", "9.011", "9.011", "9.020", "9.020", "9.021", "9.021", "9.022", "9.022", "9.023", "9.023", "9.024", "9.024", "9.025", "9.025", "9.026", "9.026", "9.027", "9.027", "9.028", "9.028", "10.001", "11.001", "12.001", "12.001", "13.001", "13.002", "13.010", "13.011", "13.012", "13.013", "13.014", "13.015", "13.016", "13.100", "14.000", "14.000", "14.001", "14.001", "14.002", "14.002", "14.003", "14.003", "14.004", "14.004", "14.005", "14.005", "14.006", "14.006", "14.007", "14.007", "14.008", "14.008", "14.009", "14.009", "14.010", "14.010", "14.011", "14.011", "14.012", "14.012", "14.013", "14.013", "14.014", "14.014", "14.015", "14.015", "14.016", "14.016", "14.017", "14.017", "14.018", "14.018", "14.019", "14.019", "14.020", "14.020", "14.021", "14.021", "14.022", "14.022", "14.023", "14.023", "14.024", "14.024", "14.025", "14.025", "14.026", "14.026", "14.027", "14.027", "14.028", "14.028", "14.029", "14.029", "14.030", "14.030", "14.031", "14.031", "14.032", "14.032", "14.033", "14.033", "14.034", "14.034", "14.035", "14.035", "14.036", "14.036", "14.037", "14.037", "14.038", "14.038", "14.039", "14.039", "14.040", "14.040", "14.041", "14.041", "14.042", "14.042", "14.043", "14.043", "14.044", "14.044", "14.045", "14.045", "14.046", "14.046", "14.047", "14.047", "14.048", "14.048", "14.049", "14.049", "14.050", "14.050", "14.051", "14.051", "14.052", "14.052", "14.053", "14.053", "14.054", "14.054", "14.055", "14.055", "14.056", "14.056", "14.057", "14.057", "14.058", "14.058", "14.059", "14.059", "14.060", "14.060", "14.061", "14.061", "14.062", "14.062", "14.063", "14.063", "14.064", "14.064", "14.065", "14.065", "14.066", "14.066", "14.067", "14.067", "14.068", "14.068", "14.069", "14.069", "14.070", "14.070", "14.071", "14.071", "14.072", "14.072", "14.073", "14.073", "14.074", "14.074", "14.075", "14.075", "14.076", "14.076", "14.077", "14.077", "14.078", "14.078", "14.079", "14.079", "16.000", "16.001", "17.001", "18.001", "20.102", "20.105", "28.001", "242.600", "251.600"] # noqa
dpt_types_whitelist = []