Hm, I don’t like that. So far I had the same look and feel on all devices/plattforms (Android, iOS, Web).
Playing around today, I saw that in the iOS-App you can use BasicUI in the app. Would it vbe possible to add that to the Android app? Or is that already possible and I’m just too blind?
Edit: Oh,… the way the iOS app handles it is‘n helping as the use of BasicUI is not permanent.
It’s always possible to pin any web page as an app on either iOS or Android. Open the URL in the browser and in the menu somewhere there will be an option to “Add to the homescreen” or something like that and you’ll get the browser based BasicUI as an “app”. But you need the Android app to get notifications and some of the other more advanced features.
Right, and with the value to the right, it would be (and previously was) even more truncated.
In the case of the setpoint I was thinking already whether the middle button is needed at all (touching the row outside of the buttons does the same thing), but there are other cases (rollershutter, color chooser) where 3 buttons are definitely needed.
It was only through this discussion and the fact that nothing has changed for me that I found out that the Openhab Beta App I used is no longer available in the Play Store.
On the subject of accent color, I would like to note that it is not adjustable on the mobile phone, but on the tablet there is a button to set it. Although the red would not be my favorite color
There’s two problems with adding an option for that:
The general ‘too many little options make the app more confusing’ problem
More important: the option would work globally, but one wants to have it work on a per-widget level (but I doubt any additional sitemap features will be added server side at this point)
But maybe we could get away without the option by applying some heuristics? Let me illustrate by a pet peeve of mine, the widget for Player items, which are rendered as buttons:
It’s ugly not (just) because of the needed amount of space, but also due to the ASCII button texts and the useless 4th button (play and pause can’t be active at the same time anyway).
Therefore I’m working on a patch that collapses them into a layout similar to roller shutters:
For implementing it, I look at the properties of the switch widget, so basically employ heuristics to recognize this case. I wonder whether the same thing would work for your use case as well, checking e.g. for button count <= some limit && labels of all mappings have only 1 character and if that’s the case, display in one line. The interesting part then becomes how to display the unicode glyphs as images…
Wouldn’t tags be a way to achieve that? Then you wouldn’t need a heuristics as there would be a definite way to determine this. Tags should be available inside the app, shouldn’t they? Also there would be no need for server side changes and other visualisations (iOS app, BasicUI web) would just ignore it.
It could also be sitemap-specific - in your case maybe something like “sitemap-player” and in my case like “sitemap-compact”.
No, but to the items. That means, my rollershutter items get the tag “sitemap-compact” and the Android app then knows that they should be rendered in a single row.
I just tested it in the REST-API-Explorer with GET /items/{itemname}:
I saw if I move the slider every value is sent…
Could it be changed that the value is sent if you set a value, not every step. Like the old slider. @mueller-ma
Aah, now I understand, thanks. I thought he’s talking about the ‘Slider’ widget, not the ‘Setpoint’ one. Yes, the slider bottom sheet should limit the number of sent values the same way as the Slider widget (only send if no change for at least 200ms). I’ll look into it.