lukasbindreiter / enternot-pi

Enternot is a home security system powered by the Raspberry PI
MIT License
0 stars 0 forks source link

Endpoint to notify the PI whether or not the user is at home #9

Closed lukasbindreiter closed 6 years ago

lukasbindreiter commented 6 years ago

The App should notify the user when the smartphone leaves home, in order to activate the push notifications

lukasbindreiter commented 6 years ago

3a415817d9b794b8aecb0f288c177b889259adbd

POST /notification-toggle

{
    "notifications": "true"
}

value for notifications can either be "true" or "false"