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
869 stars 188 forks source link

How-to Upgrade to AppDaemon 15 #1029

Closed joBr99 closed 9 months ago

joBr99 commented 9 months ago

This is a summary of the action you have to do after you've upgraded from AppDaemon 14 to 15.

You config files have been moved from /config/appdaemon to /addon_configs/a0d7b954_appdaemon

See this if you need assistance to access the new folder: https://docs.nspanel.pky.eu/configure_mqtt/#note-for-appdeamon-addon-version-15

There is one important change that you have to do to your appdaemon.yaml, which is also mentioned in the release notes of the new version.

  1. Change this in your appdaemon.yaml:

from: secrets: /config/secrets.yaml to: secrets: /homeassistant/secrets.yaml

This should already fix appdaemon, but do not stop here; next steps are required to get updates though hacs.

  1. add this line in your appdaemon.yaml to configure your apps directory back to the old directory (below the appdaemon: key)
  app_dir: /homeassistant/appdaemon/apps/
  1. move your apps.yaml from /addon_configs/a0d7b954_appdaemon/apps to the old location within /homeassistant/appdaemon/apps/

  2. redownload the nspanel-lovelace-ui app from HACS

  3. optional cleanup; delete the apps folder in the addon's directory /addon_configs/a0d7b954_appdaemon/apps

See #1028 if you are interested in more Details around this mess.

madebywitteveen commented 4 months ago

thank you my friend, I did try that. all the way to 5 tabs indentation; no luck

thanks

joBr99 commented 4 months ago

Install the latest release and add the workaround for the forecast, as the weather entity does no longer provide forecast data.

madebywitteveen commented 4 months ago

Your indentation is wrong type has to be on the same level als entity. Also see #1204 and the latest release notes: https://github.com/joBr99/nspanel-lovelace-ui/releases/tag/v4.4.0

yes I did all this, thank you

madebywitteveen commented 4 months ago

at the top of this page you are explaining to move the apps.yaml back to the old location ?? does that still apply after the 2024.4 core update ?

to be clear: somewhere last year we had to move the secrets from /config to /homeassistant ? yes? and now back to /config ?? yes?

my apps.yaml looks like this now but not showing the weather card:

  entities:
    - entity: sensor.quatt_hp1_temperatureoutside
      icon: sun-thermometer-outline      
    - entity: weather.forecast_home
          type: 1
    - entity: weather.forecast_home
    - entity: weather.forecast_home

when I remove the 'type: 1' the weather card appears again can you elaborate an that ?

when I set it like this:

  entities:
    - entity: sensor.quatt_hp1_temperatureoutside
      icon: sun-thermometer-outline      
    - entity: weather.forecast_home
    type: 1
    - entity: weather.forecast_home
    - entity: weather.forecast_home

only the sensor.quatt shows but the rest doesn't, yes I downloaded the nspanel again

thanks

H

joBr99 commented 4 months ago

The steps above still apply - if you done everything here with the upgrade to AppDeamon 15, you do not need to do anything. If you only did the first step you need to do the rest of them otherwise you won't use the stuff downloaded by HACS, because appdaemon is looking at the wrong directory. You have to have app_dir in your appdaemon.yaml to point appdaemon to the correct location used by HACS.

Also please see the #1204 / the release notes of the latest release, the weather entity does no longer provide forecast data and you need to do the steps described in the release notes to work around this, but your config snippet doesn't look like you followed those steps.

madebywitteveen commented 4 months ago

unfortuneately no luck; I am kind of stuck:

