Hi everybody
here is A question
(not a programmer in my skill)
we all love HA and want to control every thing within it and
in my case i control my sonoff switches and ir devices with it,
but i want to add more sort of devices.
most of the devices today (cameras, tv’s, reciver’s, kodi, etc )come with theirs unique apps already
wouldn’t it be much easier just to use some kind of URL Scheme for Example in case of iso and other like URL Scheme for android, instead of trying to bring every thing into HA ?
and if so what would i need to do in HA and i would go back from the apps back to HA
for 1
the UI is much more pretty…
i’m not sure that i’l do it but for the sake of argument how can i?
for example i would like to go from HA to SPOTIFY app, can
i do it?
I’m not sure I completely understand what you’re looking for.
From your original post, it sounded like you wanted a way to connect devices without using HA? Now it sounds like you want to run other services in the same window?
Hi
of cores i want to use HA
but from the HA i want to be able to open others apps .
for better understanding i’v xbmc commander app wich
is a kodi control app(very good ui for kodi)
i want to be able to open this app from HA something like of URL Scheme
That’s correct. If you want the browser to open an app for you, you need to write the URL in whatever way the app supports, which is specified in the APK as intent filters. Some apps may not support this at all, and the URL you need will vary across all the apps that do. For less popular apps, you might have to dig into the AndroidManifest.xml file within the APK in order to determine what it supports, if anything.
For example, here is one relevant portion of the Spotify APK:
i thinks its a better way to use HA .
if using only media-control card, your option is limed only
to play, pause, play next etc
- type: media-control
entity: media_player.spotify
this way you open the all app.
this approach witch using the appropriate app and just have the link in HA is better than the one who bring everything in to HA.
and not just for spotify, it could be for every device withh an app. i’v Yamaha reviser ( RX-V673).i’l try it too
i mean if you put fire hd tablet inside the door of your hose
this way you can do alot more
don’t you think?
It really depends on your specific use cases. The great thing about HA is that it’s flexible enough to let you do whatever works for you.
I have lights/switches from multiple different companies, each with their own app, but HA gives me all the control I need for all of them in a single place. I much prefer that over going to each individual app to control the different lights.
I haven’t messed with it in awhile, but last time I tried, the media and camera controls were somewhat lacking in features. That could change in the future, though. For now, if you want a Spotify controller, simply linking to the app probably isn’t a bad approach. You could also just open the app from the launcher though, which would work for any app, even if it doesn’t have the necessary intent filters, and requires no work from the HA side.
However, the main focus of HA is the automation. If you want to turn off all media players in the house when you leave home, then just having the devices/services connected to HA will be better since you don’t need to interface through the Spotify app, which probably won’t even be installed on the server running HA. The ability to control those devices/services from the interface is basically just an added bonus on top of that automation.
That’s correct. in case of lights that the way to go.
i have KNX and sonoff and of course i do control them fro HA
but for instant Yamaha receiver with all the endless feature inside, the best way to go is to combine “weblink” and
Yamaha component just for the minimum control for automation (on, off, vol up, vol down, hdmi select).