One of them was even from the Virgin Media user group.
It’s a bit of a long thread, so you’ll have to do some digging. But I skipped to the end where one of the users was saying that they “wished VM support could have told them that” so I think they figured it out.
Thanks for this but these guys couldn’t forward their ports in general. My issue is to forward a port to another port. I will have to speak to my ISP I guess.
thanks for this. Works just asome on my alexa.
I’ve a little problem with the alexa_confirm.yaml
Mine is looking like this:
>
{{ [
"ok",
"wie du wünscht",
"alles klar",
"sofort",
"wird erledigt",
"wenn du meinst",
"natürlich",
"erledigt",
"Kein Problem",
"mach ich",
"klaro",
"ey ey kaptain"
] | random }}
if i remove the indentations HA won’t start with Log-Entry:
17-01-31 22:05:49 ERROR (Thread-1) [homeassistant.util.yaml] expected '<document start>', but found '{'
in "/home/hass/.homeassistant/alexa_confirm.yaml", line 2, column 1
With indentations everything is working fine, but alexa only respones with a different command after restarting HA.
If i check in the Templatesection it change the response everytime.
same issue, the list would only randomize once. At the time I responded to that thread, I was on .35 and not having the issue (at least I don’t think I was!) But now, on .37, it looks like the random filter is broken.
I’m trying this on my current setup but somehow its not working. I see the following error
WARNING:homeassistant.components.alexa:Received unknown intent ActivateSceneIntent
my alexa.yaml has the following config:
ActivateSceneIntent:
action:
service: scene.turn_on
data_template:
entity_id: scene.{{ Scene | replace(" ", “_”) }}
speech:
type: plaintext
text: OK
my scenes.yaml
name: TV
entities:
switch.living_room_tv:
state: on
Have you checked home-assistant.log for errors? If this is your first Alexa intent, it could be that you haven’t set it up correctly - in that case, it wouldn’t be available to HA.
Try posting using preformatted text to see if we can spot an issue.
And be sure that you’ve included that alexa.yaml in your main config (I know - basic - but it happens)
Hi,
I’m loosing somewhere and I don’t know where. alexa: intents: ActivateSceneIntent: action: service: scene.turn_on data_template: entity_id: scene.{{ Scene | replace(" ", "_") }} speech: type: plaintext text: OK
When I ask Alexa she say hello but HASS error:
17-04-11 14:54:18 ERROR (MainThread) [homeassistant.core] Invalid service data for scene.turn_on: Entity ID scene. is an invalid entity id for dictionary value @ data[‘entity_id’]. Got ‘scene.’
Looks like a problem with the template but I don’t know where.
same here, i dont get an error though. i just get: 17-04-12 22:59:00 INFO (MainThread) [homeassistant.components.http] Serving /api/alexa to xx.xx.xx.xx (auth: True) in the log.
anything changed recently? i also dont get confirmation from alexa and it looks like this from the amazon developer console:
{
“version”: “1.0”,
“response”: {
“shouldEndSession”: true
},
“sessionAttributes”: {}
}
I really missed my random playlists. I have random music start my day as an alarm and I wanted the randomness back, so I thought I’d do some spelunking.
Since range still produced random numbers, I experimented with using that. Then I hit the Jinja docs to figure out the syntax for getting the length of a list…
hi, I was trying custom command to use with Alexa. It works when I try to test in Service Simulator you can find screenshot below. even it responds success command when I when I speak to Alexa “ask home assistant to turn on ac” but it does not trigger script. someone, please help me
alexa:
intents:
WhereAreWeIntent:
speech:
type: plaintext
text: >
{%- if is_state('device_tracker.ashu_ashu', 'home') and
is_state('device_tracker.afu_afu', 'home') -%}
You are both home, you silly
{%- else -%}
Afu is at {{ states("device_tracker.afu_afu") }}
and Ashu is at {{ states("device_tracker.ashu_ashu") }}
{% endif %}
LocateIntent:
action:
service: notify.notify
data_template:
message: The location of {{ User }} has been queried via Alexa.
speech:
type: plaintext
text: >
{%- for state in states.device_tracker -%}
{%- if state.name.lower() == User.lower() -%}
{{ state.name }} is at {{ state.state }}
{%- elif loop.last -%}
I am sorry, I do not know where {{ User }} is.
{%- endif -%}
{%- else -%}
Sorry, I don't have any trackers registered.
{%- endfor -%}
card:
type: simple
title: Sample title
content: Some more content
RunScriptIntent:
action:
service: script.turn_on
data_template:
entity_id: script.{{ Script | replace(" ", "_") }}
speech:
type: plaintext
text: !include alexa_confirm.yaml
I think that sample utterance might be your issue. I’m not sure that Alexa can extract {Script}ekn and just return the “Script” part of the phrase. I bet you’re not getting a value for Script that you expect. Perhaps do something where you can see the actual text value of Script, like create a notification.
In your home-assistant.log, you’ve likely got errors telling you that the script that it attempted to run does not exist.