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!