[APP][Pro] DataVista (in beta)

It might be an idea to add different needles. I prefer minimalistic:

https://images.app.goo.gl/eJTh4v7UgskUWNiv7

Thanks for the suggestion. I will consider adding additional needles in the future. I’ll first be focusing on getting other widgets ready.

In version 0.3.1 (already available in test), the progress bar widget has received a small but handy update! :tada:

The widget now displays the device and capability name below the progress bar for better clarity. You will be able to hide this title, or overwrite it, all from the widget settings.

This improvement is designed to let you stack multiple progress bar widgets neatly, without the need for the bulky default Homey widget titles.

2 Likes

A new widget is currently in the works, designed to let you display the state of any Boolean capability or DataVista Boolean value as a toggle switch.

This means you can use this widget to indicate whether a device is on or off, display the active state of a motion sensor, or even leverage Homey’s (Advanced) Flows to control the widget’s value dynamically, just like all other DataVista’s widgets.

This feature is still under development, so constructive feedback is always welcome!

I’m also considering adding customizable icons and colors, though this will depend on whether I can implement an easy and user-friendly configuration. Stay tuned for updates!

toggle-switch-widget

7 Likes

Version 0.4.0 of DataVista is now available in the test channel, featuring the Toggle Switch widget:rocket:! This new widget allows you to easily display boolean values like on/off or true/false states.

edit 2024/12/04: Also available in the live channel.

The title, icons and colors are configurable to some degree, allowing you to personalize the appearance of the widget.

toggle-switch-animals

Check out the documentation for setup details (especially how to configure the icons):
https://datavista.erikvl87.nl/widgets/toggle-switch

Give it a try and let me know your thoughts!

Hi. Another great widget.
I wanted to show the yes/no status of a logic variable. Can’t seem to be able to add logic variables as a datasource. Is it possible to include this?

2 Likes

Thank you, @Torbjorn_Melbye! Allowing logic variables is definitely on my wish list as well, but I’ll have to check what’s possible; I’ll get back on that asap.

As a workaround, you may be able to use the IF logic card “variable has changed” together with the “then” DataVista action card to set a boolean value and sync it with your variable. That DataVista boolean value could then be used in your widget as a datasource.

Jepp, that works for now. Thanks for the tip :ok_hand:t2:

1 Like

Thank you very much for the wonderfull app! Is it possible that the progressbar works like gauge? To save space?

@Torbjorn_Melbye In the next release you will be able to select variables :muscle:t2:!

May I ask, what are the metrics you’d like to visualize? The actual percentage progress bar is not sufficient for what you are trying to visualize? The gauge is a 3rd party component which I can’t alter to an horizontal visualization. I can however consider creating a new widget.

Thank you very much for the quick answer!! I would like to visualize sensor values in a very compact Design.
For me the Gouge Widgets are too Big.

I like to specify Min and Max.
Instead of % then variable values such as kWh or W

Solar Input
Range 0-10000W

Grid Import
Range 0-16000Wh

Grid Export
Range 0-10000Wh

Or
Brightness values in Lux not %

Thanks for the details. That sounds like a typical use-case! I think I can add a new metric bar widget with the same sort of visualization but with a configurable min-max range and label. I’ll first have to finish some other work on the app but I can hopefully create something soon; I’ll post back here if I have an update regarding your request.

1 Like

@Erikvl87 for the progress bar I’m able tonselect the humidity data source form my sensor but I cant pick the tenperature. Wouldbit be able to make that possible? The I just set the bar to run from 0 to 30 or something? A whole gauge for temperature seems overkill.

Secondly I was thinking about a different card. Just a card which displays the number in a gradient. Like 15 degrees wil be blue, but 30 will be red.

@Dirk_vdM, thanks for the input! I’ve heard similar requests from others too, so I’m working on a new metric widget. It’ll look like the progress bar but handle all kinds of data, like temperature, power usage, or other metrics.

I’m also planning a label widget to highlight a single value more prominently. That seems to be exactly what you are looking for as well.

I’m hoping to have these ready soon.

1 Like

Version 0.4.1 of DataVista is now available in the test channel, which contains the following small changes:

  • :tada: Homey variables can now be selected in the simple gauge and toggle switch widgets (Thanks to @martijnpoppen for pointing me into the right direction to solve this)
  • :warning: Fixed an issue where new devices / capabilities weren’t discovered until a restart of the app
  • :speaking_head: Added a few Dutch localizations
  • :gear: Lots of non-functional changes to allow for easier development of new widgets
3 Likes

Hi again.
Thanks for making variables available.

On my dashboard it seems your widgets are “smaller” than others. They don’t really fill the available space. Look at my screenshot below. The text is hard to read.
Not sure how to explain, but it looks like you could blow everything up in size just a little bit.

Hi @Erikvl87

First of all, I love your widgets. Can’t wait to see more from you.

I displayed my own widget for the trash containers. But my question / wish is, to put multiple data sourses so to speak into one widget?

Rogier

3 Likes

Glad to hear you’re loving the widgets! These kinds of messages keep me motivating :wink:!

Could you explain a bit more what you’re looking for? Are you thinking of a single toggle that represents any of the trash cans? If so, you could create a flow to set a DataVista Boolean value and use that instead. Or do you mean grouping multiple toggles closer together? If that’s the case, how do you imagine it should look?

Also, I think there’s a bit of a line here between what’s on the app developer and what’s on Athom. For example, if Homey let you place (half-sized) widgets side by side in one column, you could just add multiple toggles like that.

By the way, you should use f2ed for the false value icon and f829 for the true value :wink:.

Awesome to hear you’re enjoying the variable selection feature!

With regards to the font color and size, I have been using the so-called .homey-text-small-light styles, which are the default Homey colors for secondary labels. The color style and size should match those secondary labels of the widget above and to the right (the timeline widget). It should only be smaller compared to regular text (.homey-text-regular). I went for that style because I did not want to give the text to much attention.


For more technical information: Styling | Homey Apps SDK

Looking at the attached screenshot, do you think I should’ve gone with the .homey-text-regular style instead? Or would you prefer a completely larger widget? That could mean adding a style selection in the widget settings to give it a more prominent appearance. What do you think?

Hi @Erikvl87

A standard variable widget from Homey itself can contain multiple variables in a single widget. Your widget contains only one variable per widget. Since a single dashboard can hold up to 50 widgets your widgets are consuming the amount of widgets.

If I am mistaken please show me an example.

Rogier

1 Like