My dashboard has worked fine for a couple years. When rebuilt it recently and selected the Motion dashboard template for a couple motion sensor I get a grey tile with a question mark. The sensors are connected and working based on their event log. When I switch the template to door or something else, the tiles work. Any ideas what's wrong?
What does "Current States" on the device detail page for one of the affected devices look like?
It shows open when I walk in front of the sensor and closed when I leave
For the "contact" attribute, I assume? (I asked what "Current States" looks like because this will show all attribute names and values; you provided only a partial description.) If so: why is a motion sensor using a contact sensor driver, or are you expecting a contact sensor to work as a motion sensor on Dashboard? Dashboard can't convert one device type to another. Either you're using the wrong driver for this device, or you'll need to use some solution to "mirror" the events you see into the ones you need.
Sharing more information about your device (manufacturer, model, and driver in use on your hub) would be helpful if you want more assistance.
Thanks for your help.
My contact and motion sensors come from a Konnected board integrated with HE. In Konnected, the device types are correct, but for some reason when they are picked up as child devices in HE, everything was made a contact sensor. That has never happened before. I changed the device type to generic component motion sensor and this allowed one of the three motion sensors to work. The working one's Current State shows contact as "open" and Motion switching between inactive or active when it sees motion. One of the sensors that isn't working on the dashboard has the Current State contact as "closed" and motion switches between active and inactive correctly. The third one that doesn't work on dashboard still showed as a contact even though it was changed to motion sensor in the device information.
Is your Konnected code up to date? I know there was a driver problem made apparent by a recent hub update, which might (or not; I don't know what was affected) be related to everything defaulting to "contact" for you. I believe they fixed this.
I don't use this integration so can't speak to how to correct the device that isn't working for you, but in general, you need to get the device working properly -- which you can see on the device detail page, specifically under "Current States" (you want a "motion" attribute that changes as expected), before Dashboard will work correctly. The Dashboard is just a distraction, a symptom of a different issue, before that problem is addressed. Maybe remove and re-add the device if the integration provides a way for you to do so (removing it from any apps first, including your Dashboard, if it's in use by an apps)?
Thanks. Your instincts on drivers is spot on. I contacted Konnected support a few days ago and learned there were drivers and firmware updates, that they don't notify users about for some reason, that have since been installed. I can see from the working motion sensor what the correct settings need to be. The Konnected side seems to be correct - all three zones are set to the same device type. It's confusing that HE shows the three sensors with different Current States when all were manually set to the same device type. I tried deleting and reinstalling the Konnected app in HE, but it didn't help.
Did you generate any new events on the device since changing the driver, assuming that's what you mean with what you changed above? You'll need that to happen, at least -- changing the driver isn't going to retroactively change anything by itself.
Yes, the motion sensors show activity
As "motion" under "Current States"? Dashboard won't work with a "Motion Sensor" template until it does. If not, and you're using the correct driver, you'll probably need to figure out what is happening with Konnected, as this does not seem to be a platform issue.
Thank you for all your help. I will ask Konnected for assistance with this.
Did you check your dashboard settings? From my experience, a question mark usually means the device is either no longer shared with the dashboard, or the tile is no longer set to use that device or template in the tile settings.
I would confirm the device is still listed in the devices list of the dashboard, and open the tile to make sure the device is selected and it is using the motion template for the tile.
Thanks for the suggestion. When I checked the motion sensor attributes in HE this morning they all miraculously changed to the correct settings and the dashboard shows them working. I guess they are like fine wine and need their time.