Skip to content

Update index.js#1

Open
MrsDelish wants to merge 1 commit into
visurel:masterfrom
MrsDelish:patch-1
Open

Update index.js#1
MrsDelish wants to merge 1 commit into
visurel:masterfrom
MrsDelish:patch-1

Conversation

@MrsDelish

Copy link
Copy Markdown

Added support for Motion, it has a string http response for ON/Active
it is now a easy way to turn on and off motion detection.

config.json
{
"accessory": "Http",
"name": "Motion Status",
"switchHandling": "yes",
"http_method": "GET",
"on_url": "http://localhost:8082/0/detection/start",
"off_url": "http://localhost:8082/0/detection/pause",
"status_url": "http://localhost:8082/0/detection/status",
"service": "Switch",
"brightnessHandling": "no",
"brightness_url": "",
"brightnesslvl_url": "",
"sendimmediately": "",
"username" : "",
"password" : ""
}

Added support for Motion, it has a string http response for ON/Active
it is now a easy way to turn on and off motion detection.

config.json
{
        "accessory": "Http",
        "name": "Motion Status",
        "switchHandling": "yes",
        "http_method": "GET",
        "on_url":      "http://localhost:8082/0/detection/start",
        "off_url":     "http://localhost:8082/0/detection/pause",
        "status_url":  "http://localhost:8082/0/detection/status",
        "service": "Switch",
        "brightnessHandling": "no",
        "brightness_url":     "",
        "brightnesslvl_url":  "",
        "sendimmediately": "",
        "username" : "",
        "password" : ""
      }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant