I’ve recently started development on an app called DataVista for the Homey Pro. The app offers a gauge, percentage bar and toggle switch for your dashboards. In the future, additional widgets will be added to display more data though other visualizations.
Hi. Love that you are making a gauge widget.
I just have an opinion about the design, and it’s that I don’t think the almost completely circular design is the best way to go. It forces the widget to be square, and therefore it will take up unnecessarily large space on the dashboard. This is the same reason I use the digital clock widget, and not the classic clock widget.
Something like this is in my opinion a better design:
@Torbjorn_Melbye I’ve decided to switch all the gauges to half-circles for now, as your arguments were very convincing. I’ll consider adding a configurable option for this in the future.
For the needle-free style, this would be the widget’s design:
The app was rejected due to some minor (but deserved) feedback that I needed to address, so I’m now awaiting a new review. After that, the first beta version will be released.
The beta version has been approved and is now available in the test channel. Please note that this build is still unstable until the first live version is released. Breaking changes may occur, and any updates will be posted here, so be sure to keep an eye on this topic.
Notes:
On slow devices, selecting a datasource for the simple gauge could take some time to render the list, so be patient.
For advanced gauges, configuring the datasource is done via a flow (that needs to make a first run first before you can select it).
For advanced gauges, configuring the configsource is done either via a flow (that needs to make a first run first before you can select it), or via the app settings, under “Visualization - Gauges”.
I’ll update the first post later today with a more detailed explanation.
Happy testing and I would love to hear your feedback.
Very nice. I noticed one thing when selecting my data source. The search is for capabilities, so when I search energy, the list is still very long since a lot of devices has this capability. Maybe make it possible to search for the device name?
Also, it would be nice to be able to define spectrums for the different colors of the guage. For instance 0-200=green, 201-500=orange, 501-1000=red
I must’ve missed that option! That would indeed be awesome. I’ll probably implement this in the next version. Since it’s a widget.compose.json setting, I am unable to make this configurable with a default implementation. I may need to make an additional setting to manually bring back the (default?) container if there’s enough interest in having this as well.
Hi @Dirk_vdM, could you explain in a few more words what you’re looking for? It is my understanding there’s not a default 1x1 (or any other) size, and on a phone each widget is always full width. Or are you looking for just square (1:1) variant?