MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "S0_GPIO_reader",
        "continue": "gapcontinue||"
    },
    "query": {
        "pages": {
            "97": {
                "pageid": 97,
                "ns": 0,
                "title": "Relative powers",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "{{TOCright}}\nIf you have for example more than one solar plant/inverter with different size/orientation, the absolute power values in watt are not so helpful for comparison.\n\nA common unit for comparison is kilo watt per kilo watt peak.\n\nSo therefor you have to transform the watt data from a power sensor into kilo watt per kilo watt peak.\n\n== Setup  ==\n\n* A power sensor (with unit watt in this example)\n* A proxy channel for calculation\n\nI use for this the [[Proxy models#Calculator|calculator]] channel type, which is meant for such a use case.\n\nTo force the proxy to make the calculation, a proper resolution must be set.\n* Inverter 1 installed power: 11.28 kilo watt peak\n* Inverter 2 installed power: 9.18 kilo watt peak\n\nTransform watt into kilo watt per kilo watt peak: [[File:FormulaRelativePower.png]]\n\n== Channel definitions ==\n\nValues for the factor attributes:\n* Inverter 1: 0.0000887\n* Inverter 2: 0.000109\n\nBuild a proper channel hierarchy:\n\n[[File:RelativePowersTree1.png]]\n\n[[File:RelativePowersTree2.png]]\n\n== Chart ==\n\nNow the channels are better comparable:\n\n[[File:RelativePowersChart.png]]\n\n[[Category:Example]]\n[[Category:Charts]]"
                    }
                ]
            },
            "254": {
                "pageid": 254,
                "ns": 0,
                "title": "Run scripts more than once per minute",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "[[Category:Scripts]][[Category:HowTo]]\nIf you run the scripts by cron, the most often frequency is once per minute.\n\nPVLng offers a wrapper script <tt>PVLng-run.sh</tt> to run commands or other scripts more than once per minute.\n\n # ./PVLng-run.sh -h\n \n Run command each given period (in seconds) for 1 minute.\n Use in cron with period * for each minute.\n \n usage: ./PVLng-run1.sh [options] -- script arg1 arg2 ...\n \n options:\n     -p, --period             Run each ? seconds for 1 minute (runs by default once) [default:60]\n     -n, --nice               Niceness range from -20 (most favorable) to 19 (least favorable) [default:10]\n     -t, --test               Test mode, set verbosity to info level [flag]\n     -v, --verbose            Verbosity, use multiple times for higher level [flag]\n     -h, --help               This usage help\n \n Don't miss the -- !\n\n'''Don't forget to divide the real script name and its parameters with the \"<tt>--</tt>\"'''\n\nI monitor my power consumption and my SMA inverters with the following cron tab entries:\n\n # Fetch plant data each 30s, run mostly during daylight times mostly\n *    4-22    *   *   *   ~/PVLng-run.sh -p 30 -- ~/SMA/Webbox.sh -s Inverters.conf\n *    4-22    *   *   *   ~/PVLng-run.sh -p 30 -- ~/SMA/Webbox.sh -s Sensorbox.conf\n \n # Fetch consumption data each 15s \n *       *    *   *   *   ~/PVLng-run.sh -p 15 -- ~/S0/S0.sh -s Consumption.conf\n\nIf you run the wrapper script in verbose test mode, it will show you only what will happen:\n\n #  ~/PVLng-run.sh -tvp 30 -- ~/SMA/Webbox.sh -s Inverters.conf\n [19:58:02.550] Period : 30\n [19:58:02.554] Command: ~/PVLng-scripts/SMA/Webbox.sh -s Inverters.conf\n [19:58:02.559] Run, 1 left ...\n [19:58:02.563] Test mode ...\n [19:58:32.572] Run, 0 left ...\n [19:58:32.576] Test mode ...\n\nFor more accuracy the wrapper script will spawn the concrete command into background, so it have not to wait for it."
                    }
                ]
            }
        }
    }
}