Curl on Motion Detection

curl -X POST \ -H "Content-Type: application/json" \ -H "x-ha-access:<redacted>" \ -d '{"topic": "camera/garage/motion", "retain": "false", "payload":"yes"}' \ https://<redacted>/api/services/mqtt/publish

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.