Dashboard parent app errors from Hubitat built-in drivers

All of the sudden these events started appearing in the log. It started after making changes to a driver, however I'm baffled as to why... app 35 is Dashboard. Not a specific one, but the Dashboard parent app. This driver has no dashboards.

How can I find out what's causing this?

app:35 2020-04-04 02:50:51.185 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:50:26.150 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:49:46.145 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:49:43.122 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:49:38.116 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:49:32.957 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:49:28.034 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:49:23.003 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:49:18.008 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:49:12.964 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:49:08.124 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:49:03.102 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:48:58.137 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:48:53.074 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:48:48.627 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:36:49.258 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:36:00.763 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:35:58.836 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:35:53.683 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:35:49.656 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:35:43.718 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 02:35:39.359 pm warn Excluded attribute notificationText size of attribute > 1024 characters

This error has been covered by several other threads here on the forum. Here are a few of them.

1 Like

Thank you. I did read those, and found that I could work around it by disabling drivers until it stops... but since this started happening after I updated a driver I'd rather fix the source.

Problem: my driver doesn't have a notificationText attribute... so this appears to be coming from something responding to a Rule action based on my driver one supposes. So I'm looking for some way to narrow down which app is generating the event.

@bravenel all of these issues (the above ones and this one) have the common need to know where it's coming from. Can you get this error tweaked to indicate what is the source of the attribute which it has issues with?

Please re-read this thread. This has all of the answers to you questions. I could re-type them but this is faster.

The problem is one of your devices has an attribute over 1024 characters and that device is selected to be accessed by a dashboard app. Not displayed necessarily, just accessed. All the devices are loaded when the dashboard is.

attribute notificationText

It's right there in your logs. A device has this attribute and it is over 1024 characters. it doesn't have to be displayed on a dashboard, just toggled on as being available to add to that one. What devices do you have that have the attribute "notificationText"?

It is whatever dashboard app35 is. You can click on the WARN button and it should launch the dashboard app. not the dashboard itself, just the app for it.

...nor can I find one. In fact, the only event happening in the logs near this error from dashboard is Hubitat-provided drivers:

app:35 2020-04-04 02:50:26.150 pm warn Excluded attribute notificationText size of attribute > 1024 characters
dev:357 2020-04-04 02:50:25.642 pm info Keypad was disarmed [digital]

and another example:

app:35 2020-04-04 03:00:44.222 pm warn Excluded attribute notificationText size of attribute > 1024 characters
app:35 2020-04-04 03:00:39.534 pm warn Excluded attribute notificationText size of attribute > 1024 characters
dev:486 2020-04-04 03:00:37.714 pm info Deadbolt - Front was unlocked by thumb turn [physical]

There are no logs from my driver or anything custom, non-Hubitat provided that precede these warnings by less than 20 seconds or more.

Uhm - I don't code, but could it be possible that the opposite is true? It's looking for the excluded attribute? Just a guess, but maybe try to add it and see?
:woman_shrugging:

Look at app 35, what is it? A dashboard, correct?

There is a device on that assigned to that dashboard that has the attribute notificationText. That attribute is over 1024 characters.

Do you understand how to find the app that is generating the error? In the logs, click on WARN. That will bring you to the app that is posting the erorr.

image

Then, look in that dashboard app, at the device that you have enabled for that app. One of those devices in the offending device.

This is not a problem with a device and the device might not post any error at all.

There won't be.

No drivers on your system have that attribute? None at all? Then how could it be over 1024 Characters long?

35 is the dashboard parent. All of my dashboard apps are 3-digit numbers.

Here's some more timeline events with only built-in drivers and the Zooz driver. There's zero activity related to my driver here, and yet these started happening after an update to my driver.

