[APP][Pro] Dashboard Studio - A completely free-form dashboard designer

I tested the latest release on my old iPad.
Unfortunately the text widgets still do not show.

In addition I noticed that custom icons (*.png) do not size on my old iPad. They are show really small, only a few pixels it seems. Phosphor icons are shown without problems.

The slider change is working well. Now it only shows 14 where the value is 14.00. Thanks.

Is it possible to add text to a value which is linked to a device(topic)? For example I want to display the temperature and add °C without creating a specific flow for this.

Thank you for your quick response!

I have to play a little more, but in a couple of days I will post some results.

And yes, it’s all text variables with shift-enter to create a new line.

I’m trying to count he amount of “/n” (new line) within a variable. I tried with standard Homey flow cards, with BLL and HomeyScript, but I couldn’t find the solution, not even with ChatGTP.
Does someone has a solution for this?
I used to write COBOL (until 1986) and then did never any coding since then…

Gemini AI generates this Homey script:

// Define the source text in which to search for newlines
let sourceTextWithNewlines = "Line 1\nLine 2\nLine 3\nLine 4";

// Define the character we are looking for (the newline)
let characterToFind = "\n";

// Split the text based on the target character. This results in an array of text segments.
let splitTextSegments = sourceTextWithNewlines.split(characterToFind);

// The number of occurrences is equal to the number of segments minus 1
let occurrenceCount = splitTextSegments.length - 1;

// Log the result to the Homey Script console
console.log("The number of times the value occurs is: " + occurrenceCount);

// Optional: Return the value so you can use it within a Homey Flow
return occurrenceCount;

Thank you very much. I’m going to test it today, but it looks promising.

What is an insight flowcard? :confused:

I could not succeed, I’ll give up. I’ll find another way to guesstimate the fontsize.
It looked promising, but I getting error messages I don’t understand.

NEW TEST Version 1.9.3

  • New: Text widget — Auto-Fit Text to Frame scales all markdown content to fill the widget frame (mutually exclusive with Scroll Overflow Content).
  • New: Text widget — each typography slideout (Paragraph, Headers, Table Header, Table Text, Block Typography) has Vertical Spacing and Line Height settings.
  • Improved: Text widget displays more reliably on older iPhones and iPads.
  • Fixed: Icon widget — Active Icon and related inherit slots no longer drop saved settings when they match the base icon; Style and other inherit edits persist when the base icon is later set to the same value (same fix for Button, Menu, and List icon slots).

The text widget now has a “Auto-Fit Text to Frame”. This will rearange and scale the text to make it fit the frame. Please test it.

I have removed the overall vertical spacing, and each typography setting in the text widget now has Vertical Spacing and Line Height settings.

Fixed

Can you check if the text widget now shows?

This is probably not fixed (It is hard to find bugs if I do not have a device to test it). Is this just with icons (like every widget that uses icons in the Icon Style slide-out). Image widget with a png works fine?

Wow Michel, that’s great. Thank you so much!

The Dashboard Studio flow cards inside Homey that you use to send graph data:

But I already made some changes in 1.9.2 Can you test if it works?

Unfortunately the text widget still doesn’t show.

I only tested the Image widget with a custom icon and that does not show a *.png in the correct size.

I don’t how it happened, but all text widgets were deleted. I now created a new one, but it still doesn’t show on my old iPad.

Luckily you already build in the functionality to load a previous version of the saved dashboard, so I was able to restore the text fields quickly.

Thank you for the quick action!

The auto size works well, but I have still a small issue, I get line breaks where a space is.

The temperature and humidity are without a /n.

Funny thing: I actually did this on purpose to use as much of the container space as possible. In the first iterations I built, it just scaled everything inside the container proportionally without readjusting the width. But with text that was too tall it resulted in unused areas on the right:

But I understand the problem. I shall make the wordwrap optional :+1:

I shall dive into this problem a bit deeper. I can borrow an iOS 12 test device from a developer friend of my. (it is so hard solving problems without to see if a fix actually works.

So it does work with the previous version dashboard file?? Or did you installed the older stable version and use that?

I indeed was not entirely crisp when I mentioned I restored the text widgets.
What I meant to say is that for some reason ALL the text were deleted after upgrading to ap version 1.9.3 (or maybe I did something strange) and thus not visible on my old iPad, but also not visible anymore on a newer iPad and iPhone.

I restored them by loading a previously saved version of the dashboard itself (not the app). After doing so they showed again on the newer iPad and iPhone, but still not on the old iPad. Also a newly created text widget does not show on the older iPad.

Hmm, that sounds worrisome. That should not happen. But was the text still visible on a desktop computer? Version 1.9.X did nothing with the save file regarding the text contents, so my guess is that it is only a visual problem and not actually deleted in the file. I don’t understand why old dashboard files suddenly converted correctly in 1.9.3 though, since it performs the same migration steps again. Anyhow, like I said, I am able to borrow an iOS 12 device so I can test this myself, probably this weekend.

No, all the text widgets actually were gone. I could not see them anymore on a computer either.
But if others do not report any problems upgrading to 1.9.3, then don’t worry about it.

Here are a few more suggestions. I realize that these come from a spoiled user, with many screens and logic, like me:

  • after restarting Homey Pro at night, variables that do not mutate frequently are not visible in the dashboard (example: sunrise time).

  • enable external SVG icons in a Markdown table including color settings, as in other DS wizards (currently I have to paste the complete SVG code, including dimensions and color, into the Markdown).

  • is there an option to close the app via a menu (exit function, so not killing the app)?

  • would a “When” card be possible if the DS app is closed or in sleep mode (1 or all devices, but I ultimately use the dashboard on 1 device). Case: I have dozens of advanced flows running that I want to stop when the DS app is closed or inactive ((Android) device is in sleep mode). Some flows use a limited number of times that can be executed (free) APIs, for which I still want to have the most up-to-date data. It already helps that I store API data in a MySQL database.

  • if an image is not immediately available, a black display appears in the place of the image with an error message/warning. Sometimes it takes a few seconds for an image from a Ring doorbell, Sonos, or KNMI weather to be retrieved. How can I prevent the screen from first going to a black error message and then flashing back to the actual image a few seconds later? Perhaps a delay in the “image not found” notification is a solution.

  • hourglass to indicate that it takes a moment for the screen to build, for example during retrieving and editing API data

  • app option setting the decimal as a “.” or a “,”

Is there a max. cell size on Markdown tables?
Example KNMI weather warning (see red box):


When I define the same Markdown table much smaller (so both can show a slider), I can see all the text:

Hello Satour,
After the latest update I have a problem with my labels.
I use a dynamic color.
First I made de default color green.
Then a made a link to my variable.
In the previous version it worked ok, but now the color remains green.
What is wrong?