EDIT- This is solved. Turned out I had a “fancy” quote mark in the json payload…how do these things even happen, lol?
I set up a IFTTT recipe to turn on a scene called ‘bedtime’ via Google Assistant/Maker that makes a call like this:
https://example.duckdns.org:8123/api/services/scene/turn_on?api_password=password
POST
application/json
{"entity_id":"scene.bedtime”}
It worked great. I tried to setup a second recipe just like the first with a different scene ‘good_night’ but it fails every time. I get this message from the Maker channel in IFTTT: “an error with Maker prevented your Applet from working”. I tried a bunch of things like renaming the command words, changing the name of the scene, creating a new scene. I even duplicated the first applet by having it execute the same scene that works perfectly in the first one. Nothing works. Essentially, I can’t get a second Applet to work.
In home assistant logs, I’m seeing this error every time it tries to run:
17-01-25 13:42:18 aiohttp.server: Error handling request
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/deps/aiohttp/web_server.py", line 61, in handle_request
resp = yield from self._handler(request)
File "/home/homeassistant/.homeassistant/deps/aiohttp/web.py", line 249, in _handle
resp = yield from handler(request)
File "/usr/lib/python3.4/asyncio/coroutines.py", line 143, in coro
res = yield from res
File "/usr/lib/python3.4/asyncio/coroutines.py", line 143, in coro
res = yield from res
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/http/__init__.py", line 427, in handle
result = yield from result
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/api.py", line 312, in post
data = json.loads(body) if body else None
File "/usr/lib/python3.4/json/__init__.py", line 318, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.4/json/decoder.py", line 343, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.4/json/decoder.py", line 359, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Unterminated string starting at: line 1 column 14 (char 13)
Any ideas?