Open website to start device

Hi all!

I can start my lawnmower by opening 192.168.178.51/start and i can send it home by opening 192.168.178.51/gohome.

Whats the best way to use it with homeassistant (hassos).

Curl?
Or restful command?

Restful. The last word in the URL (start or gohome) is the payload. e.g.

rest_command:
  lawnmower_start:
    url: http://192.168.178.51
    payload: 'start'
1 Like

Thank you. I will test it.