ioBroker.admin
ioBroker.admin copied to clipboard
JSON config : Add possibility to use "sendTo" for checkboxes
Is your feature request related to a problem? Please describe. Several adapter use checkboxes in there admin config which allows to enabled specific elements only available at that system or in relation to conditions (like SEQ,CoronaVirusStatistis), I would like to rebuild these adapter to use admin 5 with JSON config.
Describe the solution you'd like Currently I use javascript to retrieve objects which build the checkboxes, so I need a Dynamic way to remove/add values to checkboxes instead of the current static one (preferable by just sending the data as JSON by messaging equal to selectSendto
Describe alternatives you've considered I don't see an alternative as the current json config does only allow static checkboxes, would like to make them dynamic
example to use: CoronaVirus statistics:

How it is stored?
"native": {
"Algeria": true,
"Bahrain": false,
....
}
Or as array?
@DutchmanNL If you will not provide me a use-case, I will not be able to implement it. Kind of select with multiple choice?
What about such a selection?
Already implemented in 6.0.8
What about such a selection?
perfect would work fine for me! Can imagine if we have a lot of attributes (like I corona statistics) its getting a little hard but that are exceptions in generic I like this multiple drop down!
regarding the previous questions
SEQ is using an object structure
"native": {
"silly": true,
"debug": true,
"info": true,
"warn": true,
"error": true,
"url": "https://seq.drozmotix.eu",
"port": "443",
"apiKey": "6\u0015\u0007~:\nQTYZ&3%yus\u001drnV",
"template": "{Source}: {Message}",
"systemName": "HomeMaster",
"allLogs": false,
"admin.0": false,
"admin.1": false,
"alexa2.0": false,
"backitup.0": false,
"calendar.0": false,
"chromecast.0": false,
"cloud.0": false,
},
Corona-virus statistics as array, so I think there is no generic way for all adapter can always be a mix
"allGermanyFederalStates": [
""
],
"allGermanyCities": [
""
],
"allGermanyCounties": [
""
],
"selectedGermanyFederalStates": [],
"selectedGermanyCities": [],
"selectedGermanyCounties": []
Already implemented in 6.0.8