[RELEASE] HD+ - Android Dashboard

Can you help me reproduce this? You're trying to set a tile icon to fill the entire tile, right? What device type is the tile you're testing?

For the below screenshot I set the tile icon for one of my devices and changed the cropping to "fill tile / no crop". That should use the entire tile size - but because of the 'no crop' option that means the image dimensions should be roughly the same as the tile (meaning - square image for a square tile).

That's why this image "cards.png" (from an above post) looks different depending on the tile size.

image

I don't doubt there's a bug somewhere.. I remember when testing setting button images seeing some weird behavior where the cropping would change when I scrolled in and out of view..

@jpage4500, I appreciate your attention to this. I know this is not a top priority. I have tried many tile types. All of them seem to work the same, cropped images/icons. I would prefer to use the "Image Tile". I have also tried several dimensions/resolutions of images. Most of the time, the image fills the tile as I desire in the "edit" popup menu. But when I close that menu, the bottom of the image in the tile is cropped. Rarely it is not cropped. But when I move that image anywhere, especially on a line with an "Empty Tile", it immediately gets cropped again. Most of my tile images work perfectly on my HD8. I am now working on an HD10 and that may be an issue. I am using a tile size of 1X1. Even images that work perfectly on the HD8 get cropped at the bottom on the HD10. I'm willing to test anything that you would like.

On an older HD10...

On my new HD10

Icon file for testing...

Pop_Rock_Music_Icon

These two tiles are different sizes. I created them exactly the same way. But I moved the lower tile to a folder, which immediately changed it's size and cropped it as you see it. I moved it back to the original location and it remained changed.

I see.. yes, I think it was the image tile that I was having cropping issues with recently as well. I think the app is caching the image and it's not always obeying the 'crop' options when they're changed. I'll investigate!

I'm curious though.. is this tile supposed to do something when clicked or just for displaying the image? I was thinking this was some virtual device or button that did an action when clicked (ie: played some music station)

I actually didn't realize you could change the 'icon' for an image tile.. that wasn't intended. I think I added the ability to set the tile icon for a video tile and image tiles must have been added by accident.


Anyway, somewhat related but I figured I'd share the cropping options for image tiles here like I did for other device type icons since they're different. I attached some examples below.. note that the examples are showing a 2x1 (wide) tile and would look different on a 1x1 tile but this shows the cropping a little better since the picture is tall and the tile is wide (aspect)

left: [no crop]
right: [crop - center]

left: [crop - top]
right: [crop - bottom]

Yes, I have been using the cropping options to see if I can get the entire tile covered. I sometimes get the changes as expected. But again, if I move the tile, it resorts to the larger tile with the cropped bottom.

Yes, previously, I have been using custom icon images for devices (virtual switches/buttons/etc). But more recently, and with this use case, I am using just an image tile as I just want a permanent image displayed.

Odd....I just created a test device (virtual switch) (the bottom right tile in the first image) and changed the icon image. The tile became the bigger size and cropped at the bottom as before. When I moved that tile up and next to the other similar tile, the tile became smaller and the image filled the tile. I moved it back to the lower right, and it expanded again.

Discovered two possible bugs, at least with the Fire Tablets.

1 - When I am renaming an item and tap within the name field, the keyboard does not pop up. If I switch to another app, or go to the home screen, and then back to Hubitat Dashboard via the recent menu, and then click on the name, the keyboard will pop up.

2 - Backups to the hub are saying "backup successful" on the tablet itself, but the date of the file within the HE File Manager is not changing. If I disable the Hub Login Security and do another backup, then the date on the file changes.

I have noticed this as well. I just close the app and reopen it and it works.

1 Like

thanks! I'll make a note to test out both of these

