Hallo,
da ich gerade die Spotify Integration für Googlecast gebaut habe, war es nur mehr eine Kleinigkeit ein Spotify Modul dafür zu bauen und daher habe ich das mal umgesetzt. Login erfolgt über seinen Spotify Account.
Mit dem Attribut "spotify_connect" auf "on" kann man auch direkt in FHEM Musik hören. Ja, richtig verstanden. Einfach FHEM Web öffnen und das Spotify Device öffnen und danach über die Spotify App "FHEM Web Player" als Device auswählen.
Installationsanleitung fhempy
https://github.com/dominikkarall/fhempy#installation
Spotify
https://github.com/dominikkarall/fhempy/blob/master/FHEM/bindings/python/fhempy/lib/spotify/README.md
Hab das Device angelegt, hier das list:
Internals:
.AttrList update_status_interval update_devices_interval default_device spotify_connect:on,off IODev event-aggregator event-min-interval event-on-change-reading event-on-update-reading oldreadings stateFormat:textField-long timestamp-on-change-reading
.FhemMetaInternals 1
DEF spotify
FUUID 5fef78cc-f33f-793a-8c26-8a899e2cb8311976
FVERSION 10_PythonModule.pm:0.182830/2019-01-16
IODev local_pybinding
NAME Spotify
NR 188
PYTHONTYPE spotify
STATE connected
TYPE PythonModule
.attraggr:
.attrminint:
READINGS:
2021-01-01 22:22:36 login <html><a href="https://accounts.spotify.com/authorize?xxx</a><br></html>
2021-01-01 22:32:23 state connected
2021-01-01 22:32:23 user xxx xxx (xxx.xxx@gmx.de)
args:
Spotify
PythonModule
spotify
argsh:
Attributes:
IODev local_pybinding
group Spotify
icon mqtt_bridge_2
room Devices
Autorisierungscode habe ich "geschwärzt", ist aber korrekt.
ZitatMit dem Attribut "spotify_connect" auf "on" kann man auch direkt in FHEM Musik hören. Ja, richtig verstanden. Einfach FHEM Web öffnen und das Spotify Device öffnen und danach über die Spotify App "FHEM Web Player" als Device auswählen.
Damit komme ich nicht klar.
Ich möchte gerne Spotify auf einem Google Nest ausgeben, dass ebenfalls mit Pythonbindings angebunden ist. Es sollte automatisch gestartet werden ohne eine Webseite/PC öffnen zu müssen, direkt vom Server per Event ausgelöst. Geht das?
Ja klar...
https://github.com/dominikkarall/fhempy/blob/master/FHEM/bindings/python/fhempy/lib/googlecast/README.md
googlecast übernimmt den Start und danach kannst du mit dem Spotify Modul weiter steuern.
Das Spotify-Modul bekomme ich nicht ans Laufen, kommt immer die Fehlermeldung "Cannot load module Spotify"
Außerdem funktionieren meine Ausgabegeräte (Google Nest) seit dem Update nicht mehr. Hier das Listing von einem der Nests:
Internals:
.AttrList .*
.FhemMetaInternals 1
DEF googlecast "Schlafzimmerlautsprecher"
FUUID 5fba773c-f33f-793a-5007-c9bf0d1a378d6c54
FVERSION 10_PythonModule.pm:0.182830/2019-01-16
IODev local_pybinding
NAME Schlafzimmerlautsprecher
NR 92
PYTHONTYPE googlecast
STATE Module failed to load: googlecast
Maybe you need to update fhempy on this or remote peer.
Stacktrace:
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 241, in _onMessage
module_object = importlib.import_module(pymodule)
File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/googlecast/googlecast.py", line 28, in <module>
import spotify_token as st
ModuleNotFoundError: No module named 'spotify_token'
TYPE PythonModule
.attraggr:
.attreocr:
.*
.attrminint:
.attrtocr:
.*
READINGS:
2021-01-01 15:31:16 app_id
2020-11-22 20:55:53 cast_type cast
2021-01-01 02:10:52 connection connected
2021-01-01 15:31:16 display_name
2020-12-22 19:38:03 icon_url
2020-11-22 20:55:53 ignore_cec 0
2020-11-22 20:55:53 is_active_input 0
2020-11-22 20:55:53 is_stand_by 1
2020-12-12 18:50:03 mediaAlbum
2020-12-12 18:50:03 mediaArtist
2020-12-28 21:35:08 mediaContentId
2020-12-28 21:35:08 mediaContentType
2020-12-28 21:30:08 mediaCurrentPosPercent
2020-12-28 21:30:08 mediaCurrentPosition
2020-12-28 21:35:08 mediaDuration
2020-12-12 18:50:03 mediaImageHeight
2020-12-12 18:50:03 mediaImageUrl
2020-12-12 18:50:03 mediaImageWidth
2020-12-28 21:35:08 mediaPlayerState UNKNOWN
2020-12-28 21:35:08 mediaStreamType UNKNOWN
2020-12-12 18:50:03 mediaTitle
2020-11-22 20:55:53 model_name Google Nest Mini
2020-11-22 20:55:53 mute 0
2020-11-22 20:55:53 name Schlafzimmerlautsprecher
2021-01-01 15:31:16 session_id
2021-01-01 22:26:09 state Module failed to load: googlecast
Maybe you need to update fhempy on this or remote peer.
Stacktrace:
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 241, in _onMessage
module_object = importlib.import_module(pymodule)
File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/googlecast/googlecast.py", line 28, in <module>
import spotify_token as st
ModuleNotFoundError: No module named 'spotify_token'
2021-01-01 15:31:16 status_text
2020-12-28 21:35:08 transport_id
2020-11-22 20:55:53 uuid dbef8319-c89c-e735-11f6-ce7777b133b2
2021-01-01 15:26:28 volume 26
args:
Schlafzimmerlautsprecher
PythonModule
googlecast
Schlafzimmerlautsprecher
argsh:
Attributes:
IODev local_pybinding
event-on-change-reading .*
group Audiosystem
icon audio_loudness
room Devices,GAssistant
timestamp-on-change-reading .*
userattr favorite_1 favorite_2 favorite_3 favorite_4 favorite_5
verbose 2
Müssen die neu angelegt werden?
Das fhempy spotify Modul hast du schon am Laufen, sonst würdest du deinen Username nicht sehen.
Mach mal
sudo -u fhem pip3 install spotify_token
danach FHEM Neustart. Aus irgendeinem Grund ist das bei dir nicht automatisch installiert worden.
Wird mit einem Fehlercode 1 im Terminal beendet:
Collecting spotify_token
Downloading https://files.pythonhosted.org/packages/d6/f5/9bf0e6664d6afa27e7329c949707d9c3ce143b1154895d0f49b836952bf4/spotify_token-1.0.0-py2.py3-none-any.whl
Collecting beautifulsoup4>=4.8.1 (from spotify_token)
Downloading https://files.pythonhosted.org/packages/d1/41/e6495bd7d3781cee623ce23ea6ac73282a373088fcd0ddc809a047b18eae/beautifulsoup4-4.9.3-py3-none-any.whl (115kB)
100% |████████████████████████████████| 122kB 2.2MB/s
Collecting lxml>=4.4.1 (from spotify_token)
Downloading https://files.pythonhosted.org/packages/db/f7/43fecb94d66959c1e23aa53d6161231dca0e93ec500224cf31b3c4073e37/lxml-4.6.2.tar.gz (3.2MB)
100% |████████████████████████████████| 3.2MB 114kB/s
Complete output from command python setup.py egg_info:
Building lxml version 4.6.2.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-tywvj4bw/lxml/
sudo apt install libxml2-dev libxslt-dev
Was hast du für ein System? RPi?
Nach einem Neustart des Containers steht bei allen Googlecast Devices "Installing updates..."
P.S. gerade ist beim ersten Device die Anzeige auf "Installation finished. Define now..." gewechselt und er versucht offensichtlich Fhem neuzustarten
Mein Fhem läuft in einem Docker Container auf einem QNAP NAS. Befehl kann ich im Augenblick nicht ausführen, Fhem muss erst mal korrekt gestartet sein. Melde mich dann noch mal.
Super, jetzt hat sich das halbe NAS abgeschossen nach dem Update. Ich komme weder an den Fhem Container dran noch an andere Anwendungen die auf dem NAS laufen.
FHEM wird durch das Modul nicht neu gestartet. Es führt nur das Define aus nachdem alles installiert ist.
Was meinst mit abgeschossen? Ich hab kein Dicker und kein NAS.
Also NAS ist wieder da, keine Ahnung was das gerade war.
Die Devices stehen alle wieder auf "Installing updates..."
Zusetzlich ist mein Pushover-Device jetzt auf "Disconnected"
Der Befehl wurde komplett ausgeführt.
Mit abgeschossen meine ich, das nichts mehr funktioniert, die Webanwendungen sind nicht erreichbar, die Container gestoppt, quasi runtergefahren.
Hast jetzt schon per apt installiert?
Ja hab ich, und auch neugestartet. Bis auf die Googlecast-Devices ist wieder alles connected bzw. opened. Nur die Cast-Devices zeigen nach wie vor "Installing updates..." an.
Dann bitte das PythonBinding Log posten.
Hab auch gerade mal parallel probiert was über das Spotify-Device abzuspielen.
set Spotify play https://open.spotify.com/playlist/2RxtpesK6vFl9g4q9YQdwD kommt kein Ton raus, weder auf dem Notebook, noch auf einem anderen Gerät.
Mir ist auch nicht klar, wie mit diesem Befehl ein anderes Gerät wie z.B. der Google-Nest (Wohnzimmerlautsprecher) angesprochen werden soll.
Deine Installation von spotify-token schlägt immer fehl. Kann ich morgen genauer schauen
Spotify: Premium required steht im Log, mit Free Account geht es nicht.
Morgen, hoffe geruhsame Nacht gehabt zu haben.
Heute Morgen zeigen die Nest-Devices nun folgendes an:
Module failed to load: googlecast Maybe you need to update fhempy on this or remote peer. Stacktrace: Traceback (most recent call last): File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 241, in _onMessage module_object = importlib.import_module(pymodule) File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1006, in _gcd_import File "", line 983, in _find_and_load File "", line 967, in _find_and_load_unlocked File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/googlecast/googlecast.py", line 28, in import spotify_token as st ModuleNotFoundError: No module named 'spotify_token
Vielleicht hilft dir ja das weiter.
Die spinnen jedenfalls seit dem Update.
ZitatDeine Installation von spotify-token schlägt immer fehl. Kann ich morgen genauer schauen
Worauf bezieht sich das genau? Auf das Spotify-Modul? Da wird ja gemeldet das er das Modul gar nicht erst laden kann.
Also ich habe jetzt das Spotify-Modul mit einem Device am laufen. Es wird zumindest bei entsprechender Eingabe "playing" angezeigt. Aber ich höre nichts
Habe inzwischen auch noch mal ein update durchlaufen lassen und den kompletten Container gestoppt und neu gestartet.
Die Ausgabe-Devices für die Google-Nest zeigen immer wieder "Installing updates..." an.
Was mir aufgefallen ist, ist das das global-Device im SATE ein "no definition" stehen hat. Ist das richtig?
Welche Spotify Modul? fhempy spotify oder Spotify?
Nur in fhempy spotify kannst du über den Browser auch Musik hören.
Zum Googlecast Device, das liegt an der fehlgeschlagenen spotify_token Installation. Mach bitte nochmals
sudo -u fhem pip3 install spotify_token
und poste das Ergebnis im fhempy googlecast Thread.
mache ich.
ZitatNur in fhempy spotify kannst du über den Browser auch Musik hören.
genau das will ich ja gerade nicht, darum hatte ich mehrfach gefragt ob der Browser off sein muss.
Ich will wenn ich nach Hause komme und mein Anwesenheits-Device schaltet, per DOIF Musik von Spotify auf einem meiner Google-Nest abspielen, nicht mehr und nicht weniger.
Ich habe gefragt, was für ein Modul du verwendest, bitte beantworte die Frage bevor es noch weitere Verwirrung gibt.
Nochmals:
fhempy googlecast: Spotify Playlists, etc. auf einem Google Device starten
fhempy spotify: NUR Steuerung von Spotify Connect und Abspielen von Musik innerhalb des Browsers
Für deinen Usecase benötigst du nur fhempy googlecast.
Sorry, wenn mir der Unterschied bekannt wäre, könnte ich deine Frage auch beantworten. Ich sehe auch nirgendwo eine Info in einem der Devices ob es fhempy googlecast oder fhempy spotify ist.
Hier die Lists aller meiner Devices die irgendwie mit Spotify bzw. Audioausgabe zu tun haben. List:
Internals:
.AttrList update_status_interval update_devices_interval default_device spotify_connect:on,off IODev event-aggregator event-min-interval event-on-change-reading event-on-update-reading oldreadings stateFormat:textField-long timestamp-on-change-reading
.FhemMetaInternals 1
DEF spotify
FUUID 5fef78cc-f33f-793a-8c26-8a899e2cb8311976
FVERSION 10_PythonModule.pm:0.182830/2019-01-16
IODev local_pybinding
NAME Spotify
NR 188
PYTHONTYPE spotify
STATE connected
TYPE PythonModule
.attraggr:
.attrminint:
OLDREADINGS:
READINGS:
2021-01-02 12:54:46 current_actions_disallows_pausing 1
2021-01-02 12:54:46 current_actions_disallows_skipping_prev 1
2021-01-02 12:54:46 current_context_external_urls_spotify https://open.spotify.com/playlist/4MwJ4E9RlPUii28R0t5dDL
2021-01-02 12:54:46 current_context_href https://api.spotify.com/v1/playlists/4MwJ4E9RlPUii28R0t5dDL
2021-01-02 12:54:46 current_context_type playlist
2021-01-02 12:54:46 current_context_uri spotify:playlist:4MwJ4E9RlPUii28R0t5dDL
2021-01-02 12:54:46 current_currently_playing_type track
2021-01-02 12:54:46 current_device_id 69ad5c6cf0850bb752d4d0e710e61dabebe8bd37
2021-01-02 12:54:46 current_device_is_active 1
2021-01-02 12:54:46 current_device_is_private_session 0
2021-01-02 12:54:46 current_device_is_restricted 0
2021-01-02 12:54:46 current_device_name Web Player (Microsoft Edge)
2021-01-02 12:54:46 current_device_type Computer
2021-01-02 12:54:46 current_is_playing 0
2021-01-02 12:54:46 current_item_album_album_type album
2021-01-02 12:54:46 current_item_album_artists_0_external_urls_spotify https://open.spotify.com/artist/0LyfQWJT6nXafLPZqxe9Of
2021-01-02 12:54:46 current_item_album_artists_0_href https://api.spotify.com/v1/artists/0LyfQWJT6nXafLPZqxe9Of
2021-01-02 12:54:46 current_item_album_artists_0_id 0LyfQWJT6nXafLPZqxe9Of
2021-01-02 12:54:46 current_item_album_artists_0_name Various Artists
2021-01-02 12:54:46 current_item_album_artists_0_type artist
2021-01-02 12:54:46 current_item_album_artists_0_uri spotify:artist:0LyfQWJT6nXafLPZqxe9Of
2021-01-02 12:54:46 current_item_album_external_urls_spotify https://open.spotify.com/album/3M18rHXLz7eFOQXRMJcBk9
2021-01-02 12:54:46 current_item_album_href https://api.spotify.com/v1/albums/3M18rHXLz7eFOQXRMJcBk9
2021-01-02 12:54:46 current_item_album_id 3M18rHXLz7eFOQXRMJcBk9
2021-01-02 12:54:46 current_item_album_images_0_height 640
2021-01-02 12:54:46 current_item_album_images_0_url https://i.scdn.co/image/ab67616d0000b273fa427a323a21bfd1a79b1094
2021-01-02 12:54:46 current_item_album_images_0_width 640
2021-01-02 12:54:46 current_item_album_images_1_height 300
2021-01-02 12:54:46 current_item_album_images_1_url https://i.scdn.co/image/ab67616d00001e02fa427a323a21bfd1a79b1094
2021-01-02 12:54:46 current_item_album_images_1_width 300
2021-01-02 12:54:46 current_item_album_images_2_height 64
2021-01-02 12:54:46 current_item_album_images_2_url https://i.scdn.co/image/ab67616d00004851fa427a323a21bfd1a79b1094
2021-01-02 12:54:46 current_item_album_images_2_width 64
2021-01-02 12:54:46 current_item_album_name Songs of Anarchy: Music from Sons of Anarchy Seasons 1-4
2021-01-02 12:54:46 current_item_album_release_date 2011-12-06
2021-01-02 12:54:46 current_item_album_release_date_precision day
2021-01-02 12:54:46 current_item_album_total_tracks 16
2021-01-02 12:54:46 current_item_album_type album
2021-01-02 12:54:46 current_item_album_uri spotify:album:3M18rHXLz7eFOQXRMJcBk9
2021-01-02 12:54:46 current_item_artists_0_external_urls_spotify https://open.spotify.com/artist/2bNtosg6E8tvmN6wYxPCfu
2021-01-02 12:54:46 current_item_artists_0_href https://api.spotify.com/v1/artists/2bNtosg6E8tvmN6wYxPCfu
2021-01-02 12:54:46 current_item_artists_0_id 2bNtosg6E8tvmN6wYxPCfu
2021-01-02 12:54:46 current_item_artists_0_name Curtis Stigers
2021-01-02 12:54:46 current_item_artists_0_type artist
2021-01-02 12:54:46 current_item_artists_0_uri spotify:artist:2bNtosg6E8tvmN6wYxPCfu
2021-01-02 12:54:46 current_item_artists_1_external_urls_spotify https://open.spotify.com/artist/46xMgypLHP8GNsYME3vRnV
2021-01-02 12:54:46 current_item_artists_1_href https://api.spotify.com/v1/artists/46xMgypLHP8GNsYME3vRnV
2021-01-02 12:54:46 current_item_artists_1_id 46xMgypLHP8GNsYME3vRnV
2021-01-02 12:54:46 current_item_artists_1_name The Forest Rangers
2021-01-02 12:54:46 current_item_artists_1_type artist
2021-01-02 12:54:46 current_item_artists_1_uri spotify:artist:46xMgypLHP8GNsYME3vRnV
2021-01-02 12:54:46 current_item_disc_number 1
2021-01-02 12:54:46 current_item_duration_ms 140986
2021-01-02 12:54:46 current_item_explicit 0
2021-01-02 12:54:46 current_item_external_ids_isrc USQX91101562
2021-01-02 12:54:46 current_item_external_urls_spotify https://open.spotify.com/track/6wNuaMA96DLSwVd2PABe06
2021-01-02 12:54:46 current_item_href https://api.spotify.com/v1/tracks/6wNuaMA96DLSwVd2PABe06
2021-01-02 12:54:46 current_item_id 6wNuaMA96DLSwVd2PABe06
2021-01-02 12:54:46 current_item_is_local 0
2021-01-02 12:54:46 current_item_name This Life
2021-01-02 12:54:46 current_item_popularity 49
2021-01-02 12:54:46 current_item_preview_url https://p.scdn.co/mp3-preview/73f63752afbddc26d57342ebb4fd6176fda37813?cid=e92855a009e74eb69ba6609d3bfd7d96
2021-01-02 12:54:46 current_item_track_number 1
2021-01-02 12:54:46 current_item_type track
2021-01-02 12:54:46 current_item_uri spotify:track:6wNuaMA96DLSwVd2PABe06
2021-01-02 12:54:46 current_progress_ms 28342
2021-01-02 12:54:46 current_repeat_state off
2021-01-02 12:54:46 current_shuffle_state 0
2021-01-02 12:54:46 current_timestamp 1609588036121
2021-01-02 10:53:46 default_device Web Player (Microsoft Edge) (69ad5c6cf0850bb752d4d0e710e61dabebe8bd37)
2021-01-02 12:53:54 device_69ad5c6cf0850bb752d4d0e710e61dabebe8bd37 Web Player (Microsoft Edge)
2021-01-02 10:53:39 login <html><a href="https://accounts.spotify.com/authorize?client_id=e92855a009e74eb69ba6609d3bfd7d96&response_type=code&redirect_uri=https%3A%2F%2Foskar.pw%2F&code_challenge_method=S256&code_challenge=dVqNrwHyj2CwIwN3mSoga21Db2bnR2F0K3A9h9i21Ow&scope=playlist-read-collaborative+playlist-read-private+streaming+user-follow-read+user-library-read+user-modify-playback-state+user-read-currently-playing+user-read-email+user-read-playback-position+user-read-playback-state+user-read-private+user-read-recently-played+user-top-read" target="_blank">Connect Spotify account (new window/tab)</a><br></html>
2021-01-02 10:53:46 state connected
2021-01-02 10:53:40 user Marko Poschen (marko.poschen@gmx.de)
2021-01-02 12:45:37 volume 100
args:
Spotify
PythonModule
spotify
argsh:
Attributes:
IODev local_pybinding
group Spotify
icon mqtt_bridge_2
room Devices
Zeigt zwar "connected" an, spielt aber leider nichts ab!
und
Internals:
.FhemMetaInternals 1
CLIENT_ID c0b419c2f0b549a09578a1daee79e16f
CLIENT_SECRET 4ab460d521ce4d63adb10917630ce155
DEF c0b419c2f0b549a09578a1daee79e16f 4ab460d521ce4d63adb10917630ce155
FUUID 5ff03f34-f33f-793a-9231-74a57f739b0dca66
FVERSION 37_Spotify.pm:?/2021-01-02 UNSTABLE
NAME SpotifyMusic
NR 194
NTFY_ORDER 50-SpotifyMusic
REDIRECT_URI https://oskar.pw/
STATE paused
TYPE Spotify
.attraggr:
.attrminint:
READINGS:
2021-01-02 12:39:27 .access_token BQDD43JkQ8n7ZeLbCIu1sbJ-B7cBwKJAhOqVw_U1WilaLHbjNs3RrDmiB5-0kEXpPBS83wANyzeRumtWrZ25m6QK_3EzoKgzjaSeZ4Mirq2DEFS_mhcvUSH0YVBJXbFZM0S0CIxeI-joPJjDFt1tQwzdIH86uhhZDgeCS0qo42N_-lgaXRGQpDzzNLiBmrXCblA2IlKwKELumProIA
2021-01-02 12:39:27 .expires 1609591167.50505
2021-01-02 12:39:27 .refresh_token AQAOC0IVA2E-EIFHgGUFrfPbPXLQjG7y0agr2L8vyWxQzh9KVQ4w0KOG6e1H-DhmYVswfDBsEI2hR8OLl0C7p4JdfYzvxM20ylGXeEUpvqLxr0KReDPZwvSxfbDs9svOMYU
2021-01-02 11:39:27 device_1_id 69ad5c6cf0850bb752d4d0e710e61dabebe8bd37
2021-01-02 11:39:27 device_1_name Web Player (Microsoft Edge)
2021-01-02 11:39:27 device_1_type Computer
2021-01-02 12:49:27 device_1_volume 100
2021-01-02 12:44:54 device_active_id 69ad5c6cf0850bb752d4d0e710e61dabebe8bd37
2021-01-02 12:44:54 device_active_name Web Player (Microsoft Edge)
2021-01-02 12:44:54 device_active_type Computer
2021-01-02 12:45:15 device_active_volume 100
2021-01-02 11:39:27 devices_cnt 1
2021-01-02 12:47:14 is_playing 0
2021-01-02 12:47:15 progress 00:00:28
2021-01-02 12:47:17 progress_ms 28342
2021-01-02 11:40:05 repeat off
2021-01-02 11:40:05 shuffle off
2021-01-02 12:46:46 track_album_cover_large https://i.scdn.co/image/ab67616d0000b273fa427a323a21bfd1a79b1094
2021-01-02 12:46:46 track_album_cover_medium https://i.scdn.co/image/ab67616d00001e02fa427a323a21bfd1a79b1094
2021-01-02 12:46:46 track_album_cover_small https://i.scdn.co/image/ab67616d00004851fa427a323a21bfd1a79b1094
2021-01-02 12:46:46 track_album_name Songs of Anarchy: Music from Sons of Anarchy Seasons 1-4
2021-01-02 12:46:46 track_album_uri spotify:album:3M18rHXLz7eFOQXRMJcBk9
2021-01-02 12:46:46 track_artist_name Curtis Stigers
2021-01-02 12:46:46 track_artist_uri spotify:artist:2bNtosg6E8tvmN6wYxPCfu
2021-01-02 12:46:46 track_duration 00:02:20
2021-01-02 12:46:46 track_duration_ms 140986
2021-01-02 12:46:46 track_name This Life
2021-01-02 12:46:46 track_popularity 49
2021-01-02 12:46:46 track_uri spotify:track:6wNuaMA96DLSwVd2PABe06
2021-01-02 11:39:27 user_country DE
2021-01-02 11:39:27 user_display_name Marko Poschen
2021-01-02 11:39:27 user_follower_cnt 0
2021-01-02 11:39:27 user_id 21bs6evtise2r3ptt6xocp53a
2021-01-02 11:39:27 user_profile_pic_url https://platform-lookaside.fbsbx.com/platform/profilepic/?asid=930783740312614&height=300&width=300&ext=1612172019&hash=AeRKqa8qkfqEn2CLQXQ
2021-01-02 12:45:15 volume 100
helper:
access_token BQDD43JkQ8n7ZeLbCIu1sbJ-B7cBwKJAhOqVw_U1WilaLHbjNs3RrDmiB5-0kEXpPBS83wANyzeRumtWrZ25m6QK_3EzoKgzjaSeZ4Mirq2DEFS_mhcvUSH0YVBJXbFZM0S0CIxeI-joPJjDFt1tQwzdIH86uhhZDgeCS0qo42N_-lgaXRGQpDzzNLiBmrXCblA2IlKwKELumProIA
authorization_url https://accounts.spotify.com/authorize/?client_id=c0b419c2f0b549a09578a1daee79e16f&response_type=code&scope=playlist-read-private%20playlist-read-collaborative%20streaming%20user-library-read%20user-read-private%20user-read-playback-state&redirect_uri=https%3a%2f%2foskar%2epw%2f
custom_redirect
expires 1609591167.50505
nextSongTimer 1609588133.50434
progress_ms 28342
refresh_token AQAOC0IVA2E-EIFHgGUFrfPbPXLQjG7y0agr2L8vyWxQzh9KVQ4w0KOG6e1H-DhmYVswfDBsEI2hR8OLl0C7p4JdfYzvxM20ylGXeEUpvqLxr0KReDPZwvSxfbDs9svOMYU
repeat off
scope playlist-read-private playlist-read-collaborative streaming user-library-read user-read-playback-state user-read-private
subscription premium
updatePlaybackTimer_next 1609588037.9065
uri spotify:user:21bs6evtise2r3ptt6xocp53a
user_id 21bs6evtise2r3ptt6xocp53a
device_active:
id 69ad5c6cf0850bb752d4d0e710e61dabebe8bd37
name Web Player (Microsoft Edge)
type Computer
volume_percent 100
devices:
HASH(0x5bc9c148)
dispatch:
json:
currently_playing_type track
progress_ms 28342
repeat_state off
timestamp 1609588036121
actions:
disallows:
context:
href https://api.spotify.com/v1/playlists/4MwJ4E9RlPUii28R0t5dDL
type playlist
uri spotify:playlist:4MwJ4E9RlPUii28R0t5dDL
external_urls:
spotify https://open.spotify.com/playlist/4MwJ4E9RlPUii28R0t5dDL
device:
id 69ad5c6cf0850bb752d4d0e710e61dabebe8bd37
name Web Player (Microsoft Edge)
type Computer
volume_percent 100
item:
disc_number 1
duration_ms 140986
href https://api.spotify.com/v1/tracks/6wNuaMA96DLSwVd2PABe06
id 6wNuaMA96DLSwVd2PABe06
name This Life
popularity 49
preview_url https://p.scdn.co/mp3-preview/73f63752afbddc26d57342ebb4fd6176fda37813?cid=c0b419c2f0b549a09578a1daee79e16f
track_number 1
type track
uri spotify:track:6wNuaMA96DLSwVd2PABe06
album:
album_type album
href https://api.spotify.com/v1/albums/3M18rHXLz7eFOQXRMJcBk9
id 3M18rHXLz7eFOQXRMJcBk9
name Songs of Anarchy: Music from Sons of Anarchy Seasons 1-4
release_date 2011-12-06
release_date_precision day
total_tracks 16
type album
uri spotify:album:3M18rHXLz7eFOQXRMJcBk9
artists:
HASH(0x5bfaf060)
available_markets:
AE
AU
BH
CA
CH
EG
IE
JO
KW
LB
LI
NZ
OM
PS
QA
SA
US
external_urls:
spotify https://open.spotify.com/album/3M18rHXLz7eFOQXRMJcBk9
images:
HASH(0x5c2c7918)
HASH(0x5c2f0cf0)
HASH(0x5c217e78)
artists:
HASH(0x5c247a50)
HASH(0x5c231b58)
available_markets:
AE
AU
BH
CA
CH
EG
IE
JO
KW
LB
LI
NZ
OM
PS
QA
SA
US
external_ids:
isrc USQX91101562
external_urls:
spotify https://open.spotify.com/track/6wNuaMA96DLSwVd2PABe06
track:
disc_number 1
duration_ms 140986
href https://api.spotify.com/v1/tracks/6wNuaMA96DLSwVd2PABe06
id 6wNuaMA96DLSwVd2PABe06
name This Life
popularity 49
preview_url https://p.scdn.co/mp3-preview/73f63752afbddc26d57342ebb4fd6176fda37813?cid=c0b419c2f0b549a09578a1daee79e16f
track_number 1
type track
uri spotify:track:6wNuaMA96DLSwVd2PABe06
album:
album_type album
href https://api.spotify.com/v1/albums/3M18rHXLz7eFOQXRMJcBk9
id 3M18rHXLz7eFOQXRMJcBk9
name Songs of Anarchy: Music from Sons of Anarchy Seasons 1-4
release_date 2011-12-06
release_date_precision day
total_tracks 16
type album
uri spotify:album:3M18rHXLz7eFOQXRMJcBk9
artists:
HASH(0x5bfaf060)
available_markets:
AE
AU
BH
CA
CH
EG
IE
JO
KW
LB
LI
NZ
OM
PS
QA
SA
US
external_urls:
spotify https://open.spotify.com/album/3M18rHXLz7eFOQXRMJcBk9
images:
HASH(0x5c2c7918)
HASH(0x5c2f0cf0)
HASH(0x5c217e78)
artists:
HASH(0x5c247a50)
HASH(0x5c231b58)
available_markets:
AE
AU
BH
CA
CH
EG
IE
JO
KW
LB
LI
NZ
OM
PS
QA
SA
US
external_ids:
isrc USQX91101562
external_urls:
spotify https://open.spotify.com/track/6wNuaMA96DLSwVd2PABe06
Attributes:
group Spotify
icon audio_volume_low
room Devices
Funktioniert und gibt etwas auf dem Notebook wieder!
Zusätzlich hatte ich meine beiden Google-Nest-Geräte und eine Gruppe für beide gemeinsam mit jeweils einem Device angelegt, denke mal das diese über fhempy googlecast laufen, angelegt habe ich sie als es fhempy noch gar nicht gab und du noch den alten Namen verwendet hast. Diese drei Devices spinnen seit dem Update und kommen nur mit wechselnden Fehlermeldungen die ich schon mehrfach gepostet habe. List eines Device:
Internals:
.AttrList .*
.FhemMetaInternals 1
DEF googlecast "Schlafzimmerlautsprecher"
FUUID 5fba773c-f33f-793a-5007-c9bf0d1a378d6c54
FVERSION 10_PythonModule.pm:0.182830/2019-01-16
IODev local_pybinding
NAME Schlafzimmerlautsprecher
NR 92
PYTHONTYPE googlecast
STATE Module failed to load: googlecast
Maybe you need to update fhempy on this or remote peer.
Stacktrace:
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 241, in _onMessage
module_object = importlib.import_module(pymodule)
File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/googlecast/googlecast.py", line 28, in <module>
import spotify_token as st
ModuleNotFoundError: No module named 'spotify_token'
TYPE PythonModule
.attraggr:
.attreocr:
.*
.attrminint:
.attrtocr:
.*
READINGS:
2021-01-01 15:31:16 app_id
2020-11-22 20:55:53 cast_type cast
2021-01-01 02:10:52 connection connected
2021-01-01 15:31:16 display_name
2020-12-22 19:38:03 icon_url
2020-11-22 20:55:53 ignore_cec 0
2020-11-22 20:55:53 is_active_input 0
2020-11-22 20:55:53 is_stand_by 1
2020-12-12 18:50:03 mediaAlbum
2020-12-12 18:50:03 mediaArtist
2020-12-28 21:35:08 mediaContentId
2020-12-28 21:35:08 mediaContentType
2020-12-28 21:30:08 mediaCurrentPosPercent
2020-12-28 21:30:08 mediaCurrentPosition
2020-12-28 21:35:08 mediaDuration
2020-12-12 18:50:03 mediaImageHeight
2020-12-12 18:50:03 mediaImageUrl
2020-12-12 18:50:03 mediaImageWidth
2020-12-28 21:35:08 mediaPlayerState UNKNOWN
2020-12-28 21:35:08 mediaStreamType UNKNOWN
2020-12-12 18:50:03 mediaTitle
2020-11-22 20:55:53 model_name Google Nest Mini
2020-11-22 20:55:53 mute 0
2020-11-22 20:55:53 name Schlafzimmerlautsprecher
2021-01-01 15:31:16 session_id
2021-01-02 12:44:39 state Module failed to load: googlecast
Maybe you need to update fhempy on this or remote peer.
Stacktrace:
Traceback (most recent call last):
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/fhem_pythonbinding.py", line 241, in _onMessage
module_object = importlib.import_module(pymodule)
File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/opt/fhem/.local/lib/python3.7/site-packages/fhempy/lib/googlecast/googlecast.py", line 28, in <module>
import spotify_token as st
ModuleNotFoundError: No module named 'spotify_token'
2021-01-01 15:31:16 status_text
2020-12-28 21:35:08 transport_id
2020-11-22 20:55:53 uuid dbef8319-c89c-e735-11f6-ce7777b133b2
2021-01-01 15:26:28 volume 26
args:
Schlafzimmerlautsprecher
PythonModule
googlecast
Schlafzimmerlautsprecher
argsh:
Attributes:
IODev local_pybinding
event-on-change-reading .*
group Audiosystem
icon audio_loudness
room Devices,GAssistant
timestamp-on-change-reading .*
userattr favorite_1 favorite_2 favorite_3 favorite_4 favorite_5
verbose 2
Hat vor dem Update zb mit speak perfekt funktioniert, jetzt sind sie nicht mal mehr von anderen Devices auffindbar!
Steht schon im Device und ist in deinen lists (deutlich) zu sehen ;)
TYPE zeigt den fhem-Modul-Typ und FVERSION dann die verwendete pm-Datei...
EDIT PYTHONTYPE ist dann python-Modul-spezifisch und zeigt dann sowas wie den "sub-Typ" an...
Also Spotify ist dann wohl python spotify und SpotifyMusic dann das "normale" Spotify-Modul...
Gruß, Joachim
Ok, also wie bereits geschrieben, das Spotify-Device zeigt zwar connected an aber mehr auch nicht.
Das SpotifyMusic-Device funktioniert und spielt auf dem Notebook auch was ab. Sollte soweit ich das verstehe auch an andere Ausgabequellen transferiert werden können.
Aber das Problem sind ja die Python Googlecast-Devices - sehen wir uns also wohl im anderen Thread, oder?
Zitat von: Superposchi am 02 Januar 2021, 13:55:56
Aber das Problem sind ja die Python Googlecast-Devices - sehen wir uns also wohl im anderen Thread, oder?
"Wir" wohl (erst mal) nicht, ich nutze das (noch) nicht... ;)
(werde aber irgendwann mal [zum Spaß] meine alte GoogleCast/ChromeCast Devices umstellen)
Noch eine Möglichkeit rauszufinden "womit" man es "zu tun" hat: "unter" dem Device -> Link "device specific help" :)
Gruß, Joachim
Also wenn ich mir die Readings ansehe, dann funktionieren beide Spotify Module. Nur weil das eine connected und das andere playing anzeigt, heißt noch nix. Bei fhempy spotify Modul wird nämlich current_device_is_playing 0/1 gesetzt. Beide zeigen die gleichen Songs an und beide sind auf der exakten gleichen Position bei progress.
Dann betrachten wir die Spotify Einrichtung mal als erledigt.
Naja, beim einen höre ich auf dem Notebook was, beim anderen nicht. Aber so wie es aktuell ist reicht es mir eigentlich schon.
Die Frage ist ob ich das Spotify-Device nicht sogar komplett löschen kann. Oder wird es irgendwie für den Rest benötigt?
Du hörst mit dem deinem SpotifyMusic Device wirklich etwas in FHEM? Oder meinst du, du kannst eine bestehende Browser Session steuern?
Beim Spotify Device hast du das Attribut spotify_connect nicht auf on gesetzt, daher ist es deaktiviert.
Ne, sorry, es war wohl eine bestehende Browser-Session. Hatte sich irgendwo in einem der Browserfenster versteckt. Allerdings wurde dort eine andere Playlist angezeigt als mit dem Device "abgespielt" wurde.
Habe das spotify_connect yes auf on gesetzt, es ändert trotzdem rein gar nichts. Wenn ich einen "Set play ..." Befehl absetze bleibt das Device auf "connected" und es passiert nichts. Ich höre nichts und es werden auch keine neuen Attribute angezeigt.
Also...eins nach dem anderen...
1. Musik innerhalb von FHEM abspielen
spotify_connect auf on setzen
Device Seite neu laden
Nach paar Sekunden erscheint eine Meldung (über den Set), dass Spotify Connect aktiv ist
Erst wenn diese Meldung kommt, kannst du dein Smartphone nehmen, Spotify öffnen und direkt an FHEM Web Player Musik schicken. Funktioniert dann wie jedes andere Spotify Connect Device.
...und da die Frage nun kommt, warum muss ich es über das Smartphone steuern: Musst du nicht, du kannst einen 2. Tab aufmachen und dort die Steuerung via FHEM vornehmen.
2. Spotify Connect steuern
Wie ich sehe, hast du keine Spotify Connect Devices, sondern nur Google Cast Geräte. Daher muss zuerst am googlecast Gerät Spotify durch FHEM gestartet werden. Das besprechen wir im googlecast Thread weiter.
Hallo Dominic ich brauche mal wieder deine Hilfe.
Ich kann schon seit Monaten keine Spotify-Inhalte mehr auf meinen Googlecast-Devices abspielen.
Bei Play + Adresse oder PlayFav bleiben beide Google Nest Geräte einfach Stumm.
Jetzt wo ich den Server umziehe will ich das gerne in Ordnung bringen.
Ich habe erstmal beide GoogleCast-Devices per RAW-Definition auf den neuen Server kopiert
Hier das List vom Wohnzimmer-Nest
Internals:
CASTNAME Wohnzimmerlautsprecher
DEF googlecast Wohnzimmerlautsprecher
FUUID 61274963-f33f-6c14-3d62-7c892911b2d80201
FVERSION 10_PythonModule.pm:0.182830/2019-01-16
IODev local_pybinding
NAME Wohnzimmerlautsprecher
NR 130
PYTHONTYPE googlecast
STATE online
TYPE PythonModule
READINGS:
2021-08-29 11:15:46 app_id
2021-02-28 10:09:15 cast_type audio
2021-08-29 11:02:04 connection connected
2021-08-29 11:15:46 display_name
2021-05-22 22:02:06 icon_url
2021-01-05 17:54:41 ignore_cec 0
2021-02-28 10:09:16 is_active_input
2021-02-28 10:09:16 is_stand_by
2021-05-22 22:02:06 mediaAlbum
2021-05-01 11:06:13 mediaAlbumArtist
2021-05-22 22:02:06 mediaArtist
2021-08-29 11:15:46 mediaContentId
2021-08-29 11:15:46 mediaContentType
2021-08-29 11:10:46 mediaCurrentPosPercent
2021-08-29 11:10:46 mediaCurrentPosition
2021-08-29 11:15:46 mediaDuration
2021-05-22 22:02:06 mediaImageHeight
2021-05-22 22:02:06 mediaImageUrl
2021-05-22 22:02:06 mediaImageWidth
2021-08-29 11:15:46 mediaPlayerState UNKNOWN
2021-08-29 11:15:46 mediaStreamType UNKNOWN
2021-05-22 22:02:06 mediaTitle
2021-01-05 17:54:41 model_name Google Nest Mini
2021-01-05 17:54:41 mute 0
2021-01-05 17:54:41 name Wohnzimmerlautsprecher
2021-08-29 11:15:46 session_id
2021-08-29 11:01:27 spotify_login *****
2021-08-29 11:06:02 spotify_user *****
2021-08-29 11:10:46 state online
2021-08-29 11:15:46 status_text
2021-08-29 11:15:46 transport_id
2021-01-05 17:54:41 uuid ec715a28-897e-dc95-3c87-e44ecb1699c0
2021-08-28 06:59:47 volume 50
2021-08-21 10:21:34 volume_saved na
args:
Wohnzimmerlautsprecher
PythonModule
googlecast
Wohnzimmerlautsprecher
argsh:
Attributes:
IODev local_pybinding
alarmDevice Actor
cmdIcon pause:rc_PAUSE play:rc_PLAY
favorite_1 https://open.spotify.com/playlist/37i9dQZF1EgoFqquhlQhCX
favorite_2 https://open.spotify.com/playlist/4MwJ4E9RlPUii28R0t5dDL
favorite_3 https://open.spotify.com/playlist/2RxtpesK6vFl9g4q9YQdwD
favorite_4 https://open.spotify.com/playlist/2ftQtVEUV8RnTI8HQ67OYb
favorite_5 https://webradio.rtlradio.de/live
group Multimedia
icon audio_loudness
room Devices,Wohnung->Wohnzimmer
spotify_sp_dc *****
spotify_sp_key *****
verbose 4
webCmd volume:play:pause
Hier der Schlafzimmer Nest:
Internals:
CASTNAME Schlafzimmerlautsprecher
DEF googlecast Schlafzimmerlautsprecher
FUUID 612b4bde-f33f-6c14-0704-993d070847a7bac3
FVERSION 10_PythonModule.pm:0.182830/2019-01-16
IODev local_pybinding
NAME Schlafzimmerlautsprecher
NR 185
PYTHONTYPE googlecast
STATE online
TYPE PythonModule
READINGS:
2021-08-29 11:17:51 app_id
2021-08-29 11:01:41 cast_type audio
2021-08-29 11:01:41 connection connected
2021-08-29 11:17:51 display_name
2021-08-29 11:01:41 ignore_cec 0
2021-08-29 11:17:50 mediaContentId
2021-08-29 11:17:50 mediaContentType
2021-08-29 11:12:50 mediaCurrentPosPercent
2021-08-29 11:12:50 mediaCurrentPosition
2021-08-29 11:17:50 mediaDuration
2021-08-29 11:17:50 mediaPlayerState UNKNOWN
2021-08-29 11:17:50 mediaStreamType UNKNOWN
2021-08-29 11:01:41 model_name Google Nest Mini
2021-08-29 11:01:41 mute 0
2021-08-29 11:01:41 name Schlafzimmerlautsprecher
2021-08-29 11:17:51 session_id
2021-08-29 11:01:27 spotify_login *****
2021-08-29 11:04:22 spotify_user *****
2021-08-29 11:12:50 state online
2021-08-29 11:17:51 status_text
2021-08-29 11:17:51 transport_id
2021-08-29 11:01:41 uuid dbef8319-c89c-e735-11f6-ce7777b133b2
2021-08-29 11:03:18 volume 100
args:
Schlafzimmerlautsprecher
PythonModule
googlecast
Schlafzimmerlautsprecher
argsh:
Attributes:
IODev local_pybinding
alarmDevice Actor
cmdIcon pause:rc_PAUSE play:rc_PLAY
favorite_1 https://open.spotify.com/playlist/37i9dQZF1EgoFqquhlQhCX
favorite_2 https://open.spotify.com/playlist/4MwJ4E9RlPUii28R0t5dDL
favorite_3 https://open.spotify.com/playlist/2RxtpesK6vFl9g4q9YQdwD
favorite_4 https://open.spotify.com/playlist/2ftQtVEUV8RnTI8HQ67OYb
favorite_5 https://webradio.rtlradio.de/live
group Multimedia
icon audio_loudness
room Devices,Wohnung->Schlafzimmer
spotify_sp_dc *****
spotify_sp_key *****
verbose 4
webCmd volume:play:pause
Das local-Binding sieht so aus:
Internals:
BindingType Python
DEF Python
DeviceName ws:127.0.0.1:15733
FD 31
FUUID 611ecfe9-f33f-6c14-a867-683466feea4ee551
FVERSION 10_BindingsIo.pm:0.182830/2019-01-16
IP 127.0.0.1
NAME local_pybinding
NR 58
NTFY_ORDER 50-local_pybinding
PARTIAL
PORT 15733
STATE opened
TYPE BindingsIo
WEBSOCKET 1
localBinding 1
nextOpenDelay 10
READINGS:
2021-08-29 11:01:25 state opened
2021-08-29 11:01:25 version 0.1.87
args:
local_pybinding
BindingsIo
Python
argsh:
Attributes:
group Bridges
icon mqtt_bridge_2
room System,fhempy
Im Anhang die letzten beiden Logs.
Was mir auf jedenfall fehlt ist die Info wo ich den sp_dc und sp_key Info bekomme. Habe ich jetzt schon mehrfach vergeblich gesucht. Nutze aktuell Edge als Browser.
Lösche bitte deine Daten aus den Posts raus. sp_dc, sp_key sind deine Spotify Zugangsdaten! Die sollten nicht gepostet werden.
Du bekommst die wie hier beschrieben:
https://github.com/dominikkarall/fhempy/blob/master/FHEM/bindings/python/fhempy/lib/googlecast/README.md#attributes
Die Daten sind eh nicht mehr korrekt, aber werde Sie löschen.
Habe die Stelle auch gefunden und die beiden Daten eingetragen.
Leider tut sich nichts, der Lautsprecher "knackt" kurz, aber es wird nichts abgespielt.
Speak hingegen funktioniert korrekt.
Ich erinnere mich daran, dass es damals bei der ersten Einrichtung die einige Monate funktionierte ähnliche Probleme gegeben hatte.
Wird Spotify am Cast Gerät gestartet?
Nicht dass ich sehen kann.
Das Nest steht auf online, mal Knackt es bei bei einer Lautstärkenänderung, mal auch nicht.
Die Anzeige wechselt aber nicht zu Play
Was muss ich dir liefern, damit du den Fehler finden kannst?
Hi,
ich denke die Antwort hier sollte dein Problem behoben haben?
https://forum.fhem.de/index.php/topic,116455.msg1173670.html#msg1173670