TheTimeWalker / wallpanel-android

WallPanel is an Android application for Web Based Dashboards and Home Automation Platforms

Home Page:https://wallpanel.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Intent not working from Home Assistant Dashboard

L1nKinc opened this issue · comments

Describe the bug
First of all, thanks for this great app!
I am using the Wallpanel app with a Home Assistant Dashboard (Lovelace UI). I want to have a Button to open an external app. For this, I use a weblink in an entity element with following code:

icon: mdi:web
name: Google Maps
type: weblink
url: >-
  intent:#Intent;launchFlags=0x10000000;component=com.google.android.apps.maps/com.google.android.maps.MapsActivity;end

When clicking on the link I get a "Connection Error" Page in the app. Tested the very same entity with "fully kiosk browser" which worked as expected.
I also tried different intent links and versions, or tried setting the intent url itself as start page on the app. Nothing worked.

I dont't think this issue is limited to Home Assistant UIs.
Did anyone get intents working in the app and can give me a hint, if I'm doing something wrong?

Maybe related to #49?

To Reproduce
Steps to reproduce the behavior:
Use any intent url in Homeassistant and try to launch an external app. For example the intent from the docs.

Smartphone (please complete the following information):

  • Device: Lenovo Tab M10 Plus 3rd Gen
  • OS: Android 12
  • Application version: v0.10.5 Build 0

Any news on this issue? Does the example code from the docs work for anyone? Maybe I am just doing something wrong. Any hint would be appreciated. Thanks!

Hi, i have the same issue, i want to open Homey android app, works like a charm in Fully Kiosk but cant get it to work in Wallpanel :'(

+1 - I can't get this to work either. A confirmed-as-working example would be very welcome.

@TheTimeWalker thanks a lot for looking into this issue in the last update! But unfortunately the issue is not resolved for me. I can't get any intent working properly.

Could you please give some information how you tested the intents? Maybe I can test your example and see if the problem is on my end.

When I try clicking a link on my Home Assistant dashboard the wallpanel app shows a "Connection Error" page which will revert to the previous page after some seconds.
I also tried sending the "url" command via mqtt with {"url": "intent:#Intent;launchFlags=0x10000000;component=com.ringapp/.ui.activities.LoginActivity;end"} from the docs. After the command is send the app instantly freezes and has to be killed and restarted. With e.g. google the url command works.

Thanks for your help!

I would love to help debugging this issue. I already tried setting up the project as mentioned in Readme/building-the-application. But I couln't get it to compile due to an error I already described in this discussion (#32). It would be great, if you could provide a more detailed explanation on how to setup the project in android studio.

Thank you very much for providing this great app!

So as this is still not solved, can you please reopen this issue @TheTimeWalker ? Or should I open a new report?

Sorry about that, I'll have to find out why it's still not properly working, especially because I forgot the commands I used to test and have it work properly 😅

Don't worry. I am very grateful for your work on this app and I know that your time is limited. So if I can help somehow don't hesitate to ask.

Hi did you (@TheTimeWalker) had time to look on these feature, because its still not working :( im testint since around a hour and cant bring it to work :( could you at least as long as its not working write on the website that these feature is not working atm? @L1nKinc did you got it to work and debugging?

Hi, intent doesn't seem to work yet (i test with youtube and spotify), if i use fully kiosk works perfectly.

I'm seeing the same, having this work would be very useful as I would like to use it to launch a screensaver..