joBr99 / nspanel-lovelace-ui

Custom Firmware for NsPanel with the design of HomeAssistant's lovelace UI in mind, works with Tasmota.
GNU General Public License v3.0
854 stars 187 forks source link

[BUG] HA 2024.4 - cannot display forecast properly #1209

Closed cezarg1410 closed 3 months ago

cezarg1410 commented 3 months ago

PROBLEM DESCRIPTION

After updating to HA 2024.4.0 - the weather forecast on the NsPanel doesn't look as it should. Here it is how it looks like: nspanel_problem

The problem is that it only shows "rainy" instead of hour, icon and temperature.

REQUESTED INFORMATION

bedroom-nspanel:
  module: nspanel-lovelace-ui
  class: NsPanelLovelaceUIManager
  config:
    panelRecvTopic: "tele/bedroom-nspanel/RESULT"
    panelSendTopic: "cmnd/bedroom-nspanel/CustomSend"
    updateMode: "auto-notify"
    sleepTimeout: 10
    sleepBrightness:
      - time: "6:00:00"
        value: 10
      - time: "23:40:00"
        value: 0
    locale: "pl_PL"
    screensaver:
      entities:
        - entity: weather.tomorrow_io_dom_daily
        - entity: sensor.weather_forecast_daily
          type: 0
        - entity: sensor.weather_forecast_daily
          type: 1
        - entity: sensor.weather_forecast_daily
          type: 2
        - entity: sensor.weather_forecast_daily
          type: 3

Of course, the configured forecast entity looks good:

nspanel_encja

I will be very glad if You could help me sort out the issue

ADDITIONAL CONTEXT

PANEL / FIRMWARE VERSION

EU Panel - Program Version 13.4.0(tasmota32)

joBr99 commented 3 months ago

You need to update the Backend in HACS to the latest version and restart AppDaemon.

Note that the files downloaded by HACS might not be the files used by the AppDaemon Addon in case you missing something during the upgrade to version 15 of the addon.

https://github.com/joBr99/nspanel-lovelace-ui/issues/1029

mmaritz commented 2 months ago

Hi - I know this is now closed but I have struggled to reinstate the forecast on my NSPanel. I only get the NSPanel to display the time and date section - nothing below the line on SS2.

  1. Reinstalled all of the software components as
  2. Checked all the files and the forecast on the entity.

image

  entity: weather.mm_pi4_8gb
  theme:
    time: [65,105,225]
    time: [220,255,0]
    date: [220,255,0]
    tMainText: [220,255,0]
    bar: [0,140,0]
  entities: 
    - entity: weather.mm_pi4_8gb
    - entity: weather.mm_pi4_8gb
      type: 0
    - entity: wweather.mm_pi4_8gb
      type: 1
    - entity: weather.mm_pi4_8gb
      type: 2
    - entity: sensor.victron_battery_soc
      icon: mdi:battery

Configuration.yaml template:

joBr99 commented 2 months ago

See #1204

https://docs.nspanel.pky.eu/stable/prepare_ha/#workaround-for-homeassistant-202404

You need to adjust your apps yaml

mmaritz commented 2 months ago

It was my mistake... A space in the following ('weather.mm_pi4_8gb ') fixed to ('weather.mm_pi4_8gb') and fixed the entities issue.

Thanks