Hallo zusammen ich habe versucht mit meinen beiden Sonos einen Türgong zu realisieren.
in den items.yaml habe ich es so definiert
etc/plugin.yaml ist wie folgt definiert:
im Verzeichnis /var/snippet liegt die Datei 1.mp3 und auf die GA 2/3/6 habe ich einen Wert mit der Zahl 1 gesendet jedoch passiert nichts.
Hat damit schon jemand Erfahrung und könnte evtl wissen wo ein Fehler liegen könnte
in den items.yaml habe ich es so definiert
Code:
play_snippet: type: str sonos_send: play_snippet enforce_updates: true knx_dpt: 4 knx_listen: 2/3/6
etc/plugin.yaml ist wie folgt definiert:
Code:
Sonos: class_name: Sonos class_path: plugins.sonos tts: true # optional, default: false local_webservice_path: /var/tts # optional, default: empty. If 'tts' is enabled, this option is mandatory. # All tts files will be stored here. local_webservice_path_snippet: /var/snippet # optional, default: empty. For some reasons it could be necessary to have # separated paths for TTS files and your own snippet files. You can define the # local path for your snippets here. If 'tts' is enabled and # 'local_webservice_path_snippet' is empty, the value for # 'local_webservice_path' is used for your snippet audio files. webservice_ip: 192.168.178.54 # optional, default: automatic. You can set a specific ip address. # If you're using a docker container, you have to set the host # ip address here. webservice_port: 23500 # optional, default: 23500 # discover_cycle: 120 # optional, default: 120 (in seconds) # speaker_ips: # optional. You can set static IP addresses for your Sonos speaker. This # - 192.168.1.10 # will disable auto-discovery. This is useful if you're using a # - 192.168.1.77 # containerized environment with restricted network access.
Hat damit schon jemand Erfahrung und könnte evtl wissen wo ein Fehler liegen könnte
Kommentar