Questions Community

Question about CYD

hermannw

Here in the Screen section, I see a CYD 2.8" that shows at the top the weather forecast. Could anybody please tell me how that was done? I am using OpenWeatherMap and when I place that on the screen, it only shows the current condition (Sunny) and the temperature...

Discussion 1

Add a comment
MaxGramser Admin

That picture is the firmware itself, rendered on a computer with demonstration data. The top row is one weather tile, two cells wide, with Display set to Weather forecast. Three things are needed for the forecast:

  1. Display: Weather forecast in the tile's settings. Choosing it makes the tile two cells wide by itself.
  2. A tile at least two cells wide. A single cell only has room for the condition and the temperature, which is what you see now. Drag the tile's right edge to widen it.
  3. A daily forecast from Home Assistant. The days come from weather.get_forecasts with type daily. OpenWeatherMap gives a daily forecast only in its v3.0 mode (One Call 3.0, which needs a subscription at OpenWeatherMap). In forecast mode it gives hourly only, and in current mode nothing. You can check it under Developer tools, Actions: run weather.get_forecasts with type: daily on your weather entity. If yours gives no daily forecast, Met.no, Home Assistant's default weather, gives both.

If the daily forecast is missing, the editor says so under Display: "This weather service has no daily forecast in Home Assistant." A tap on the tile opens the weather card, with Daily and Hourly.

Add your thoughts, a screenshot or a useful link.

Markdown & basic HTML
Paste or drop images Β· URLs on their own line become previews0 / 10,000
Create your account to join in

We need a verified email address to reach you about your contribution. Your address stays private.

Continue with GitHub

Your draft stays in this tab. Return here after verification.