Hey romkabouter, thank you for your answer.
The scripts are the same (copied).
Here is the configuration.yaml:
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
sensor:
- platform: time_date
display_options:
- 'time'
- 'date'
- 'date_time'
- 'date_time_utc'
- 'date_time_iso'
- 'time_date'
- 'time_utc'
- 'beat'
# Text to speech
tts:
- platform: google_translate
timer:
rhasspy:
spotify:
client_id: XXX
client_secret: XXX
intent:
intent_script:
GetTime:
speech:
text: Es ist {{ states('sensor.time') }}
GetDate:
speech:
text: Es ist der {{ states('sensor.date') }}
GetTemperature:
speech:
text: Es hat {{ states('sensor.openweathermap_temperature') }} Grad, es ist {{ states('sensor.openweathermap_weather') }} mit {{ states('sensor.openweathermap_humidity') }} Prozent Luftfeuchtigkeit und der Wind weht mit {{ states('sensor.openweathermap_wind_speed') }} Metern pro Sekunde. AuĂźerdem soll es bald {{ states('sensor.openweathermap_forecast_temperature') }} Grad haben
ChangeLightState:
speech:
text: Ok.
action:
service: script.{{ ort }}_licht_{{ state }}
AddToEinkaufsliste:
speech:
text: Ok, ich habe {{ stk }} {{ gegenstand }} auf die Einkaufsliste gesetzt
action:
- service: shopping_list.add_item
data_template:
name: "{{ stk if stk != NULL else '1' }} {{ gegenstand if gegenstand != NULL else '?' }}"
SetTimer:
action:
- service: timer.start
target:
entity_id: timer.timer1
data_template:
duration: "{{ stunden if stunden != NULL else '00' }}:{{ minuten if minuten != NULL else '00'}}:{{ sekunden if sekunden != NULL else '00' }}"
speech:
text: Timer gesetzt {{ stunden if stunden != NULL }} {{ 'stunden' if stunden != NULL }} {{ minuten if minuten != NULL }} {{ 'minuten ' if minuten != NULL }} {{ sekunden if sekunden != NULL }} {{ 'sekunden' if sekunden != NULL }}
SpotifySwitchGeraet:
action:
- service: media_player.select_source
target:
entity_id: media_player.spotify
data_template:
source: "{{ geraet if geraet != NULL else 'Wohnzimmer' }}"
- service: media_player.media_play
target:
entity_id: media_player.spotify
data:
media_content_id: "https://open.spotify.com/playlist/HIDDEN"
media_content_type: playlist
SpotifyStop:
action:
- service: media_player.media_pause
target:
entity_id: media_player.spotify
SpotifyPlay:
action:
- service: media_player.media_play
target:
entity_id: media_player.spotify
data:
media_content_id: "https://open.spotify.com/playlist/...HIDDEN"
media_content_type: playlist
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
The tokens are up to date (new and the IP is correct and port is opened)
I already tried it with other tokens but the result is the same.
In the log of rhasspy everything seems ok, but the intent doesnt seem to work because nothing happens (with the new system).
Example of a command which should trigger “ChangeLightState”
[DEBUG:2021-11-16 21:32:33,440] rhasspyserver_hermes: Sent 699 char(s) to websocket
[DEBUG:2021-11-16 21:32:33,437] rhasspyserver_hermes: Handling NluIntent (topic=hermes/intent/ChangeLightState, id=3b976849-1c82-40ef-b583-3ff1423b69af)
[DEBUG:2021-11-16 21:32:33,436] rhasspyserver_hermes: <- NluIntent(input='kuche aus', intent=Intent(intent_name='ChangeLightState', confidence_score=1.0), site_id='site1', id='5dc4d9ba-f00c-4b21-816b-639254b38315', slots=[Slot(entity='Lichter', value={'kind': 'Unknown', 'value': 'kuche'}, slot_name='ort', raw_value='kĂĽche', confidence=1.0, range=SlotRange(start=0, end=5, raw_start=0, raw_end=5)), Slot(entity='state', value={'kind': 'Unknown', 'value': 'aus'}, slot_name='state', raw_value='aus', confidence=1.0, range=SlotRange(start=6, end=9, raw_start=6, raw_end=9))], session_id='5dc4d9ba-f00c-4b21-816b-639254b38315', custom_data=None, asr_tokens=[[AsrToken(value='kuche', confidence=1.0, range_start=0, range_end=5, time=None), AsrToken(value='aus', confidence=1.0, range_start=6, range_end=9, time=None)]], asr_confidence=None, raw_input='kĂĽche aus', wakeword_id=None, lang=None)
[DEBUG:2021-11-16 21:32:33,374] rhasspyserver_hermes: Publishing 263 bytes(s) to hermes/nlu/query
[DEBUG:2021-11-16 21:32:33,373] rhasspyserver_hermes: -> NluQuery(input='kĂĽche aus', site_id='site1', id='5dc4d9ba-f00c-4b21-816b-639254b38315', intent_filter=None, session_id='5dc4d9ba-f00c-4b21-816b-639254b38315', wakeword_id=None, lang=None, custom_data=None, asr_confidence=None, custom_entities=None)
I have to say that the new system is a debian 10. (but also running with docker)