Finally got around to trying this on my Windows 11 desktop and laptop; I downloaded the Amazon Appstore from the Windows Store and it handled installation of the Windows Subsystem for Android automatically (you need to have enabled virtualization in BIOS if it isn't already).

I had been put off by reports saying it was a huge resource hog; it does use about 1.2GB of RAM and initally takes about 12 seconds to initialize the WSA on my 2017-vintage 16GB laptop. But after that, subsequent invocations of Hubitat Dashboard are instantaeous and it works great. I normally use hibernate on the laptop so the 12 second initial startup of WSA isn't a big deal.

Since Hubitat Dashboard isn't available from the Windows incarnation of the Amazon Appstore, you need to sideload the apk after downloading it to your Windows PC from one of the links at the top of this forum (you don't even need to sign in to the Amazon Appstore after installing it).

To do the sideload you need to enable Developer Mode in the settings for Windows Subsystem for Android and install another free Windows Store app (WSATools). When you run WSATools it will automatically install ADB which is also required. Then you just point WSATools to the location of the apk file and you're done.

1 Like

You can also do this via the Aurora Store. Install the Aurora Store apk from their website (the link on WSATools isn't installing the latest version right now - the version WSATools installs fails to connect to the Aurora server).

Once you have the Aurora Store installed, you can find the Hubitat Dashboard app in there. Run Aurora Store periodically and you should be able to keep all apps that you install through it up to date :slight_smile:

No worries, and thanks!

I have been trying this wonderful app and so far am VERY happy with it!
Thank You for all your hard work with this.
I have run into a problem which I cannot seem to solve....
I have a 3 button tile and have changed the buttons to icons, but don't like the icons and want to get the text back, but cannot seem to remove the icon image.
Here is a screenshot of my dashboard with the circled tile...

I would like to replace the "ON" / Amazon smile / fan icons with only text, but how do I remove the icons?

Another question.... on my thermostat tile (T6 controller), is there a way to change the up/down increment? Rather than 1 degree increment, I would like to be able to change temperatures by 0.5 degrees.

Thank You again for this great app!

Sorry for the delay - yes I see what you're talking about..

When I click a button widget, instead of just the buttons, it acts like the edit menu in the app.

This is expected; I replaced the button dialog that just showed the buttons only with the options dialog that you see here. You can still click, double-click or hold on the button to send the commands to the hub - with just the extra menu options. That said though I can see how the button-only popup (no options) would look better from a widget click so I'll see if I can bring it back for that case.

Also when you click off, it shows a dimmed android homepage that you have to click the home button again to exit out of.

I also see this and will get it fixed - thanks

2 Likes

If you open the image picker dialog like you did to set the images -> select "Manual URL" and then hit the X button to clear out the URL and save that.. That should revert to the default (for any custom images)

Thank You! That did it!

How about changing the increment of the thermostat tile? I can change the step increments in a Hubitat dashboard, but can't with the Android dashboard.
Is there a setting in the app that needs to be changed?

I don't have a way to do that in the app.. it increments by 1 degree for Fahrenheit and .5 for Celsius. I don't typically change my thermostat but if I do it's usually only 1 degree at a time.. nothing too drastic. Is there some use case where you and others are changing it by a lot?

FWIW - my ideal UI for changing a thermostat would look something like Nest's app.. I wanted to implement something like this originally but it got too complicated trying to also support multiple modes (heat/cool/auto) -- primarily auto which you can change setpoints for heating and cooling

version 1.0.1420 (beta)

  • widget: fix issue with button prompt
  • pollen tile: add trigger image (grass/tree/weed) to today and tomorrow's pollen count

This should be fixed now

  • I also added a small change to the pollen tile - I'm already fetching 5 days of pollen data from pollen.com but now I'm also fetching the 'triggers' for today and tomorrow (ie: grass, trees, weeds) and showing a little icon for the top trigger. Not sure how helpful it'll be but I'll watch it on my tablet for a while and see if it's useful
    image

As a side-note.. I see there's an asthma forecast which looks just like the pollen.com site. It'd be pretty easy to add an Asthma tile if anyone's interested in this.

oops.. I didn't see your initial comment about this. Actually, the app automatically changes temp by 0.5 degrees if it thinks you're in Celsius.. and maybe that logic is wrong.. basically if the setpoint you're changing is < 40 I'm assuming this is Celsius and using 0.5 increments.

Is this Fahrenheit?

Yes, I am in the "strange land" (USA) of F and inches.