here are all the files that matter: config is in: /homeassistant/configuration.yaml (with inside the updated part 'template' from your site apps.yaml is in /homeassistant/appdaemon/apps/apps.yaml appdeamon is in /addon_configs/a0d7b954_appdaemon/appdaemon.yaml with this contents:

---
#secrets: /config/secrets.yaml
secrets: /homeassistant/secrets.yaml
appdaemon:
  latitude: <hidden>
  longitude: <hidden>
  elevation: 
  time_zone: <hidden>
  app_dir: /homeassistant/appdaemon/apps/
  plugins:
    HASS:
      type: hass
    MQTT:

The NSpanel is 'waitin for content' and not showing anything anymore. The log of appdaemon showing all kinds of errors:

2024-04-21 14:26:50.418388 INFO AppDaemon: Got initial state from namespace default
2024-04-21 14:26:52.384180 INFO AppDaemon: Scheduler running in realtime
2024-04-21 14:26:52.390316 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/ to module import path
2024-04-21 14:26:52.391120 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui to module import path
2024-04-21 14:26:52.391808 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend to module import path
2024-04-21 14:26:52.392497 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations to module import path
2024-04-21 14:26:52.393351 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/frontend to module import path
2024-04-21 14:26:52.394311 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/backend to module import path
2024-04-21 14:26:52.394909 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/omnikdatalogger to module import path
2024-04-21 14:26:52.395430 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/omnikdatalogger/omnik to module import path
2024-04-21 14:26:52.396127 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_localproxy to module import path
2024-04-21 14:26:52.396662 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_output to module import path
2024-04-21 14:26:52.397209 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_client to module import path
2024-04-21 14:26:52.397708 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/omnikdatalogger/omnik/dsmr to module import path
2024-04-21 14:26:52.421064 INFO AppDaemon: Loading App Module: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py
2024-04-21 14:26:52.666533 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/apis.py - ignoring
2024-04-21 14:26:52.667697 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/icon_mapping.py - ignoring
2024-04-21 14:26:52.669025 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/theme.py - ignoring
2024-04-21 14:26:52.669962 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/localization.py - ignoring
2024-04-21 14:26:52.670938 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/helper.py - ignoring
2024-04-21 14:26:52.671709 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/controller.py - ignoring
2024-04-21 14:26:52.672592 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/pages.py - ignoring
2024-04-21 14:26:52.673470 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/icons.py - ignoring
2024-04-21 14:26:52.674310 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/config.py - ignoring
2024-04-21 14:26:52.675184 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/mqtt.py - ignoring
2024-04-21 14:26:52.676141 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/updater.py - ignoring
2024-04-21 14:26:52.677088 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omniklogger.py - ignoring
2024-04-21 14:26:52.678162 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plant.py - ignoring
2024-04-21 14:26:52.679026 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/InverterMsg.py - ignoring
2024-04-21 14:26:52.679949 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/__init__.py - ignoring
2024-04-21 14:26:52.680990 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/ha_logger.py - ignoring
2024-04-21 14:26:52.682027 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/datalogger.py - ignoring
2024-04-21 14:26:52.682995 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/daylight.py - ignoring
2024-04-21 14:26:52.683829 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_localproxy/mqtt_proxy.py - ignoring
2024-04-21 14:26:52.684856 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_localproxy/hassapi.py - ignoring
2024-04-21 14:26:52.686022 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_localproxy/tcp_proxy.py - ignoring
2024-04-21 14:26:52.687140 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_localproxy/__init__.py - ignoring
2024-04-21 14:26:52.688069 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_output/csvoutput.py - ignoring
2024-04-21 14:26:52.688998 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_output/influxdb.py - ignoring
2024-04-21 14:26:52.690144 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_output/pvoutput.py - ignoring
2024-04-21 14:26:52.691053 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_output/mqtt.py - ignoring
2024-04-21 14:26:52.691823 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_output/__init__.py - ignoring
2024-04-21 14:26:52.692873 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_client/tcpclient.py - ignoring
2024-04-21 14:26:52.693918 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_client/localproxy.py - ignoring
2024-04-21 14:26:52.694912 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_client/solarmanpv.py - ignoring
2024-04-21 14:26:52.695781 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_client/__init__.py - ignoring
2024-04-21 14:26:52.696698 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/dsmr/terminal.py - ignoring
2024-04-21 14:26:52.697535 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/dsmr/__init__.py - ignoring
2024-04-21 14:26:52.698289 INFO AppDaemon: Loading app nspanel-1 using class NsPanelLovelaceUIManager from module nspanel-lovelace-ui
2024-04-21 14:26:52.700435 INFO AppDaemon: Calling initialize() for nspanel-1
2024-04-21 14:26:52.780430 INFO nspanel-1: Starting
2024-04-21 14:26:52.790320 WARNING nspanel-1: ------------------------------------------------------------
2024-04-21 14:26:52.790539 WARNING nspanel-1: Unexpected error running initialize() for nspanel-1
2024-04-21 14:26:52.791060 WARNING nspanel-1: ------------------------------------------------------------
2024-04-21 14:26:52.796111 WARNING nspanel-1: Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/appdaemon/app_management.py", line 162, in initialize_app
    await utils.run_in_executor(self, init)
  File "/usr/lib/python3.11/site-packages/appdaemon/utils.py", line 304, in run_in_executor
    response = future.result()
               ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/homeassistant/appdaemon/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py", line 18, in initialize
    apis.ha_api   = self.get_plugin_api("HASS")
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/appdaemon/utils.py", line 231, in inner_sync_wrapper
    f = run_coroutine_threadsafe(self, coro(self, *args, **kwargs))
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/appdaemon/utils.py", line 313, in run_coroutine_threadsafe
    result = future.result(self.AD.internal_function_timeout)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/usr/lib/python3.11/site-packages/appdaemon/adbase.py", line 115, in get_plugin_api
    return await self.AD.plugins.get_plugin_api(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/appdaemon/plugin_management.py", line 404, in get_plugin_api
    mod = __import__(module_name, globals(), locals(), [module_name], 0)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_localproxy/hassapi.py", line 6, in <module>
    class HASSAPI(LocalProxyPlugin):
  File "/homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_localproxy/__init__.py", line 7, in __init__
    cls.register(cls)  # Called when a plugin class is imported
    ^^^^^^^^^^^^^^^^^
  File "/homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_localproxy/__init__.py", line 11, in register
    cls.localproxy_plugins.append(plugin())
                                  ^^^^^^^^
  File "/homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_localproxy/hassapi.py", line 22, in __init__
    hybridlogger.ha_log(
  File "/homeassistant/appdaemon/apps/omnikdatalogger/omnik/ha_logger.py", line 13, in ha_log
    logger.info(f"I {datetime.datetime.now().isoformat()} {message}")
    ^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'info'

2024-04-21 14:26:52.796391 WARNING nspanel-1: ------------------------------------------------------------
2024-04-21 14:26:52.797507 INFO AppDaemon: App initialization complete
madebywitteveen commented 4 months ago

and yes: reinstalled appdaemon and nspanel several times..................

joBr99 commented 4 months ago

looks like the connection between appdaemon and homeassistant is broken - but I cannot tell you more about it from this part of the log. However your other appdaemon app omnikdatalogger has the same problem.

madebywitteveen commented 4 months ago

Hi, here is the full log but can't find any issues:

2024-04-21 15:04:18.833943 INFO AppDaemon: AppDaemon Version 4.4.2 starting
2024-04-21 15:04:18.834475 INFO AppDaemon: Python version is 3.11.6
2024-04-21 15:04:18.834967 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml
2024-04-21 15:04:18.835309 INFO AppDaemon: Added log: AppDaemon
2024-04-21 15:04:18.835605 INFO AppDaemon: Added log: Error
2024-04-21 15:04:18.836084 INFO AppDaemon: Added log: Access
2024-04-21 15:04:18.836518 INFO AppDaemon: Added log: Diag
2024-04-21 15:04:19.217583 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2024-04-21 15:04:19.496072 INFO HASS: HASS Plugin Initializing
2024-04-21 15:04:19.496394 INFO HASS: HASS Plugin initialization complete
2024-04-21 15:04:19.496971 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin
2024-04-21 15:04:19.609524 INFO MQTT: MQTT Plugin Initializing
2024-04-21 15:04:19.610172 INFO MQTT: Using 'appdaemon/status' as Will Topic
2024-04-21 15:04:19.610533 INFO MQTT: Using 'appdaemon/status' as Birth Topic
2024-04-21 15:04:19.611295 INFO AppDaemon: Initializing HTTP
2024-04-21 15:04:19.611825 INFO AppDaemon: Using 'ws' for event stream
2024-04-21 15:04:19.616632 INFO AppDaemon: Starting API
2024-04-21 15:04:19.620865 INFO AppDaemon: Starting Admin Interface
2024-04-21 15:04:19.621413 INFO AppDaemon: Starting Dashboards
2024-04-21 15:04:19.634190 INFO HASS: Connected to Home Assistant 2024.4.3
2024-04-21 15:04:19.685436 INFO MQTT: Connected to Broker at URL 192.168.1.208:1883
2024-04-21 15:04:19.731329 INFO HASS: Evaluating startup conditions
2024-04-21 15:04:19.732803 INFO AppDaemon: Got initial state from namespace mqtt
2024-04-21 15:04:19.733154 INFO MQTT: MQTT Plugin initialization complete
2024-04-21 15:04:19.737550 INFO HASS: Startup condition met: hass state=RUNNING
2024-04-21 15:04:19.738024 INFO HASS: All startup conditions met
2024-04-21 15:04:19.739395 INFO AppDaemon: App 'nspanel-1' added
2024-04-21 15:04:19.742317 INFO AppDaemon: Found 1 active apps
2024-04-21 15:04:19.742847 INFO AppDaemon: Found 0 inactive apps
2024-04-21 15:04:19.743252 INFO AppDaemon: Found 0 global libraries
2024-04-21 15:04:19.743685 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2024-04-21 15:04:19.745676 INFO AppDaemon: Running on port 5050
2024-04-21 15:04:19.769917 INFO AppDaemon: Got initial state from namespace default
2024-04-21 15:04:20.809841 INFO AppDaemon: New client Admin Client connected
2024-04-21 15:04:21.777063 INFO AppDaemon: Scheduler running in realtime
2024-04-21 15:04:21.796528 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/ to module import path
2024-04-21 15:04:21.797315 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui to module import path
2024-04-21 15:04:21.797970 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend to module import path
2024-04-21 15:04:21.798692 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations to module import path
2024-04-21 15:04:21.799443 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/frontend to module import path
2024-04-21 15:04:21.800175 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/backend to module import path
2024-04-21 15:04:21.800965 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/omnikdatalogger to module import path
2024-04-21 15:04:21.801453 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/omnikdatalogger/omnik to module import path
2024-04-21 15:04:21.801936 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_localproxy to module import path
2024-04-21 15:04:21.802784 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_output to module import path
2024-04-21 15:04:21.803283 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_client to module import path
2024-04-21 15:04:21.803743 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/omnikdatalogger/omnik/dsmr to module import path
2024-04-21 15:04:21.834110 INFO AppDaemon: Loading App Module: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py
2024-04-21 15:04:22.090191 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/apis.py - ignoring
2024-04-21 15:04:22.091870 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/icon_mapping.py - ignoring
2024-04-21 15:04:22.094008 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/theme.py - ignoring
2024-04-21 15:04:22.095080 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/localization.py - ignoring
2024-04-21 15:04:22.097599 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/helper.py - ignoring
2024-04-21 15:04:22.098982 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/controller.py - ignoring
2024-04-21 15:04:22.100163 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/pages.py - ignoring
2024-04-21 15:04:22.101933 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/icons.py - ignoring
2024-04-21 15:04:22.103195 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/config.py - ignoring
2024-04-21 15:04:22.105207 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/mqtt.py - ignoring
2024-04-21 15:04:22.106748 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/updater.py - ignoring
2024-04-21 15:04:22.108086 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omniklogger.py - ignoring
2024-04-21 15:04:22.109297 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plant.py - ignoring
2024-04-21 15:04:22.110934 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/InverterMsg.py - ignoring
2024-04-21 15:04:22.112261 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/__init__.py - ignoring
2024-04-21 15:04:22.113661 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/ha_logger.py - ignoring
2024-04-21 15:04:22.115471 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/datalogger.py - ignoring
2024-04-21 15:04:22.117028 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/daylight.py - ignoring
2024-04-21 15:04:22.119076 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_localproxy/mqtt_proxy.py - ignoring
2024-04-21 15:04:22.120823 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_localproxy/hassapi.py - ignoring
2024-04-21 15:04:22.123534 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_localproxy/tcp_proxy.py - ignoring
2024-04-21 15:04:22.124987 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_localproxy/__init__.py - ignoring
2024-04-21 15:04:22.126733 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_output/csvoutput.py - ignoring
2024-04-21 15:04:22.128530 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_output/influxdb.py - ignoring
2024-04-21 15:04:22.129578 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_output/pvoutput.py - ignoring
2024-04-21 15:04:22.130701 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_output/mqtt.py - ignoring
2024-04-21 15:04:22.132695 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_output/__init__.py - ignoring
2024-04-21 15:04:22.134926 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_client/tcpclient.py - ignoring
2024-04-21 15:04:22.136659 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_client/localproxy.py - ignoring
2024-04-21 15:04:22.138635 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_client/solarmanpv.py - ignoring
2024-04-21 15:04:22.140185 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/plugin_client/__init__.py - ignoring
2024-04-21 15:04:22.142319 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/dsmr/terminal.py - ignoring
2024-04-21 15:04:22.143914 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/omnikdatalogger/omnik/dsmr/__init__.py - ignoring
2024-04-21 15:04:22.144830 INFO AppDaemon: Loading app nspanel-1 using class NsPanelLovelaceUIManager from module nspanel-lovelace-ui
2024-04-21 15:04:22.148381 INFO AppDaemon: Calling initialize() for nspanel-1
2024-04-21 15:04:22.232387 INFO nspanel-1: Starting
2024-04-21 15:04:22.252637 INFO AppDaemon: App initialization complete
joBr99 commented 4 months ago

k, this looks fine - looking at your previous error message all of this is coming from files of omnikdatalogger, nothing related to this project.

madebywitteveen commented 4 months ago

I understand thanks but the nspanel is still 'waiting for content' Thus is all files are in the right spot and the appdaemon seems working ok, what could it be then ?

yes I have to reinstall the omnik stuf but that is not important for now

thanks

joBr99 commented 4 months ago

Cannot tell you with the parts of the logs you posted - also I need the apps.yaml

madebywitteveen commented 4 months ago
nspanel-1:
  module: nspanel-lovelace-ui
  class: NsPanelLovelaceUIManager
  config:
    panelRecvTopic: "tele/wallpanellivingroom/RESULT"
    panelSendTopic: "cmnd/wallpanellivingroom/CustomSend"
    model: eu
    sleepTimeout: 20
    sleepBrightness:
      - time: "7:00:00"
        value: 15
      - time: "20:00:00"
        value: 1
      - time: "22:00:00"
        value: 0
    locale: "en_US"
    screensaver:
      entities:
        - entity: sensor.quatt_hp1_temperatureoutside
          icon: sun-thermometer-outline      
        - entity: weather.forecast_home
        - entity: weather.forecast_home
        - entity: weather.forecast_home
        - entity:
        - entity: sensor.wallpanel_living_room_analog_temperature1
          icon: home-thermometer

      defaultCard: navigate.mc
    cards:
      - type: cardGrid
        key: mc
        title: MANCAVE
        entities:
          - entity: switch.mancave_desk
            icon: desk-lamp
          - entity: input_button.leave_room
          - entity: light.shellydimmer2_3494547a3481
          - entity: script.mancave_rgbon
            icon: projector-screen
      - type: cardGrid
        title: THEATRE
        entities:
          - entity: light.shellydimmer2_3494547a3481
          - entity: script.mancave_rgbon
          - entity:
          - entity: input_button.theatre_on
            icon: movie-open
          - entity: input_button.theatre_off
            icon: movie-off
      - type: cardGrid
        title: TEMPERATURE
        entities:
          - entity: sensor.shellyuni_3c6105e4eed3_temperature
          - entity: sensor.tstat_bf7056_current_temperature
          - entity: switch.boiler
          - entity: sensor.wallpanel_living_room_analog_temperature1
      - type: cardThermo
        title: LIVINGROOM
        entity: climate.tstat_bf7056_lyric_t6_thermostat
      - type: cardEntities
        title: BEDROOM
        entities:
          - entity: cover.shade_controls
      - type: cardGrid
        title: POWER
        entities:
          - entity: sensor.p1_meter_3c39e72a105a_active_current_l1
          - entity: sensor.p1_meter_3c39e72a105a_active_power_l1
joBr99 commented 4 months ago

cannot tell you anything without the appdaemon log, also this is kina off topic here - please open a waiting for content issue with all of the requested information, tasmota config, appdaemon logs etc.

madebywitteveen commented 4 months ago

perhaps the BABEL package is missing, by comparing the old settings from the backup this line is gone

madebywitteveen commented 4 months ago

gave it up.....................restored backup.........................zzzzzzzzzzzzzzzzzzz...................thanks.........................

madebywitteveen commented 4 months ago

did some more investigation:

when I comment-out the 'app_dir: /homeassistant/appdaemon/apps/' line the file in the old location are used and the panel is working. but in the startup log of the appdaemon there is this line which is strange:

2024-04-21 19:23:57.465441 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml

the appdaemon.yaml is not there ?!? how can this work ? Asked Frenck also, no answer yet

thanks

joBr99 commented 4 months ago

if you change the app_dir to /homeassistant/appdaemon/apps/ you need to make sure that the apps you've installed though HACS are still there

image

You can get the folders back by uninstalling and reinstalling the apps in HACS.

madebywitteveen commented 4 months ago

Yes of course they are there, I can see the date stamp is updated after uninstalling and reinstalling in the new location.For some reason the appdaemon is not working when pointed to a new directory Thanks -------- Original message --------From: Johannes @.> Date: 21/04/2024 19:44 (GMT+01:00) To: joBr99/nspanel-lovelace-ui @.> Cc: madebywitteveen @.>, Comment @.> Subject: Re: [joBr99/nspanel-lovelace-ui] How-to Upgrade to AppDaemon 15 (Issue #1029) if you change the app_dir to /homeassistant/appdaemon/apps/ you need to make sure that the apps you've installed though HACS are still there image.png (view on web) You can get the folder back by uninstalling and reinstalling the apps in HACS.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>