[RELEASE] HD+ - Android Dashboard

@jpage4500 Regarding this:

Another suggestion: is it possible to have the action when activating an Android Auto device automatically be the same as the action that's configured for the same device on the dashboard?

The Android Auto integration is a great concept, but in practice, it's just too complicated to use in a car. I don't want to tap here, tap there, pick a command while I'm driving. I just want to tap a device and know that it will send the command I want. The fewer taps you need to make while driving a car, the better.

On that note, I noticed something that's probably much easier to fix than this change that I suggested earlier and would accomplish the same goal: if there's a button device displayed in Android Auto, and that device only has a single button, don't prompt the user for which button they want to send -- just send "Button 1 pressed" when you tap the main icon in Android Auto.

Would that be possible?

That sounds reasonable. I think by default HD+ will toggle a light or switch but will prompt for sensitive devices like locks, valves or garage doors.. stuff you want to be deliberate with IMO.

btw - it's fine here but there is another HD+ AA thread if that's easier to track questions/suggestions

2 Likes

:point_up: +1
I’d definitely have a use for that feature if it was available.

1 Like

@jpage4500 for some reason I am not able to change the icon of shortcut link. I tried creating a new shortcut and it has the same probem.

The screenshot below shows the icon that is showing up no matter what I select.

This only happens on my samsung galaxy s23+, which is on version 1.0.2410 of the HD+ app.

It isn't an issue on my samsung 8" tablet, which is on version 1.0.2379 of the HD+ app.

Thank you for any help you can provide.

Marc
bad icon

I see the problem and it'll be fixed in the next release

2 Likes

version 1.0.2422 (beta)

  • allow HD+ to be the default home screen
  • add activity monitor device type
  • support Hubitat Security (https) for Backup and Restore to Hub
  • default all local requests to using https
  • fix using custom custom image for shortcut tiles

LOTS of changes in this one.. as such there's always a chance for an issue or 2 so please let me know if you see anything.

First off, you can now set HD+ as the default home screen. This will prevent users from exiting the app so it could be useful for the wall mounted (Kiosk) tablets. HD+ can still open up other apps (such as app shortcut links) -- something the previous 'app pinning' logic couldn't do.

I'm not sure there's a way to directly prompt you to set HD+ as the default Home app but I can open the app preferences which is usually where this setting can be changed. You can open it from menu -> Security -> Default Launcher

Next up I changed the app to use https by default for all local requests. If for some reason https doesn't work (and let me know if it doesn't), you can switch back to http. If the app is already logged-in, open menu -> Hubitat Hub -> Hub Details and enter "http://HUB_IP" (see screenshot below).

If you're not logged in yet, there's a new checkbox in the login screen which you can uncheck to use http.

Related to https, I added support for Hub Login Security (username/password). If you try to do anything that requires a Hubitat Login, HD+ will prompt you for username & password. This should work for the auto login as well as backup and restore to the Hub features.
image

Lastly, I added a new device type, Activity Monitor. You can add it like any other HD+ tile (menu -> edit -> add tile (+ button) -> activity monitor.

I wanted something that supplements the Battery Monitor.. I noticed I have some devices that report battery = 0 but are still reporting events. I found the Device Activity Hubitat app but it didn't really work/display on the dashboard. What I'm doing is pretty simple for now -- it'll just display devices ordered by last activity time. If you notice some devices don't have anything listed for the time -- it's a bug (feature?) that I've asked about a few times in the past but no answers yet.

Anyway, I'm open to ideas how to make this more useful.. maybe combing it with battery info as a way to identify which devices need attention.

image ->

6 Likes

This would be doable but wasn't a design goal I had originally or a request that has ever come in since. If you can display variables, there could be some option to write something out to a string in whatever format would work.

getting a load of errors from this so need to go to Http. I would like to use it but need to now why it doesn't work.

one of the errors "unable to connect to server"

a thing to note, when i do discover hub i get can't get hub details.

No issues here.

can you connect to the hub standard web page using https:// ? i can't

That's strange.. I know I get a "not secure" warning in Brave/Chrome. I just noticed that the SSL cert expired on Apr 14, 2021 so that might be why the warning.

I don't know if there will be errors in the device log but if you enable debug mode, do some https actions and send a support log I can take a look.

Hopefully you're able to use http in the meantime

1 Like

Yes- this works for me. After I log in, it displays my devices.

Do you have a SLL cert set up? I can't find any other settings that would suggest that it allows it to be turned on or off.

No SSL cert setup here. I would PM @jpage4500 your device log after enabling debug mode -- hopefully he can help get it fixed.

Sent one with Https and one with http

1 Like

From what you have said not sure he can as I wonder if it something with my hub.

1 Like

I cannot connect using https either.

I see the error:

03/10 00:03:36    E    HubitatManager    fetchHsm: Exception:Read error: ssl=0xb4000073bb0cb018: Failure in SSL library, usually a protocol error error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE (external/boringssl/src/ssl/tls_record.cc:592 0xb4000074eb042810:0x00000003)

Is it a Pixel 7? That's what I have too.. now I'm even more confused. I remember when first working on this app I had issues with really old devices and https.. that's likely why I was using http by default.

Are you able to use the app remotely? If so, https is working but it's this specific Hubitat SSL certificate that's causing the issue.

I'll keep researching and figure something out.

1 Like

Is there a way to tell the SSL engine to ignore certificate errors (only when in local mode)?

I wonder if it's related to the hub somehow, too. What model hub do the people who are having SSL trouble have?

Yes

Yes

See my PM

Edit I can now connect via HTTPS