Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration failing between Dasher and Homeassistant #109

Open
overkill32 opened this issue Jan 1, 2018 · 0 comments
Open

Integration failing between Dasher and Homeassistant #109

overkill32 opened this issue Jan 1, 2018 · 0 comments

Comments

@overkill32
Copy link

Hello, I am looking for another set of eyes on my configuration. Running Hass v0.60.0 and Dasher v1.4.1.

I am getting button presses just fine via Dasher, but HA doesn’t seem to like the JSON being passed through. Error message as follows:

2017-12-29 19:08:40 ERROR (MainThread) [homeassistant.core] Invalid service data for light.toggle: expected a dictionary. Got '{"entity_id": "light.fireplace_lamp"}'

My Dasher config.json file is pretty much right from the example:

{"buttons":[
  {
    "name": "Debug Dash Button",
    "address": "18:74:2e:e4:c2:c2",
    "protocol": "udp",
    "url": "http://hassbian.local:8123/api/services/light/toggle",
    "method": "POST",
    "body": "{\"entity_id\": \"light.fireplace_lamp\"}",
    "headers": {"x-ha-access": "xxxxxx"},
    "json": true,
    "interface": "wlan0"
  }
]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant