added possibility to support several zone_groups and/or zones

This commit is contained in:
Gerhard Hoffmann 2022-06-02 17:25:16 +02:00
parent 9eae582c2c
commit 302b8769a5

View File

@ -1,8 +1,21 @@
{ {
"c0" : "config-file for update process",
"c1" : "ini-files section",
"ini" : { "ini" : {
"c2" : "location",
"szeged" : { "szeged" : {
"zg1" : {
"z1" : { "c3" : "each location can have multiple",
"c4" : "zone-groups and/or zones",
"c5" : "0-index used as size of following array",
"c6" : ".zg[0]: #n of zones_groups",
"c7" : ".zg[1].z[0]: #n of zones in zg[1]",
"c8" : ".zg[1].z[1]: zone 1 in zone_group 1",
"c9" : "-> .zg[1].z[1].opt.app.sysconfig.ISMASMgr ",
"zg" : [ 1, {
"z" : [ 1, {
"opt" : { "opt" : {
"app" : { "app" : {
"sysconfig" : { "sysconfig" : {
@ -11,26 +24,40 @@
"SystemControl" : "00000000000000000000000000000000" "SystemControl" : "00000000000000000000000000000000"
} }
} }
} }}
} ]
} }]
} }
}, },
"c10" : "conf-files section",
"conf" : { "conf" : {
"c11" : "location",
"szeged" : { "szeged" : {
"zg1" : {
"z1" : { "c12" : "each location can have multiple",
"c13" : "zone-groups and/or zones",
"c14" : "0-index used as size of following array",
"c15" : ".zg[0]: #n of zones_groups",
"c16" : ".zg[1].z[0]: #n of zones in zg[1]",
"c17" : ".zg[1].z[1]: zone 1 in zone_group 1",
"c18" : "-> .zg[1].z[1].etc.psa_config.emp ",
"zg" : [ 1, {
"z" : [ 1, {
"etc" : { "etc" : {
"psa_config" : { "psa_config" : {
"emp" : "cc9e98e2d10ac55c121079f99c673661", "emp" : "cc9e98e2d10ac55c121079f99c673661",
"printer": "461d6c1a919e06ef2e6a0ac1677dd53f", "printer": "461d6c1a919e06ef2e6a0ac1677dd53f",
"device" : "05cc52f8c4690efc0c833f5f196c74f9" "device" : "05cc52f8c4690efc0c833f5f196c74f9"
} }
} }}
} ]
} }]
} }
}, },
"c19" : "opkg-files section",
"opkg" : { "opkg" : {
"atbqt" : { "atbqt" : {
"Version" : "1.0.0-r1", "Version" : "1.0.0-r1",