I believe that’s just a small tile in a full width widget. If you go to the dashboard edit screen, you should notice that the device tile is in fact part of a full width widget. There can’t be any other widget next to it.
I may be able to allow the widget to be smaller, but you would still be left with empty space to the right that can’t be filled (with either another widget or gauge). I am not quite sure yet if I need to try and address this.
With the current SDK and widget setup, merging multiple gauges into a single widget is too complex. I might explore this in the future, but it’s not a priority. It might be better for Homey to address this by introducing smaller widget forms, rather than having developers tackle it individually.
@martijnpoppen There’s a background-color CSS variable that I’ve used to add back the default background color to a transparent widget, which now allows for a widget setting to enable full transparency. It’ll be in the next test release, which is currently in review.
@Torbjorn_Melbye, I’ve tweaked the search so that each word in your query matches either the capability title or the device name. This should make it easier to find the capability you’re looking for when configuring the simple gauge widget. This change will also be included in the next test release.
1 Like
Multiple gauges in 1 widget would be the solution. But that’ll also mean multiple sets of settings.
Exactly. I’d rather prefer if Homey introduced smaller widget formats, so the sizes can be unified across the board. Having multiple gauge configurations in a single widget would make things overly complex.
2 Likes
It seems that when a new test release is blocked by a pending review by Athom, the old test version is immediately removed (instead of replacing it with the new version after it has been approved) when there’s not yet a release to the live
channel.
I therefore decided to release the same v0.2.0 beta version to the live
channel:
Please consider this version unstable until the first version 1.x.x has been released. Happy testing, and I would love to see those gauges in action!
Edit:
@Torbjorn_Melbye and @martijnpoppen,
Test version 0.2.2
can be found below, and includes:
- Added a transparent option for the widget background
- Improving the search algorithm when selecting a datasource in the simple gauge widget
- Fixed a bug in saving application settings
https://homey.app/a/nl.erikvl87.datavista/test/
1 Like
@Erikvl87 Yes really nice works perfect!
1 Like
I don’t get any data sources on the advanced gauge?
At the simple gauge I can’t search on the device, only on the capability. E.g. I’d like to see all options for Tesla. => fixed after updating…
A sample (hdash) with multiple small gauges:
@Dirk_vdM did you install the new test version? That should allow you to search on device name. Please check if the app version is 0.2.2. (Edit: I’ve seen that you got this sorted with the new version, great!)
With regards to the advanced gauge, you’ll first have to create an (advanced) flow and use the DataVista action cards to set the range and configuration. After an initial run of the flow, you should be able to select sources for the advanced widget.
I’ll try to create some proper documentation this weekend.
You might extend it with graph types like bars or lines giving the ability to choose.
In some cases a progress bar is better and takes up less space.
You’re reading my mind, because this is exactly what I am currently working on. I already have a PoC working. Hopefully able to release a new test version this weekend with a percentage bar widget.
2 Likes
Cool can we used that also for example battery
You will be able to select any percentage capability or advanced DataVista percentage (set by flows), so that should allow you to display a battery level.
Here is a screenshot of the work in progress.
The top widget is dynamically controlled by a flow. The second widget visualizes a selected capability. When a capability is selected, you can use the widget settings to show or hide the capability/device icon.
I have given special consideration to the height of the widget, ensuring that it will not occupy an excessive amount of space.
Colors and transparancy are configurable as well.
The design is deliberately minimalistic, but I may consider other styles in the future.
5 Likes
I’d like to be able to set a gradient in the bar. If it has something to do with charging a battery or something…
If you mean that by ‘Colors and transparancy are configurable as well.’ then we’re talking about the same thing.
You can pick two colors, and the progress bar will change color based on how far along it is. You will only see the gradient effect when the value changes, as the whole bar will change to one color based on the percentage.
2 Likes
The progress bar widget has been released to the test channel and will soon be released to the live channel as well.
https://homey.app/a/nl.erikvl87.datavista/test/
2 Likes
I’ve just launched the initial version of the app documentation website! I’ll continue to improve it over time as the app development progresses.
Check it out here: https://datavista.erikvl87.nl/
1 minor bug, after updating you need to uncheck and recheck the transparancy option again for each widget.
Restarting the homey app seems to solve it as well.
Thanks for taking the time to report. I’ll look into it.