Cannot read property 'scale' of undefined

Hi there!

I’m new to the Homey Community and have bought my first Homey Pro a couple of months ago. It worked just fine until a week ago, when it started to throw errors when I tried to view insight charts.

I have tried re-installing the apps, but to no avail. I also tried searching for it on the forum, but I have not found anything related to it, so I was hoping this post could perhaps help me further.

I’m not too tech savy yet, so there might certainly be something that I’m doing wrong. Do you guys know anything that could perhaps be the issue?

First of all, welcome to the Homey Community!

To make sure you are aware of the forum rules, please read the Welcome to the forum! post here.

If you remove the insights from a device capability, that is causing this issue, using the following method, does the error also disappear?

Otherwise you might want to reach out to Athom for support, via Support | Homey.

please post the error descriptions you encountered :wink:

“Er ging iets fout, probeer het later opnieuw.

TypeError: Cannot read property ‘scale’ of underfined.

in InsightsCapability

in Connect(InsightsCapability)

in withHomey(Connect(InsightsCapability))

in ThemeProvider

in WithThemeDarkComponent

(I already tried changing display theme from ‘Dark’ to either ‘Light’ or ‘System’, but that does not fix anything)

Does this not remove the possibility to access the graphs at a later stage? I’d rather not lose those graphs.

I’d contact support for this homey.app/support.

That action will remove the history of that specific Insight. The Insight is recreated again (with no historic data) when you restart the app and/or the device starts to provide new data again.

But again, reaching out to Homey Support might be the better option in this case.