![]()
@jpage4500 I updated to Android 17, and now my HD+ notifications coming via firebase are extremely unreliable. I get 1 out of every 10 if I'm lucky. Do you know what's going on?
EDIT: Seems to be working now - I wonder if Google or Hubitat cloud has issues at the time.
I haven’t noticed anything myself but if there was I think it’d be Google as push notifications go from the Hub → Google → Phone
I have notifications from both the native Hubitat Android app and HD+ (the Hubitat ones come in as silent so I don’t get notified twice but just have it to ensure HD+ doesn’t miss anything). It’s been setup for years and I haven’t noticed any missing but I’ll keep an eye out just in case
This issue still occurs. Got home today and realized HD+ was showing the garage door open, so I waited until I could see it and the door was definitely closed. Pulls down on the dashboard to refresh, and the garage door icon didn’t change. But HD+ knew it was actually closed. The culprit is using something else to close the door, in this case the wireless remote in my car. I normally do it through Android Auto, but I was running late and the backup camera was using the screen in the car so I just used the remote.
I looked at this - and also asked AI to try and figure this one out. Neither found anything obvious why this would occur – just wanted to ask some follow-up questions and maybe get some extra logging.
The activity dialog shows results directly from a Hub API call where the main screen comes from a different API (devices/all) so that doesn’t help too much.
What’s the garage door device driver? I have MyQ but because the MyQ driver doesn’t work anymore I ended up using a contact sensor.. so just want to check if there’s something going on there too.
As for HD+ the only way to really know would be to see the logs when the app is in debug mode. If you’re close to home maybe the phone is between wifi and cellular data? I know I have to do some extra work for geofencing because leaving the house there’s often a dead zone where your phone still thinks you’re on wifi and won’t switch to cellular yet
The Zooz Garage Door Opener. It creates a virtual device using the relay the controls the door and a contact sensor (I use a tilt sensor for this).
I can PM you the log file. I ran this particular instance through chatGPT and it seems to think the issue might be connection stability. But in the past I’ve had it happen while I was at home the whole time.
Here’s what chatGPT said (Sidenote: There used to be a way to highlight text and choose an option that hid most of it in a collapsible box so your post wouldn’t be super long…. The new forum design either doesn’t have that or it’s not obvious… wondering if @gopher.ny knows anything about that):
Yes — a few things jump out, and they line up with the exact symptom you saw.
The most suspicious issue is that the same garage device appears with conflicting state data within about a minute:
At 15:54:42, when you long-pressed/opened the garage device details, the dashboard log shows the device attributes as:
door: closed contact: closedSo the detailed device view agreed with reality: the garage door was closed.
But at 15:55:53, another long-click log for the same device shows:
door: open contact: openSame device ID
44, same labelGarage - Garage Door, same displayed dashboard tile, but now the cached/visible state is open.That suggests the problem is probably not the physical sensor reporting wrong to Hubitat at that moment, because the device detail view had the correct closed state. It looks more like the dashboard app had a stale or incorrect tile/device-state cache.
There are also multiple signs of connection/session instability around the same time:
At 15:54:39, you started a pull-to-refresh. At 15:54:42, the app switched to local mode and created a local endpoint to the Hubitat hub.
Then at 15:56:14, the WebSocket failed with:
reason: Socket closedAnd again at 15:57:53, another WebSocket failure occurred:
reason: Socket closedThose WebSocket failures matter because dashboards often rely on live push updates to keep tiles current. If the WebSocket dropped or reconnected at the wrong time, the main dashboard tile could easily be showing stale state while the detail/properties view had fresher data.
One more notable item: there was an earlier command at 14:06:22 to open the garage door, followed by a failed update at 14:06:27 showing:
door: opening contact: closedThen the WebSocket failed at 14:06:29.
That earlier sequence could have left the app with a bad intermediate/cached state like “open/opening,” especially if the subsequent “closed” update did not make it cleanly to the dashboard tile.
My read: the log points more toward an app/dashboard state synchronization bug or stale cache issue, not a Hubitat device/sensor problem. The strongest evidence is the contradiction where the garage device details showed
closed/closed, while shortly afterward the dashboard representation showedopen/openfor the same device.The entries I’d flag for the app developer are:
06/19 15:54:42 ... handleDeviceLongClicked ... "door":"closed","contact":"closed" ... 06/19 15:55:53 ... handleDeviceLongClicked ... "door":"open","contact":"open" ... 06/19 15:56:14 ... connectWebSocketInternal:onFailure ... reason:Socket closed 06/19 15:57:53 ... connectWebSocketInternal:onFailure ... reason:Socket closedThe likely bug report summary would be:
The main dashboard tile showed the garage door as open even though the physical door was closed. Pull-to-refresh did not fix the tile. Opening the device details showed the garage as closed. Logs show conflicting states for the same garage device ID
44, plus WebSocket disconnects around the same time, suggesting the dashboard tile retained stale state while the device detail view had updated state.
Sorry for the delay - on vacation last week ![]()
The best I could figure out (also using AI to help
) is related to moving between different networks (cellular/wifi). When the app detects a network change, it does it’s ‘cloud check’ to see if it should use the cloud endpoints or not and if that changes it’ll close all connections and re-create them (ie: from using 192.168.0.X → cloud.hubitat.com). On every change like this it should do a full refresh and then connect to the websocket (local only) so no future device updates are missed.
Here’s how I’m reading the logs:
06/19 15:54:18 D HubitatManager fetchAllDevices: FIRST_SYNC: 548ms: CLOUD: updated:8, devices:10
- at 15:54:18 the app does a full refresh and at this point I’m assuming the garage door is closed. I can’t say when you opened the garage door outside of the app but guessing it’s around this time
06/19 15:54:39 D DashboardFragment onRefreshing: pull-to-refresh started
- at 15:54:39 you do a pull to refresh (app is still in CLOUD mode)
06/19 15:54:42 D HubitatManager checkCloudMode: LOCAL: mode:MODE_AUTO, hasPermission:true, ...
06/19 15:54:42 D HubitatManager createNetworkEndpoints: connecting to LOCAL IP: https://192...
06/19 15:54:42 D DashboardFragment handleDeviceLongClicked: TYPE_GARAGE, {"attributes":{"door":"closed"...
- before #2 can finish the network changes to LOCAL mode which cancels the pull to refresh that was started a few seconds earlier. The app should do a full refresh here but it’ll take a second or 2 to get the update that the garage is open.
06/19 15:55:53 D DashboardFragment handleDeviceLongClicked: TYPE_GARAGE, {"attributes":{"door":"open"
- the next time you long-click on the garage it’s showing ‘open’ so I think this is what you were expecting to see 9 seconds earlier. I can’t tell exactly when the app got this state (I don’t log every device update to the log file as that would be too much)
Anyway, that’s my read of the logs. AI did find a single change that could help speed things up and it’ll be in there the next build.
Semi-related - when I leave the house Google Maps is always ‘offline’ until I’m almost a block away. I imagine it’s because my phone thinks it’s still connected to my home network.. it’s always been a dead zone for me.
I am seeing a small issue with the thermostat color change feature.
The thermostat tile background color gradient seems locked to Fahrenheit bounds (0–149) instead of scaling to Celsius (0–65) when Celsius is active
I am running a few software Celsius thermostats that end up as tiles in HD+. Ideally I would like them to be able to change color gradient for Celsius.
In related, after I have “edited” the tile, it will ask for thermostat step to be set. It will set it at 0.5, regardless if I hit cancel or OK, but then also ask next time I have edited. See here: https://youtube.com/shorts/VKglLBaEKsI?feature=share
I’ll PM you another small log dump. This time my phone was on wifi the entire time, so no network switching involved. I pulled up HD+ and thought “I thought I closed the garage door when I came in from mowing.” so I went and checked and it’s closed. The dashboard shows open. The device activity shows the close.
@waterboysh - what device type does HD+ create for the virtual garage door? I had a similar issue a few years ago when some locks or doors I had on my dashboard would appear to be in the wrong state from time to time. In my case the fix was simple - I edited the tile changing the device type to 'generic sensor', then edited the icons back to what I wanted (so it appeared identical). I was monitoring a physical door lock with a sensor and setup had chosen 'lock' (presumably because of its name). That meant the state of that virtual device was changeable/could be controlled directly when it shouldn't (it should just mimic the actual device). Worth a try as it only takes a couple of clicks.
That meant the state of that virtual device was changeable/could be controlled directly
So, you did not want that tile to control the lock? You just wanted to monitor it’s status? And setting it to ‘generic sensor’ allowed you to do that?
@Pantheon - correct. It wasn’t a lock but a fibaro implant with an input that was connected to a manual lock (via micro switch) to monitor its status (not control it) I’d named it ‘Rear Door Lock’. I could easily end up with the tile in the wrong state. ‘Generic sensor’ sorted that and I’ve never had an issue since. In the OP’s case I believe they’re using a virtual device to represent (not control) the garage door position. I wondered if it’s a similar issue to what I had and the virtual contacts tile type is door or garage door.
It is a virtual device, but the type is garage door. I use this tile to open and close my garage door a lot, especially while using Android Auto. I believe the issue is likely a stale cache not updating because it only ever happens when the garage door is open or closed using the button in the garage. It’s wired to a Zen17 (as in the wires from the button go into the input) and there is a tilt sensor on the door. So Hubitat knows when the garage door is opened or closed. HD+ did a refresh and knew the state changed, but it’s using the cached state purely for the display tile. It’s a visual bug only.
@jpage4500 I’m wondering if you could consider a feature request (maybe a repair?)?
I am working on a driver update for OWM and I’m pulling tiles out of my work. Testing using the HD+ dashboard I get a value for the Humidity on all my tiles. If I add background color in my own code, I can sort of hide it but thats not an effective solution. I want to honor the dashboard background. All my tiles that exhibit this behavior are set as Device Type HTML.
Can we get HTML tiles to not have any bottom right corner stuff overlaid? Here are 4 tiles coming from my driver using HTML:
I pulled up HD+ and thought “I thought I closed the garage door when I came in from mowing.” so I went and checked and it’s closed. The dashboard shows open. The device activity shows the close.
Thanks for the logs - I haven’t fully reviewed them yet but I did just push the changes I made a few weeks ago to try and address this. I think I was hoping to have more changes to test but this one seems worth it on it’s own. It should be version 1.0.2818 - hopefully it’ll make it’s way to devices in a day or 2
Can we get HTML tiles to not have any bottom right corner stuff overlaid? Here are 4 tiles coming from my driver using HTML:
you're talking about the "82%" text right? Guess that's a battery or humidity attribute on the device but I don't see why HTML tiles would need anything like that in general.
Yep - thats what it is - humidity. Somehow that leaks into a tile when one selects ‘HTML’ as the Device Type.
I just had some general logic which would put temp/humidity/battery on the status line of a tile (regardless of what type it was).
I removed it from HTML tiles -- I had already submitted to the Play Store so it might be a week or so before making it to the next build though
The thermostat tile background color gradient seems locked to Fahrenheit bounds (0–149) instead of scaling to Celsius (0–65) when Celsius is active
looking at this one now..
The thermostat tile background color gradient seems locked to Fahrenheit bounds (0–149) instead of scaling to Celsius (0–65) when Celsius is active
I think I've got this one fixed. It uses the setting "Use Metric (C/m)" which is in menu -> display options. The temp gradient will show a modified scale that should more represent Celsius









