Is there a way to display an app state variable in the dashboard?

I'm wondering if there's a way to put an app state variable (specifically the circMinutes variable from @storageanarchy 's Ecobee Smart Circulation child app) in a dashboard. In my dashboard for thermostats and temperatures I would like to display this variable.

It would be even neater to be able to change it from the dashboard.

I could fork the app code, if needed. Then I suppose it would be a lot easier. But how would I do it with/without changing the app's code?

I’m not familiar with this app, but I suspect that it also creates a device?

If it does, then it’s just a matter of adding the device to a legacy dashboard and then selecting « attribute » and picking the « circMinutes » attribute:

To be able to change it would be a little more complexe, likely requiring a Hub variable and a rule to have a change to the variable trigger a rule to update the device’s value to match.

1 Like

This app doesn't have a device. The ecobee driver has a device, but this is a companion app. If I'm playing with the app code, is it best to just have it update a hub variable do you think?

Yea, having the app update a variable would allow for it to be displayed. It would also allow for it to be updated, but that would require a way to feed the information back to the app somehow.

1 Like

It’s working well. Thanks. I put the values in a multi attribute tile so that I can display several app status variables and the user isn’t able to edit them.

1 Like