I’m using the aREST library on a Feather M0 with variables and functions.
Works great when accessing the urls in the browser, but I get an error in hass.
configuration.yaml
- platform: arest
resource: http://birdhouse.local
name: Birdhouse
functions:
nightlight:
name: Night Light
readinglight:
name: Reading Light
http://birdhouse.local/ returns
{"variables": {"noise": 117, "motion": 1}, "id": "birdho", "name": "birdhouse", "hardware": "arduino", "connected": true}
http://birdhouse.local/nightlight?params=1 turns the light on, and returns
{"return_value": 1, "id": "birdho", "name": "birdhouse", "hardware": "arduino", "connected": true}
Everything seems to be in order, yet when hass starts, I get an error
ERROR (SyncWorker_7) [homeassistant.components.switch.arest] No route to device at http://birdhouse.local
Does anyone have a remedy, path to finding a solution?
Thanks in advance!