[APP][Pro] Enhanced Device Widgets. Live 1.1.21, Test 1.1.23

Can you also make a refres button in the enchanced widget as well ?

I mean the user can set an interval de widget will be refreshed ?
Now my temperatures will not updating by itself ?
In other widget like web you can refresh it…
Is that possible ?

Athom have found the refresh issues and it will be fixed in the next Homey App update.

3 Likes

Great any eta

So it’s not related to your app or my homey then

Athom don’t provide time scales, so it’s just a case of waiting for the update.

Hi Adrian,
First of all, great app.
But I ran in to some minor issues.
Alle my lightswitches in my home have fibaro dimmer 2 behind them. When I switch on a light with the normal lightswitch, the lamp goes on, but the app doesn’t change to “on”. So the app does not respond to external changes.

Sliding the dim bar is not possible. Only tapping

Dimmer percentage is visible as 0.20%, in stead of the 20% it should be.

Is there a reason why with some lamps the dimmer slidebar is above the on/off switch and with other lamps the dimmer slidebar is below the on/off switch

I hope you can help. Specially the first issue
Evert

If the widget is not on display when the light is switched, the widget is not updated, but that should be fixed in the next Homey app update.

What version of the app are you using?

I’m not sure how the order of the dimmer and value can be reversed. Could you send a screen shot of that.

Above the schreenshot, the dimlevel percentage is now good. My whole house lost power today so maybe a reboot dis the trick for that.

On the right, eetkamerlamp and woonkamerlamp, are dumb lightbulbs with fibaro dimmer.

On the left, keukenspots and plantenlampen are ikea lightbulbs without a fysical switch.

You see the difference in the layout?

Ah, OK I see what you mean now. The app requests the capabilities from Homey and just displays them in the order returned, which is normally the order the capabilities are added during setup. I make no attempt to sort the list.

And the issue with displaying “lamp on” when it is in fact turned of by the light switch? Or vice versa

As I said here.

Hi Rogier, how did you include the “freeze” logo in this text?

Hi @Cuprani,

I’m not a developer but this I know :rofl:

It is an emoji :snowflake:

Make it in for example Whatsapp and copy / past it into the advanced flow.

3 Likes

Adrian, a nice usage xmpl of the status text widget:

@Cuprani: You created a neat dashboard! :+1:

Perhaps you could share - for one item in your dashboard - an example / the steps how to create it.

How did you get the values in there? Are you inserting the related Homey tags/variables in the widget’s flow card manually? Or do you have some other method for referring to them in the HTML code?

2 Likes

First of all a big thanks to Adrian, making this possible! :hugs:

This is a part of the advanced flow, for 10 tables, of which 5 headers that change uppon a situation.

I implemented an image (png transparant image of 100x100 pixels) that I have loaded with the Homey Gallery App to the Homey Pro.

In developer tools you can overview all your images, and find the correct reference link to use in your HTML code for reference. I have put the image in a table as it is easier to correctly align an place it where you want to.

The table is created with the simple HTML table code.
< table > to start a table
< tr > to start a row
< td > for data (or you can use < th > for a header.
And then to close
< /td > < /tr > and < /table >

Further I used spaces to create empty columns for better layout.
You can do so by adding " & emsp ;" for a bigger space, of " & ensp ; " for a smaller space.

Also you can use < big > for a larger font size and < b > < i > < u > for other layout options (just google HTML and you can find a lot :wink: )

Finally you can include value’s from your homey or logic variables by using the normal input label in your flow creator.

Then you end up with something like this above.

I now have a time based update every 5 minutes, but I am struggling to update the actual dashboard. I have read in the above comments that I am not the only one. So somehow it will only update the data when refreshing the complete dashboard, and then trigger a manual update on the flow cards. Would be great if it could be solved to update in the background as well.

9 Likes

Thanks for the write up!

Regarding updating the dashboard: if you include WHEN cards for any of the tags/variable in your flow (When x has changed…), then the status widget would be updated automatically, right? At least that is the way I currently update my (very basic :blush:) labels/status widgets. So I don’t have to trigger the flow manually.

I did that before, but I have 84 values in there, and 44 that I need to monitor to keep up with the changes, so that would take a lot of WHEN cards.
That’s why I decided to go for this time based approach.

But still, the WHEN cards did not change the problem for not updating in the background.
The time based update works just fine for updating the individual cards. But just somehow it is not updating in the dashboard.

I saw there is a refresh button in the test version of the app. So I think Adrian is already looking into it.

1 Like

The Athom team have said the refresh issue should be fixed in the next Homey app update.

3 Likes

I like it very much!

Extremely creatively implemented!

Do you think something like this as in homeassistent is possible in HTML? I don’t like at all how Homey develops its energy. :joy:

Without the numbers in there, you should be able to create multiple static pictures to visualize the current power situation (off grid / on grid/ car charging etcetera). And then create some flows to change the picture you want to see.

Maybe it is even possible to have them animated, if animated Gifs are possible in the image app. Didn’t try that yet.

To implement numbers in there, might be possible if you can make this picture as a background for a table. And then make a table layout that correspond to the chosen picture. Probably it will be a pain in the ass to create with old html. Especially if you want it to show good on multiple devices.

I am not a programmer, nor did I ever follow an HTML course. So maybe there are folks here, that can create what you want.

2 Likes