[RELEASE] HD+ - Android Dashboard

I didn't think it was possible to get an RTSP video stream from Nest cameras unless something changed recently.. though I did find this page which seems to suggest maybe it is.

I don't have a Nest camera - just some thermostats and this driver works for them.. I'd imagine if video streaming is supported, it'd have to start there first (and if it is already let me know as I haven't followed this thread latest)

Apologies if it's posted here somewhere. I just got an interesting device that let's me turn my head unit in my car into an android tablet via the wired carplay connection. Pretty damn slick. Thinking about putting this app on there.

So the question. Does the android app work in android 9?

Yes. I have an Android 9 head unit and the Dashboard app works fine. The widgets have some issues on mine but your mileage may vary.

1 Like

It doesn't necessarily have to be an rtsp stream from a Nest camera. I have some nest cams and an standalone NVR that allows rtsp streams. A stream from either one would be great. I can already get the stream from the ip camera using vlc. Just wondered of I could get it in the dash

1 Like

Yes, single button. I was trying to setup a virtual button and some samsung buttons. Anything you do sounds reasonable to me. Thanks again.

1 Like

Sounds interesting. Do you mind sharing more details about the head unit and device?

Nothing too fancy it is the stock head unit in my 2019 camry. The key is they need to have wired carplay support.

Here is the device I purchased.

https://www.amazon.com/gp/product/B09G9KPXHW/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1

Here is a video of a similar device in action on pretty much identical head unit in my car. (there seems to be several clones of the product. I wish I had researched and gotten the applepie mini). A few quirks to be sure but you gain so much. It is really impressive.

1 Like

morning - I recently began building a new hub dash-android - I'm getting no option to change Tile type to HTML on these:

I went back and compared them to the functional dashboard - and see they are 'web tiles' - I don't remember doing it but I must have added them by hand. Also my OpenWeatherMap doesn't offer 'Weather' as a tile Device Type any longer... Should I clear everything and start again or is this worth checking into?

Caught another item that might need attention - Recall the other day I had Hub Update tile on screen. I moved it and dropped it up top of my tiles.
Then it disappeared and all my tiles moved around. It may be best to have a placeholder tile for dynamic tiles such as this to maintain layout integrity.

Hi @jshimota / @jpage4500 - this is very cool, how do I set this up? I can't seem to find this tile anywhere. I've tried to copy the hub information driver tile, but it's not the same. Thanks!

Hi

I am very p;eased to see the progress you are making with the app.

Daylight saving is upon us in the UK and it brings with it an issue reflected in the app.

I have some hub variables that are set to Sunrise, Sunset and Sunset+Offset. They have been showing up in the app correctly until today when the format in Hubitat has changed, dropping the +/- hours notation for Z. Not sure if this is a Hubitat issue or one for the app, please can you advise.

Attached screen shots show the problem but happy to extract any other details to assist.

Many thanks for your good work.

Chris



Screenshot 2021-10-31 07.16.13

@jpage4500 I was curious. Would it be possible to implement a cloud server for instant updates when away from home network? I realize it would not be for everybody, but google offers free tiers where you can get a very basic linux machine running in the cloud for free. I for one would be willing to set one up for pushing status update vs polling. I know it is likely much more complicated than what I think.

Just thinking out loud. Great app. You really seem to know your stuff when it comes to android. I have not seen many devs on any of the forums working to integrate that system.

Are you talking about the Hub Update tile? The app checks every few hours for a hub update and will show that tile automatically if an update is found. There's a setting (more settings -> check for hub updates) that controls it - it defaults to on though.

It only works if you've had the app running for long enough though - like for always on wall mounted tablets. I don't believe there's a way to check for updates on demand but no reason I can't do that.

1 Like

Yes- that's exactly what I'm talking about. I do have it turned on in settings, but I've never seen it displayed before. Wouldn't you need the tile to be added somewhere ahead of time? Otherwise, where does the tile show up? Just at some random spot?

I've tried to think about how this could be done too.. I even started a thread here with some thoughts. we wouldn't even need a separate cloud server as hubitat apps running on your local hub are already reachable from the cloud. The hub app could try to replicate the hub's /eventstream endpoint -- basically a websocket which the hub could 'push' device updates to any listening clients (such as this app). But, honestly it'd be even easier if we could just access the existing /eventstream endpoint from the cloud - maybe part of the MakerAPI and re-use the existing cloud tokens/access.. I did even hear back briefly from @gopher.ny about something that might be in the works (nothing specific) but that was back in July..

I'd still really love to figure something out for better cloud support (not polling) but I'd need help since I've got no hubitat app development experience

1 Like

I checked and it the app won't look for a hub update until 2 hours after starting it. It hits this endpoint: http://hubitat.local/hub/cloud/checkForUpdate to check (which will only work locally). However, this logic requires you to have the app open for 2 hours - something mostly seen for the wall mounted tablets.

When an update is found, the tile will be added to the list based on your sort order. If you haven't manually rearranged anything, it'll be added to the top of the list. However, if you've changed the order in any way I'm adding it to the bottom of the list and showing a little red asterisk indicating something's there. That was a fairly recent update because it was annoying to have new tiles being added to the top messing up the current layout.

I could easily change the logic to check on app start and then every 30 minutes or so though

Just spitballing - as I have been affected by this cool feature - inadvertently!
This could be broken into two distinct components - a monitor and an active interface.
Having a single tile that can display HE current version and or configurable attributes taken from the settings /hub details page. Then have an active tile (or extension to the monitor tile) that allows for control of the hub update/reboot. Having the hub info on my display is actually something I'm doing already via @thebearmay very cool Hub Information device.
Since I personally don't use remote update/reboot (but I have seen how so many others need it) this may be a good trade-off. Maybe a look at his great code might also give you ideas? Again - I'm just talking! I LOVE this app and tool !!!

1 Like

Gotcha. I like the idea of changing the logic to check on app start and then every 30 mins afterwards. How about making the tile just like the "Pollen Count" - so that way the tile can be placed where the user wants it?

Having an update issue. It seems after the app updates, the hub settings are gone. Happens on all three fire tabs. I have to manually configure them, each time. Anyone else seeing this?

No issues here.