The card is a list of favorites. Personally I have only 4. When you click it an api cmd is sent to play that preset. There is also a cmd to get the list.
As far as I can tell this is not possible. I can not add a custom capability that dynamically adds it’s options. I have asked on the developer channel on Slack to get confirmation.
One of my 4 bluesound devices now installs fine but homey then immediately says it’s unreachable. The other 3 devices work fine. I’ve restarted the app, the Bluesound devices and my WiFi. I have all the latest updates installed.
Not a clue, the Homey app has not changed. So either Bluesound changed their (undocumented) API or something in your setup has changed. Since none of the others using this app seem to have this issue I’m guessing it’s something in your setup. Does the device have a static IP and did you try running the app from the command line to see if that gives any more information?
[EDIT]
I see you submitted a log. I see two things here, it’s not able to parse a specific response. I can look into that if you can send me the result from http://<<yourip>>:<<yourport>>/Status. But I also see the device goes offline so perhaps at the same time and is unreachable. Perhaps the response is malformed due to the device going offline. You should like into any connection issues as well.
2019-09-29 15:46:05 [log] [ManagerDrivers] [bluesound] [0] TypeError: Cannot read property '0' of undefined
at /lib/util.js:70:43
at Parser.<anonymous> (/node_modules/xml2js/lib/parser.js:303:18)
at emitOne (events.js:116:13)
at Parser.emit (events.js:211:7)
at SAXParser.onclosetag (/node_modules/xml2js/lib/parser.js:261:26)
at emit (/node_modules/sax/lib/sax.js:624:35)
at emitNode (/node_modules/sax/lib/sax.js:629:5)
at closeTag (/node_modules/sax/lib/sax.js:889:7)
at SAXParser.write (/node_modules/sax/lib/sax.js:1436:13)
at Parser.exports.Parser.Parser.parseString (/node_modules/xml2js/lib/parser.js:322:31)
2019-09-29 15:46:07 [log] [ManagerDrivers] [bluesound] [1] { FetchError: request to http://192.168.178.24:11000/Status failed, reason: connect EHOSTUNREACH 192.168.178.24:11000
at ClientRequest.<anonymous> (/node_modules/node-fetch/lib/index.js:1345:11)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at Socket.socketErrorListener (_http_client.js:401:9)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at emitErrorNT (internal/streams/destroy.js:66:8)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
message: 'request to http://192.168.178.24:11000/Status failed, reason: connect EHOSTUNREACH 192.168.178.24:11000',
type: 'system',
errno: 'EHOSTUNREACH',
code: 'EHOSTUNREACH' }
2019-09-29 15:47:08 [log] [ManagerDrivers] [bluesound] [0] Device is not reachable, pinging every 63 seconds to see if it comes online again.
My Homey died last night. So I won’t be able to test it. I didn’t change anything lately in my set-up. About 2 months ago I made it better by connecting one of the devices via cable and no longer using wifi. I do update sometimes Bluesound. But up until this moment that never caused anything.
The device is for sure online, I had my PC open and the official buesound app (that use the same API). And I can ping it, i can sent any command. Test connection gives a 100% online respons, but when it was added it was 100% offline.
I would not know. I built this app purely based on documentation, I do not own a Bluesound device myself. If that device uses the same API as other Bluesound devices you will be fine. Either try it yourself or find someone who has already tried it.
@Phuturist my NAD still times out sometimes, same issue since the start. You always suggested me to do a CLI-install of the app in order to debug.
Well, i lost motivation to play with my Homey when it died. But now i’m slowly recovering and getting to the point that i should investigate this issue.
Before I find out how-to CLI install an app on a Homey. I was wondering, can’t you submit your app to the new Homey Community Store so that I can install it with a single click? Is it then debug-able? Or should I still go for the CLI-way.
And if I do install it that way, can i run both apps next to each other? Or should i remove the official one. And how can I do debugging in order to find out what’s the issue?