app:352020-04-04 02:49:46.145 pm warnExcluded attribute notificationText size of attribute > 1024 characters
dev:3252020-04-04 02:49:44.127 pm infoPower Strip - LR Side Table energyDuration is 74.49 Days 
dev:3252020-04-04 02:49:44.105 pm infoPower Strip - LR Side Table energy is 9.66 kWh
dev:3302020-04-04 02:49:44.098 pm infoLR Power Strip P5 - Controller Charging Station energyDuration is 74.49 Days 
dev:3302020-04-04 02:49:44.029 pm infoLR Power Strip P5 - Controller Charging Station energy is 0.98 kWh
dev:3292020-04-04 02:49:43.991 pm infoLR Power Strip P4 - Ionic Pro energyDuration is 74.49 Days 
dev:3292020-04-04 02:49:43.901 pm infoLR Power Strip P4 - Ionic Pro energy is 1.65 kWh
dev:3282020-04-04 02:49:43.834 pm infoLR Power Strip P3 - empty energyDuration is 74.49 Days 
dev:3282020-04-04 02:49:43.584 pm infoLR Power Strip P3 - empty energy is 2.44 kWh
dev:3272020-04-04 02:49:43.455 pm infoLR Power Strip P2 - Physically Blocked energyDuration is 74.49 Days 
dev:3262020-04-04 02:49:43.250 pm infoLR Power Strip P1 - Google Home energyDuration is 74.49 Days 
dev:3272020-04-04 02:49:43.242 pm infoLR Power Strip P2 - Physically Blocked energy is 0.36 kWh
app:352020-04-04 02:49:43.122 pm warnExcluded attribute notificationText size of attribute > 1024 characters
dev:3262020-04-04 02:49:42.959 pm infoLR Power Strip P1 - Google Home energy is 4.23 kWh
dev:3252020-04-04 02:49:42.692 pm infoPower Strip - LR Side Table power is 5.5 W
dev:3302020-04-04 02:49:42.506 pm infoLR Power Strip P5 - Controller Charging Station power is 0 W
dev:3282020-04-04 02:49:42.336 pm infoLR Power Strip P3 - empty power is 3.1 W
dev:3292020-04-04 02:49:42.295 pm infoLR Power Strip P4 - Ionic Pro power is 0 W
dev:3272020-04-04 02:49:42.069 pm infoLR Power Strip P2 - Physically Blocked power is 0 W
dev:3262020-04-04 02:49:42.064 pm infoLR Power Strip P1 - Google Home power is 2.4 W
app:352020-04-04 02:49:38.116 pm warnExcluded attribute notificationText size of attribute > 1024 characters
dev:1052020-04-04 02:49:36.218 pm infoAeotec Switch6 power is 0.000 W
dev:1052020-04-04 02:49:36.117 pm infoAeotec Switch6 energy is 7.381 kWh
dev:1052020-04-04 02:49:36.113 pm infoAeotec Switch6 energyDuration is 305.79 Days 
dev:1052020-04-04 02:49:36.015 pm infoAeotec Switch6 current is 0.000 A
dev:1052020-04-04 02:49:35.982 pm infoAeotec Switch6 voltage is 120.898 V

It's the dashboard parent, not a specific dashboard. If I go to the app list and hover over the dashboard children, they are all 3 digit numbers. The dashboard parent is 35.

That's why this is confusing.

No custom drivers or apps have that attribute. I can't see the code for the built-in drivers or apps.

What do you mean by excluded attribute?

There are no attributes by that name that I can find in any custom code. So this is coming from a built-in app.

#1 apps don't have attributes. #2 you know what attributes the Hubitat drivers have since they follow the standard device capabilities described in the docs. So, I'm willing to bet this is coming from a custom driver.

#2 you can see what attributes your device have by clicking on them, can't you?

Think about it for a second.....the attributes name is notificationText. What devices do have that do notifications? Start with those. But you have a device that has that attribute because it is over 1024 characters.

Apps do not have attributes.

I will say it again since you don't seem to be listening. There is a device on your system that has that attribute and that attribute has text in it and that text is longer than 1024 characters. So, when the dashboard app tries to load all the attributes for the devices within the dashboard, it can't load this one because it is too long.

Do you have any mobile devices connected to Hubitat? That attribute is used by the mobile device driver.

At this time I only have two custom drivers, and since you won't believe me when I tell you over and over again they don't have this attribute, you are welcome to read the code for them yourself:

Something is sending notifications to your phone that are over 1024 characters long. Or did...and the attribute is too long for the dashboard. You have to clear the attribute by sending another notificaiton.

Nevermind. I found the device which has notificationText ... it is the phone App provided by Hubitat.

https://www.google.com/searchq=hubitat+notificationText

I SAID THAT 5 MINUTES AGO!!!

I give up man....good luck to you.

I have nothing sending notifications to phones. I don't use that feature at all. How would I clear an attribute of something I don't do?

I found the attribute on the phone device, but there is no clearAttribute() feature available to me AFAIK. What's also interesting is there is no code to send anything to this phone, and yet that attribute currently contains nearly a week's worth of the Abode device logs.

I also don't understand why this started appearing after my driver update... on the dashboard parent. I have confirmed FYI that none of my dashboard apps have all devices enabled, nor have my Abode driver's device selected. So I have correlation that makes absolutely zero sense for causation :frowning:

I think this is memory corruption or something else going on here.

Look at your phone device in Hubitat. There is an attribute called noticationText
image

That text will be longer than 1024 characters on your device. To clear it, just type anything in device notification and send another notification.

You must have some app that is sending notifications to that device. Otherwise the field would be blank.

No, there isn't. If you would just listen to me for 2 seconds rather than to assume what you think is right, you would have the solution.