[APP][Pro] Enhanced Device Widgets. Live 1.1.3, Test 1.1.3

Hi @Adrian_Rockall,

Next request. I would like a ‘Then’ card; Clear message. To clear the message after a specific time if nobody else does it.

In the morning when my dashboard comes to live (activated by a motion sensor) it shows your widget with the message ‘Caution! It has frozen this night. -16 ºC’. This will alternate every second between a blue tile and a white tile. If nobody will clear this message I want the flow to do it at 10 o’clock.

Thanks Adrian.

Rogier

You should be able to set both the title and message to nothing to clear it.

I can’t save whithout the arguments.

Rogier

Oops, I forgot to check that bit. It will be fixed.

1 Like

I have published a new test version where the Flow action card Title and Status fields are optional, so you can now make them both empty to clear the widget.

1 Like

Hi @Adrian_Rockall,

Clearing the widget in the flow works.

Remark: Very often the widget is not refreshing properly. The variable in your widget (see picture of Ajax security) is exactly the same as you see in the Homey variable widget. In the flow they are set at the same time. The Homey variable widget is always set correctly. Sometimes restarting the Homey app solves the issue. But often it is not. On both my devices the same issue. Android phone and tablet. I also noticed that e.g. the tablet is correct and the phone is not.

Thanks in advance

Rogier

Hmm, any ideas on when it fails to update?
The app uses push messages to update the widget, so I’m wondering if there is an issue with messages getting through.

Hi adrian,

Don’t know if this helps. I started my flow. Saw that it wasn’t refreshing in the widget and pressed on diagnostic report

a4e8e359-5463-431f-925d-ea985048419b

Answer on your question: have no clue

Rogier

If you look in the apps settings page, I have created a log facility. Set the level to all information and check back there if the widget doesn’t update.

Hi @Adrian_Rockall,

For what ever reason it is working on my tablet now. Just when I wanted to make a log :see_no_evil:
But it didn’t update on my phone. The Homey variable widget did. There is nothing in the log. The flow card finished correctly. After restart the phone app it worked.

I will keep you posted when it happens again.

Rogier

1 Like

Not sure if what Rogier is describing is the same behavior I’m seeing but it seems like the widget only updates when the dashboard is open (in view?). So for now I’ve got a flow running that checks the state of the things I want to show every minute, and that way when you open the dashboard the status is correct (at least within less than a minute :sweat_smile: ).

Not sure if this is build in widget behavior? Ideal scenario would be that it’s instantly correct the moment you open the dashboard, but that might be hard to do programmatically?

Ok, that gives me something to look into, thanks for the feedback.

@Adrian_Rockall , @Geronimo206,

Still having issues with this widget (Status Display). On both samsung devices (Tablet and Phone)
Closing the Homey app will sometimes solve this issue but most of the time this does not help either.


The variable ‘Ajax Security’ changes properly. The ‘Enhanced Device Widgets’ card is executed. And I got a notification in the timeline.


But the Widget is not changing.

Also nothing to be seen in the Diagnostic Log.

Rogier

Just doing some first test with some lights and I’m noticing the On/Off status doesn’t sync when the light is switched from somewhere else.

Tested wit hthe standard widget Homey and Enhanced on the same dashboard.
Would that be related with Rogier 's issue?

If the dashboard is on display, does it update then?

1 Like

No.

I just noticed that numerical values update but not the sliders and toggle.
I’ll try to film it.

Here’s a short illustration on version 1.1.11

I’m switching led curtain light on/off → toggle doesn’t react.
Dimming the lights, Dim level value updates but not the slider
Changing saturation and hue → values change but not the slider.

Hope this helps
Now trying to figure out how to best share the video

Here’s the link: https://photos.app.goo.gl/fzyzv9mFK4VwTKXG6

So it appears that something things are changing, but not showing the correct values.
Could you open the app settings page and set the log level to All Information abd repeat those steps, then send the log.

Hi @Adrian_Rockall,

I wonder if it is possible to include new/empty lines in the Status display? I’d like to use it for displaying all calendar events for the day, but line feeds are removed from the string.