What is wrong with this module.json
Posted: 29 Mar 2015 18:06
I have started a new module on the basis of an existing. The module is visible under Devices (create device) with the correct module description. Unfortunately in the next step after selecting the module and setting the name I expected to come to the module configuration settings. But there it just stops and hangs. No configuration interface fields to be filled in step 3.
Probably something stupid again, but I still don't see it after looking off an on for a couple of days. (Developers Manual does not yet have the info to double check my config either)
module.json
Probably something stupid again, but I still don't see it after looking off an on for a couple of days. (Developers Manual does not yet have the info to double check my config either)
module.json
Code: Select all
{
"dependencies" : [],
"singleton" : false,
"category" : "devices",
"author" : "author",
"homepage" : "",
"icon" : "",
"version" : "0.0.2",
"maturity" : "beta",
"repository" : {
"type" : "",
"source" : ""
},
"defaults" : {
"title" : "SolQoS",
"description" : "Combine several sensors into one variable",
"polling" : ""
},
"schema" : {
"type" : "object",
"properties" : {
"polling" : {
"type" : "select",
"required" : true
},
"iconpath" : {
"type" : "string",
"required" : true
},
"pvlogger1" : {
"type" : "string",
"required" : true
},
"pvlogger2" : {
"type" : "string",
"required" : true
}
},
"required" : true
},
"options" : {
"fields" : {
"polling" : {
"label" : "polling (minutes)",
"placeholder" : "5"
},
"iconpath" : {
"label" : "IconPath",
"placeholder" : "htdocs/user"
},
"pvlogger1" : {
"label" : "PVlogger a",
"placeholder" : "PVLogger_1",
"helper" : "Supply base name (e.g. PVLogger_24) for first logger as can be found under preferences/widgets"
},
"pvlogger2" : {
"label" : "pvlogger b",
"placeholder" : "PVLogger_2",
"helper" : "Supply base name (e.g. PVLogger_25) for second logger as can be found under preferences/widgets"
}
}
}
}