Raspberry Pi Zero W: Difference between revisions

Line 293: Line 293:


<syntaxhighlight lang="text" enclose="div">
<syntaxhighlight lang="text" enclose="div">
    {
        {
"name": "DUMMY-STATUS",
            "name": "DUMMY-STATUS",
"on_cmd": "/bin/true",
            "on_cmd": "/bin/true",
"off_cmd": "/bin/false",
            "off_cmd": "/bin/false",
"state_cmd": "/usr/local/bin/status-toggle.sh",
            "state_cmd": "/usr/local/bin/status-toggle.sh",
"polling": true,
            "polling": true,
"interval": 60
            "interval": 60
    }
        }
</syntaxhighlight>
</syntaxhighlight>