Rest not working

Hi
I’m getting following error

2019-05-20 17:54:27 ERROR (MainThread) [homeassistant.components.rest.switch] Can’t turn on https://rest.address. Is resource/endpoint offline?

Although when I visit the https://rest.address address I get the current response.

  - platform: rest
name: actron
resource: https://rest.address
body_on: '{ "DA":{"amOn":true} }'
body_off: '{ "DA":{"amOn":false} }'
headers:
  Content-Type: application/json

Not sure what went wrong, it used to work before, but not after the upgrade of HA.

any tips or help ? please

Howdy, I’ve got an add-on for actron if you’re interested. https://blog.mikejmcguire.com/2018/12/19/actronconnect-and-home-assistant/

Hi Mike,
I read your guide and look promising, however I got my HA setup as docker, so how easy to setup your addon using the docker installation?

You could just docker pull the image from the hub and then run it yourself. You just need to mount a directory that has an options.json file in with the appropriate structure, and ensure the container has port 80 being exposed as 80. Example docker compose and options.json files are available in github. You’ll also need to update the docker compose file with the appropriate CPU architecture - i.e. the image of hass-actron-amd64, or hass-actron-armhf etc.