[RELEASE] Watchtower long-term metrics app

Anubis, Great God and Watchful One, I ask for your permission to access Watchtower. Please hear my voice (text), and if it is your will, grant me the wisdom and protection and access I seek. I bring you this offering in gratitude for your presence.

It worked this time! :bowing_man:t4:

(the dashboard wasn't working with manual install, it now works after HPM install, too).

1 Like

I made a long, complicated post but deleted it because I determined a simple cause of the problem, which is still outstanding.

In Watchtower 4.1 I have a single-attribute panel with two switches. I have userscript that modifies the data thus

$config.data.datasets[0].data.forEach(pt => pt.y = pt.y > 50 ? 1 : 0);

along with some other stuff modifying the scales and tooltip to present as binary on/off like I want. It works and looks as expected when I update the tile.

However, when a refresh occurs and new data is read in, the userscript doesn't get executed, so the data no longer fits the rest of the setup and it's borked.

I assume there is some hook or setting that I've missed, or this sort of manipulation by userscript would never work on an ongoing basis. Help?

1 Like

I believe you found a bug, I'll take a look when I get a bit of time. Thank you for putting effort in pinpointing this issue.

2 Likes

Bug report with beta version 2.4.4.124 on a C-8 Pro: A dashboard that just outputs all available hub parameters (stock choice in WT) now generates this error: "can't access property "status", e is null". The dashboard worked with beta 2.4.4.123, and still works on a C-8 with 2.4.3.177.

1 Like

I would probably wait until the classic dashboard bug is fixed before posting here about it. This is a beta issue that has been a well reported on the beta forum

2 Likes

Hmmm …. Not sure we’re talking about the same “dashboard“. I’m not talking about Hubitat dashboards, I’m talking about Watchtower dashboards.

1 Like

It's the same bug; it affected more than just the HE dashboards - it seems to be fixed in beta .125

2 Likes

Nope — I just updated to .125 and ran my formerly working Watchtower hub information dashboard and got this:

“null is not an object (evaluating 'e.status')“

1 Like

I updated my C-7 to .125 and the Hub Information WT tile works fine. Is this maybe a C-8 Pro only issue that I cannot reproduce?

1 Like

I recreated the entire hub information dashboard that I was using, and all is OK. So there must’ve been some corruption somewhere.

2 Likes