okay, but your includes the patch from wire82? and you both code on the same new version? or does now exist multiple plugin jars?
I did build on top of the patch of @Wire82, when my code is reviewed and approved by @Wire82 and others it will be included in future version.
However, I removed the dynamic favorite channels in favor of single favorite channel similar to what the Spotify binding and other bindings offer for such features.
Hi
I’m a little lost as to which is the latest version.
I’ve tried both of the versions referred to in recent comments, but I still can’t link Favourites in PaperUI.
The issue is that the popup doesn’t list options for linking profiles.
Like this…
When Profile option box is touched, it just shows a blank box, like this
Do you have the version with a single favorites channel or many separate channels?
Hi
Karaf console shows that I’ve got version No - 2.5.2.202001161839 | openHAB Add-ons :: Bundles :: Heos Binding
Which presents the favourites like this
(I’ve managed to link a Channel using my very first Items file)
This is the latest version by @martinvw.
https://download.martinvw.nl/org.openhab.binding.heos-2.5.2-SNAPSHOT-6099.jar
It contains some changes, new features and patches also.
If you used the HEOS binding before, so you already have your HEOS Things, you should delete them and recreate to see the new channels.
In my opinion the usage of the binding is more straighforward and in my tests, it works as it should. However, again if you already use the binding, be prepared that some channels changed/removed so not everything will work as it was before.
That was the version I was using previously, that had the same issue.
I did completely delete and add the HEOS device.
(Which linked back the same channels thankfully, like Volume and Mute)
Update
I’m not sure what I’ve done differently this time, but putting in this version gives a nice and easy String channel that gets populated with the favourites
Many thanks @rkrisi @martinvw
Hi,
My first post here ^^
I’m really thankfull for all the work you guy’s put into this binding! Since the last reconnect fix @Wire82 made it’s working really well!
Today I discovered the updated binding mentioned earlier (6099) and I wanted to try the new Favorites channel.
After installing the binding and the usual arguing with Openhab (removing HEOS Things, clearing cache, rebooting several times, recreating HEOS Things) the binding starts and I’m able to communicate with my HEOS Bar. Everything works except the Favorites and the Playlist.
In the log I see my favorites and playlists are fetched from the DENON server:
2020-02-05 19:55:04.791 [DEBUG] [binding.heos.internal.api.HeosFacade] - Received results: [BrowseResult{container=NO, mediaId=‘s98575’, playable=YES, type=STATION, containerId=‘null’, name=‘SLAM! 90.1 (Top 40 %26 Pop Music)’, imageUrl=‘http://cdn-profiles.tunein.com/s67814/images/logoq.png’}, BrowseResult{container=NO, mediaId=‘s130543’, playable=YES, type=STATION, containerId=‘null’, name=‘The UK 1940s Radio Station’, imageUrl=‘http://cdn-radiotime-logos.tunein.com/s130543q.png’}, BrowseResult{container=NO, mediaId=‘s253880’, playable=YES, type=STATION, containerId=‘null’, name=‘SLAM! The Boom Room’, imageUrl=‘http://cdn-profiles.tunein.com/s253880/images/logoq.png’}, BrowseResult{container=NO, mediaId=‘s75171’, playable=YES, type=STATION, containerId=‘null’, name=‘538 Dance Department’, imageUrl=‘http://cdn-profiles.tunein.com/s75171/images/logoq.jpg?t=636219’}, BrowseResult{container=NO, mediaId=‘s280322’, playable=YES, type=STATION, containerId=‘null’, name=‘Café del Mar Radio (official)’, imageUrl=‘http://cdn-profiles.tunein.com/s280322/images/logoq.jpg?t=155058’}, BrowseResult{container=NO, mediaId=‘s87683’, playable=YES, type=STATION, containerId=‘null’, name=‘Qmusic’, imageUrl=‘http://cdn-radiotime-logos.tunein.com/s87683q.png’}, BrowseResult{container=NO, mediaId=‘s25072’, playable=YES, type=STATION, containerId=‘null’, name=‘538 102.3 (Top 40 %26 Pop Music)’, imageUrl=‘http://cdn-profiles.tunein.com/s6712/images/logoq.jpg?t=636219’}, BrowseResult{container=NO, mediaId=‘s17525’, playable=YES, type=STATION, containerId=‘null’, name=‘NPO 3FM 97.1 (Top 40 %26 Pop Music)’, imageUrl=‘http://cdn-profiles.tunein.com/s6707/images/logoq.png?t=636268’}, BrowseResult{container=NO, mediaId=‘s223552’, playable=YES, type=STATION, containerId=‘null’, name=‘Radio 10 88.1 (Classic Hits)’, imageUrl=‘http://cdn-profiles.tunein.com/s16793/images/logoq.png?t=1’}, BrowseResult{container=NO, mediaId=‘s98555’, playable=YES, type=STATION, containerId=‘null’, name=‘Sky Radio 101 FM 101.4 (Top 40 %26 Pop Music)’, imageUrl=‘http://cdn-profiles.tunein.com/s9067/images/logoq.png?t=1’}]
2020-02-05 19:55:05.045 [DEBUG] [binding.heos.internal.api.HeosFacade] - Response: HeosObject{rawCommand=‘browse/browse’, attributes={count=2, returned=2, sid=1025}}
2020-02-05 19:55:05.046 [DEBUG] [binding.heos.internal.api.HeosFacade] - Received results: [BrowseResult{container=YES, mediaId=‘null’, playable=YES, type=PLAYLIST, containerId=‘224711’, name=‘bla’, imageUrl=‘’}, BrowseResult{container=YES, mediaId=‘null’, playable=YES, type=PLAYLIST, containerId=‘224712’, name=‘bla344444’, imageUrl=‘’}]
In PaperUI I see HEOSBar_Favorites changing to the currently playing station ID eg s280322.
I’m using the correct item:
openhab> links list|grep -i favor
HEOSBar_Favorites → heos:player:-1715433282:Favorites
There is nothing else using this item (no rules, only mentioned in the sitemap):
[20:16:37] root@openhab:/etc/openhab2# grep -inr favor *
sitemaps/home.sitemap:134: Selection item=HEOSBar_Favorites label=“Favorites” icon=“music”
[20:16:43] root@openhab:/etc/openhab2#
What am I missing?
What version of openHAB are you using maybe the support for those dynamic list is not the same in older versions? How does it look in the basicUI? Do you have screenshots for us so that we understand the problem? Thanks!
Hi,
I’m running the latest stable version 2.5.1
Ok, this is odd. I didnt have basicUI installed so I installed it to take some screenshots and suddenly Favorites started working. Maybe installing basicUI restarted/reinitialized something?
Anyway,
Before:
After:
BasicUI (only after)
The Playlist is still empty in both UI’s but the playlists might be empty.
[update]
Same issue again, I added some favorites in the HEOS app and restarted the binding. Somehow the option list is not being populated
Since I have no idea what I did last time, I don’t know how to fix it
Hi,
After 24 hours still no favorites
What I tried: (and does not work)
- Restarting bundle
- Refreshing bundle
- Recreating item
- Re-linking item to channel
- Rebooting OH
- Forcing bridge to sign in again by changing credentials
- Clearing cache
Then I uninstalled Basic UI… and all my favorites appeared again. Apparently (un)installing Basic UI triggers something to reload?
If you could enable debug logging if the problem appears again I would be interested in the debug logging of org.openhab.binding.heos when restarting openHAB
Enabled debugging to a separate logfile and restarted the binding @ 19:24:49.747. After the restart my favorites are gone.
HEOS.log (65.5 KB)
If you need additional information let me know!
Oh btw, my setup is a Heos bar, a Heos subwoofer and two Heos 3 “surround” speakers. No groups because they are all connected to the bar. In openHAB I have one bridge (heos bar) and one thing (heos bar).
reinstalling any binding “fixes” it
I can see it fetching the data, I do not yet see why it would fail? I see two fetches going on one of the favorites and one of the playlists.
So you don’t see those favorites / playlists in the paperUI and the basic UI. What version are you running? Anyone to which this sounds familiar?
Thats right, it fetches the data but it doesn’t show up in any UI; (paperui, basic ui, habmin, habpanel, android).
like this:
Because reinstalling any binding temporarily fixes the problem I thought it had something to do with the core, but I have other bindings like Home Connect installed and the program selection for my dishwasher works fine every time.
The only other thing I could think of is that I cannot link the heos bar channel in the bridge, there is no profile available:
I’m able to link it through habmin and then switch it ON but that doesn’t make a difference.
Heos binding:
299 x Active x 80 x 2.5.2.202002031257 x openHAB Add-ons :: Bundles :: HEOS Binding
Openhab:
[11:38:19] root@openhab:/home/openhabian# dpkg --list | grep openhab
ii openhab2 2.5.1-2 all openhab2
Maybe @MDAR has the same issue when restarting the binding?
Sorry to disappoint you, everything is working well for me.
Now that I’ve put the correct version of the binding in (and insured that there aren’t any artifacts of the previous version present in Karaf)
hi Everybody
i use the newest buld from the plugin and i have openhab 2.5.3
everything works with denon with play music and volume control.
the only thing i cannot do in a rule is to group special speakers in a rules, i tried evertyhing but whenn the group is not build in heos correctly it wont work.
can somebody help me how to specify a rule, to make a specific group (say speaker 2 and 3 together) (and if speaker 1 2 and 4 is in a group, it’s ungrouped and build the new group 2 and 3
thank you very much in advance
Philipp
nobody can help here?
First build the group manually in the HEOS network. Then the group will show up in your Inbox. Add that group (do that for each group you want to use). Use the Group/Ungroup switch channel on every group to group/ungroup that group.
You can group them easily with this switch from a rule also. Just send ON to group them or OFF to ungroup…
@martinvw’s changes are working great for me so far. Thanks! Favorites set up this way seems to work very well.
Forgive me if this has already been discussed (I didn’t find anything searching the thread and I am new to HEOS), but would there be any way to add the ability to get the images (or image URLs) representing the favorites as well? I noticed in the telnet data that it is available from HEOS, and it would be great to use that to create favorite buttons with images on HabPanel.
I’m not sure how this would best be handled, but even if it was raw json data provided by the binding in a channel (like z-wave locks) with the favorite info and image urls that would be really useful!
Thanks