You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try now for days to get my intents like HassTurnOn, HassTurnOff and HassLightSet to work but without any solution. I already posted in the Rhasspy forum but didn't get any answer until now. The only intent that works is HassGetTemperature. Here the speech set in the configuration.yaml is play correctly in German. But the other mentioned are ignored by Rhasspy and always in English though I set all to German.
Here my intents/homeassistant.ini:
[HassTurnOn]
lights = $hass/entities,light
switches = $hass/entities,switch
entities = <lights> | <switches>
schalte (<entities>){name} ein
[HassTurnOff]
schalte [die|das] (<HassTurnOn.entities>){name} aus
[HassLightSet]
farbe von (<HassTurnOn.lights>){name} auf ($hass/colors){color}
helligkeit von (<HassTurnOn.lights>){name} auf (0..100){brightness}
helligkeit von (<HassTurnOn.lights>){name} auf (0..100){brightness} prozent
[HassGetTemperature]
wie ist [die] temperatur von ($hass/rooms){name}
temperatur von ($hass/rooms){name}
My configuration.yaml:
# Loads default set of integrations. Do not remove.
default_config:
# Text to speech
tts:
# - platform: google_translate
- platform: picotts
language: "de-DE"
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
#Home Assistant Rhasspy Custom intent (for configuration.yaml):
intent:
intent_script:
HassGetTemperature:
speech:
text: "Die Temperatur von {{ area_name('sensor.' + name) }} ist {{ states('sensor.' + name) }} grad celsius."
HassTurnOn:
speech:
text: "{{ name }} wurde eingeschaltet."
HassTurnOff:
speech:
text: "{{ name }} wurde ausgeschaltet."
HassLightSet:
speech:
text: "Ausgeführt!"
GetTime:
speech:
text: "Es ist {{ now().hour }} Uhr {{ now().minute }}."
The first intent (2022-08-20 14:21:05,544) was a HassGetTemperature that fired correctly. But the second that turned on my floor lamp (Stehlampe), the speech in the configuration.yaml is ignored every time.
I already crawled through the internet but didn't find any useful. It's a bug or do I have some to do additionally? GetTime works also correctly.
Hi guys!
I try now for days to get my intents like
HassTurnOn
,HassTurnOff
andHassLightSet
to work but without any solution. I already posted in the Rhasspy forum but didn't get any answer until now. The only intent that works isHassGetTemperature
. Here the speech set in theconfiguration.yaml
is play correctly in German. But the other mentioned are ignored by Rhasspy and always in English though I set all to German.Here my
intents/homeassistant.ini
:My
configuration.yaml
:Here a log of Rhasspy:
The first intent (2022-08-20 14:21:05,544) was a
HassGetTemperature
that fired correctly. But the second that turned on my floor lamp (Stehlampe), the speech in theconfiguration.yaml
is ignored every time.I already crawled through the internet but didn't find any useful. It's a bug or do I have some to do additionally?
GetTime
works also correctly.At least my systeminfo:
System Information
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
The text was updated successfully, but these errors were encountered: