Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mqtt command back to wallpanel app #363

Open
ice2009 opened this issue Oct 3, 2023 · 4 comments
Open

Mqtt command back to wallpanel app #363

ice2009 opened this issue Oct 3, 2023 · 4 comments

Comments

@ice2009
Copy link

ice2009 commented Oct 3, 2023

Hello :)

I need help from mqtt. After ringing my doorbell, wallpanel opens the Reolink application. I would need an mqtt command to close reolink application or re-open the wallpanel application with a mqtt command.

This command for reolink application

service: mqtt.publish
data:
  topic: wallpanel/mywallpanel/command
  payload: '{"url": "intent:#Intent;launchFlags=0x10000000;component=com.mcu.reolink/com.android.bc.login.WelcomeActivity;end"}'
@GernotAlthammer
Copy link

You can use the Relaunch command
See description.
https://github.com/thecowan/wallpanel-android/wiki/MQTT-and-HTTP-Commands
{"relaunch": true} --> Relaunches the dashboard from configured launchUrl

@billchurch
Copy link

See #341

@Jieper001
Copy link

@ice2009 - did you ever got this working? Using the Relaunch command over MQTT doesn't close the Reolink app. I would like to make a script which after x-minutes sends an MQTT command to wallpanel to return to "the wallpanel app".

@ice2009
Copy link
Author

ice2009 commented Aug 6, 2024

Back to the wall app not working for me. I use wallpaper app to default launcher on android settings and after i use tasker for back home after 90 seconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants