Code Monkey home page Code Monkey logo

Comments (20)

fboundy avatar fboundy commented on July 2, 2024 1

This is an incompatibility between the version of deepdiff installed with HA and the 2.0.0 release of numpy.

As a fix please add numpy==1.26.4 to the AppDaemon config page. In due couse I expect versions will be bumped to fix this.

image

from pv_opt.

dolce08 avatar dolce08 commented on July 2, 2024

Same issue, started today. Tried rolling back to HA 2024.6.2 but still getting the same error.

from pv_opt.

swests avatar swests commented on July 2, 2024

Rolled back to 2024.05.5 but still the same. App won’t start.

from pv_opt.

Bart39 avatar Bart39 commented on July 2, 2024

Same here also for solax house load today

from pv_opt.

swests avatar swests commented on July 2, 2024

Also see this when I restart AppDaemon
WARNING: pv_opt: Entity sensor.pvopt_status not found in namespace default

from pv_opt.

fboundy avatar fboundy commented on July 2, 2024

from pv_opt.

Bart39 avatar Bart39 commented on July 2, 2024

from pv_opt.

Bart39 avatar Bart39 commented on July 2, 2024

pv_opt (1).log
error (1).log

Using ha solax modbus - yes it appears to be working

from pv_opt.

swests avatar swests commented on July 2, 2024

Using the Solax solis modus integration and its reporting all entities. Will upload logs shortly

from pv_opt.

swests avatar swests commented on July 2, 2024

I stopped AppDaemon, cleared the logs and restarted AppDaemon. Logs below.

error.log
main.log
pv_opt.log

from pv_opt.

swests avatar swests commented on July 2, 2024

New set of logs. I uninstalled PV_OPT, restarted and then installed the latest, with the default config. Made minor edits to config.yaml to pick up my entities (device_name: solmod). Still get the same issue. Attached config, and logs

error.log
pv_opt.log
main.log
config.yaml.txt

from pv_opt.

fboundy avatar fboundy commented on July 2, 2024

from pv_opt.

swests avatar swests commented on July 2, 2024

Detailed version info:
HA: 2024.5.5
AppDaemon: 0.16.6
PV_OPT: 3.15.1
OE: 11.0.2
SolaX Inverter Modbus: 2024.05.7
Solcast: 4.0.31 (new repo by BJReplay)
MQTT: 6.4.1

from pv_opt.

fboundy avatar fboundy commented on July 2, 2024

Thanks for the logs. The issue appears to be with the HASS plugin for AppDaemon as shown in the AppDaemon log here:

09:13:01 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
09:13:01 WARNING AppDaemon: error loading plugin: HASS - ignoring
09:13:01 WARNING AppDaemon: ------------------------------------------------------------
09:13:01 WARNING AppDaemon: Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/appdaemon/plugin_management.py", line 140, in __init__
    mod = __import__(full_module_name, globals(), locals(), [module_name], 0)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/appdaemon/plugins/hass/hassplugin.py", line 14, in <module>
    from deepdiff import DeepDiff
  File "/usr/lib/python3.11/site-packages/deepdiff/__init__.py", line 10, in <module>
    from .diff import DeepDiff
  File "/usr/lib/python3.11/site-packages/deepdiff/diff.py", line 18, in <module>
    from deepdiff.helper import (strings, bytes_type, numbers, uuids, times, ListItemRemovedOrAdded, notpresent,
  File "/usr/lib/python3.11/site-packages/deepdiff/helper.py", line 63, in <module>
    np_float_ = np.float_
                ^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/numpy/__init__.py", line 397, in __getattr__
    raise AttributeError(
AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.

09:13:01 WARNING AppDaemon: ------------------------------------------------------------

I may need to raise an issue on the AppDaemon or AppDaemon add-on repos as this isn't a PV_OPT issue.

from pv_opt.

dolce08 avatar dolce08 commented on July 2, 2024

The fix worked. As always thanks for your work and the great integration.

from pv_opt.

fboundy avatar fboundy commented on July 2, 2024

This is the root cause issue with deepdiff: seperman/deepdiff#464

from pv_opt.

fboundy avatar fboundy commented on July 2, 2024

Also raised as an issue on the AppDaemon addon: hassio-addons/addon-appdaemon#345

from pv_opt.

swests avatar swests commented on July 2, 2024

Perfect! Thank-you for jumping right in. Working again...

Did you want to keep it open to track the downstream issue?

from pv_opt.

stjohncanning avatar stjohncanning commented on July 2, 2024

Had same issue, now fixed. Thanks for quick response for a great program

from pv_opt.

fboundy avatar fboundy commented on July 2, 2024

from pv_opt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.