[OH3] Main UI Examples

OK there it works, I meant the layout with a fixed width (similar to Habpanel).

Okey, thanks for clarification. Then you are running already OH 3.1 M3 build? I‘m currently running the stable OH 3.0.1 installation.

If you find out, what‘s wrong with the widget in the fixed grid layout, plz share it here. Maybe a good preparation, when I will update to 3.1 stable. :slight_smile:

Thx!

Thank you for posting these examples. I have been struggling with the documentation and examples like these are exactly what I needed.

Can you Tell me which App you use on your iPad? Just Safari oder do you use another one?

Hello Mike,

how did you solve that with the windows and the closed blinds? Did you put the devices in groups? And how do you find out the number of windows or closed blinds?

I realy love your widgets! But I’ve a question regarding the status of the light: I suppose you do this via the Group Settings of an item? When I select SUM for Aggregation Function it give me a decimal value when I have dimmed light included in this group. Do you have another way?

Blinds

My widget is not 100% correct with the blinds. I’ve put the rollershuter-items into a group with SUM aggregation. In the widget there is a floor operation. If now two blinds are closed by 51% each (SUM: 1.02), the widget will show only 1 complete closed blind.
Other possibility it to add a new Switch-Item to the Rollershutter-Control-channel (see picture):

And then put all Switch-Items into a Group with SUM aggregation.

Lights

For my lights, I’m using the Hue Binding. The binding provides two different channels for ON/OFF and Dimmer. I’ve put all Switch-Items into one group, (with SUM aggregation). If you only have dimmer-items or channels in your binding, you can proceed the same way as with the blinds above by adding a second switch-item to the dimmer-channel.

Hope this helps both of you!?

1 Like

I’m currently using Kiosk+ App (‎Kiosk+ on the App Store (apple.com)). But I’m tesing right know another app called kiosker.io (Kiosker.io | The most flexible and modern fullscreen browser for iOS)

Kiosker app has a 7 day trial version (there are two different apps, the one with the trial is a monthly paid solution, the other is a on-time-buy-app (‎Kiosker Pro: Web Kiosk on the App Store (apple.com)). If I decide to use kiosker, I will buy the one-time-buy version. (here in switzerland it costs 29.90 swiss francs).

Looks quite good by now. Cool feature in kiosker is the screensaver with the clock (I’m not sure if I want to pay 30 bugs only for the clock ;), let’s see if there are some other advantages.

1 Like

That was really helpful. Thank you. The Kiosk+ App is exactly that what i was looking for.

Hey @Integer

Thunder/strikes: which source provides this data for your location?

Hey Marcus!

I‘m using this weather station. :ok_hand:

1 Like

Looks like a really smart weather station :slightly_smiling_face:
Thanks for sharing.

Thank you @Integer (Mike) for providing pages and widgets. I like them. I’m still using my OH2 sitemaps but have already migrated to OH3 and have started to build the model and pages. I’ll use your pages and widgets as starting point. As I’m a beginner with YAML its still difficult to understand all the details of your pages and widgets. Changing the Items is easy but formatting and other things is more difficult to adjust. The images of the weather are not displayed as you can see in the attached screenshot.
The root cause for that might be that you use the condition iconID to build the weather condition icons but OpenWeatherMap provides the condition as icon image … this possibly has changed. Have you adjusted your widget to use the icon images istsaed of the iconID?

You need the items like he posted earlier. iconID is included in oneCallApi…

Both the icon and the iconID are available also with the Account thing, Go to the channels page and tick Show advanced, it should discover the iconID for every forecasted time interval

Thank you @hmerk for your quick reply. I know that I have to use oneCallApi… but iconID is not included only Icon as image … this may have changed … or can it be configured somehow?

Thank you @Dest “show advanced” make the difference. Thank you for the solution!

Thanks @hmerk and @Dest for clarification, you were faster than me :slight_smile:

@BG56: I see your wind direction is showing in degree. I’m using a SCALE transformation to have cardinal values.

conf/transform/winDir.scale

[0..11.25] = N
]11.25..33.75] = NNO
]33.75..56.25] = NO
]56.25..78.75] = ONO
]78.75..101.25] = O
]101.25..123.75] = OSO
]123.75..146.25] = SO
]146.25..168.75] = SSO
]168.75..191.25] = S
]191.25..213.75] = SSW
]213.75..236.25] = SW
]236.25..258.75] = WSW
]258.75..281.25] = W
]281.25..303.75] = WNW
]303.75..326.25] = NW
]326.25..348.75] = NNW
]348.75..360] = N
[..] = na
NaN="N/A"

PS: your weather forecast looks somewhat as bad as mine :frowning:

2 Likes

Thank you @Integer (Mike) for your hint. I have tried the SCALE setting in Main UI before but it didn’t work and I thought it is a general problem as described at OH 3 Scale profile exception while formatting value - #8 by icompas
You use the item for current wind direction from your weather station. Your item has item-type “String”. For the current wind direction I use the item which was created from the OneCallAPI. This item has item-type “Number:Angle”.
Inspired by your reply I changed the item-type of this item from “Number:Angle” to “String” and now the SCALE transformation works. There are so many little things to learn … which you can’t find in the documentation but only in the forum. Thank you for your help!

1 Like

I like your UI. How did you started? Got 0 experience about this. Do you know a good tutorial for this?