WallPanel for Android [Formerly HomeDash]

@sjefen It would almost be faster to driver over to ask you (from Mandal!), but I guess that would be a bit imposing… :rofl: But you seem to know this stuff, so I’ll try to ask you anyway: I need to wake the tablet with MQTT from Node-RED (standalone) to WallPanel. I have the NR flow set up with topic madmax/wallpanel/command and I have my WallPanel base topic set to madmax/wallpanel/. Then I have the payload set to JSon, "{\"wake\": true, \"wakeTime\": 30}", but nothing happens. Nothing at all. And I can’t see the battery sensor sends anywhere either. This is the setup for the MQTT in WallPanel:

Enabled MQTT Client blue and to the right
MQTT Broker address http://192.168.2.101
MQTT version 3.1.1.
SSL/TLS off
Port 1883
Base Topic madmax/wallpanel/
clientID mywallpanel (didn’t change this)

I have also activated sensors, only battery works. Do you see any weirdness in this?

Edit: I tried it as an automation in Hass as well:

</s> <s>#Test - Vekke nettbrett</s> <s>- id: '15323583268789989'</s> <s> alias: Vekke nettbrett</s> <s> trigger:</s> <s> action:</s> <s> - data:</s> <s> topic: madmax/wallpanel/command</s> <s> payload: "{\"wake\": true, \"wakeTime\": 30}"</s> <s> service: mqtt.publish</s> <s>

I see the MQTT message in Node-RED, but nothing happens to the tablet.

I found the problem: I had misunderstood the need for http://. It works without, of course. Sorry about the brain fart… :upside_down_face:

1 Like

Has anyone found a way to have the Wallpanel do a daily refresh? Whenever HA restarts, all tablets display code instead of the dashboard.

I use an event for refreshing when the dashboard is updated, you could do the same with a time trigger. Requires MQTT though.

alias: Refresh wallpanels when Lovelace is updated
description: ""
trigger:
  - platform: event
    event_type: lovelace_updated
condition: []
action:
  - service: mqtt.publish
    data:
      payload: "{\"wake\": true}"
      topic: wallpanel/opo/command
  - delay: "00:00:02"
  - service: mqtt.publish
    data:
      payload: "{\"reload\": true}"
      topic: wallpanel/opo/command
mode: single
2 Likes

thats nice, copy paste to my system, thanks for sharing.

Yeah, i used that, too. But the problem of this approach is that ALL devices are updated each time you press “save”, no matter if they show lovelace you edit or not. It’s not a big deal, but it can get annoying since i have “many” tablets around my house…
So i rather use “selective semi-manual” approach: i created input booleans for all devices and when i edit lovelace i turn on only those effected. Then i created an automation-script which refreshes selected tablets with fully’s rest command.

Does anyone have automatic dark mode working?

Does anybody know how to open external apps through the wallpanel app with lovlace ui?
According to the docs of wallpanel it has support for the ‘intent’ feature for this purpose. But I can’t get it to work.
I tried different URI syntax I found online, like “app:”, “spotify:” and of course “intent:”, but nothing worked from within wallpanel. I even used the example code given in the source code for intent parsing:

intent:#Intent;launchFlags=0x10000000;component=com.amazon.avod/com.amazon.avod.client.activity.HomeScreenActivity;end

It always opens a new site with the error: “Connection Error”.

Interesstingly, most of the URIs I tried do work if I use the homeassistant companion app on the same tablet.

I did use this intent URI in an lovelace entity block e.g.:

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

Can anyone help me out with a hint? Thanks!

2 Likes

Hi everyone,
I have trouble sending a template mqtt payload:

service: mqtt.publish
data:
  topic: wallpanel/mywallpanel/command
  payload_template: "{ \"brightness\": states.sensor.brightness_smart_clock_conversion.state }"

I have the brightness value as an input_number variable (ranging from 0 to 100%) in order for me to ajust brightness directly through my wall panel and a slider.
Does anyone know what I did wrong?
Thanks !

I installed this app today, I have configured everything, I have the MQTT sensors working, but I can’t send any command through MQTT to the tablet…
HTTP commands are working ok, MQTT no.

Any idea?

Edit:

I solved it…

Seems that if you have the base topic like this “wallpanel/mydevice”, the mqtt topic which you want to publish, should be like this “wallpanel/mydevicecommand” (without the dash)… which is very strange…

Thanks to @mannebk with the information from this post Wall panel, help with mqtt commands, locked my self out, mqtt command for settings menu, mqtt command for tts talking - #5 by mannebk

When I turn on the MQTT client in the settings, the tablet (Samsung Tab A7 Lite) turns on the screen every 3 minutes. If I turn off MQTT, then there is no problem.

At the same time, there is no such problem on another tablet (Teclast P80).
Any ideas?

Is there anyone that has recently built a new APK and would be willing to share? Latest one on Github is from January. Unfortunately I don’t have the skills to build one myself.

It doesn’t look like the source code has been updated since then so a rebuild would get you the same apk from the releases.

It’s been a while since you posted this message. I’m trying to do the same thing and running into the same problem. Did you find a solution? I found out the function works when you initiate it as a MQTT message, which means you can have a script in HA fired when a button is pushed on the panel to do this. However, it doens’t work well if you want to do this on multiple panels logged in with the same HA user profile like I do. I don’t know how to tell HA which panel triggers the script so it would publish the MQTT message to the corresponding basic topic. Does anyone have an idea?

I’ve been frustrated for a while now by my Panel running Fully Kiosk taking ages to display Apex and Mini Graph cards! Looking for alternatives I came across WallPanel.
It’s taken me about an hour to get it installed and set up and I must say it was fairly straightforward - even the MQTT bit and getting the few sensors i needed.
And the graphs get displayed fully now in a second or so. Much better.
One thing I’m not seeing is a stream from the camera which I have enabled. How can I get it?

Anyone know what I am doing wrong here with my restful command:

  wallpanel_screen_on:
    resource: "http://192.168.1.98:2971/api/"
    method: POST
    payload: "{"wake": true, "wakeTime": 180}"

Check it with curl

how do I do that? I am new to REST

https://www.baeldung.com/curl-rest

https://www.linode.com/docs/guides/curl-for-rest-api/

Google finds many more, including YouTube videos if that is your thing.

HA has curl installed.

Although looking at it, I think your url should be

resource: "http://192.168.1.98:2971/api/command"

Help.
I’m trying to use the audio command and not hearing anything.
I have an audio file on a network drive with the path

192.168.x.y/Public/Media/hourlychimebeg.mp3

When I type this in Chrome it plays the clip.
When I use HA Developer Tool/Actions to send the URL as part of an audio command to Wallpanel, I get nothing. No indication of an error in HA nor the panel itself.
The Topic is

wallpanel/mywallpanel/command

and the Payload

{"audio":"file://192.168.x.y/Public/Media/hourlychimebeg.mp3"}

I’ve tried it withoiut the file:// prefix and with http://. They don’t work either.
The volume is set to 80%.
If I send the payload

{"speak":"hello"}

that works fine.

What am I missing?

Edit:

I randomly looked for an audio clip on the net and came across this url of a sci fi space laser firing…

https://codeskulptor-demos.commondatastorage.googleapis.com/GalaxyInvaders/alien_shoot.wav

When I use this in the payload, it works! Still don’t see what I’m missing though.