12 lines
359 B
YAML
12 lines
359 B
YAML
# THIS GOES INTO THE configuration.yaml of Home Assistant using e.g the Studio Code Server HA Addon
|
|
|
|
rest_command:
|
|
octoprint_connect:
|
|
url: "http://IP:PORT/api/connection"
|
|
method: POST
|
|
headers:
|
|
X-Api-Key: API_KEY
|
|
#accept: "application/json, text/html"
|
|
payload: '{"command":"connect"}'
|
|
content_type: "application/json; charset=utf-8"
|