Set USB Capture via curl / JSON

  • I'm using home assistant to run some automations which include my hyperion "ambilight" setup.


    I've found it more reliable to send a curl command from home assistant to set different effects through automations rather than calling service.light or any other way witht eh gui. Not sure why, but the curl commands work 100% of the time, while calling the service is buggy.


    Currently playing an effect using the following curl command:

    Code
      hyperion_doorbell_lights: curl "http://[IP ADDRESS]:[PORT]/json-rpc" -X POST -d "{\"command\":\"effect\", \"effect\":{\"name\":\"Doorbell\"}, \"duration\":5000, \"priority\":1, \"origin\":\"Hyperion JSON\"}"


    How can I set hyperion back to USB capture using a curl command?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!