Comments (20)
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.
from pv_opt.
Same issue, started today. Tried rolling back to HA 2024.6.2 but still getting the same error.
from pv_opt.
Rolled back to 2024.05.5 but still the same. App won’t start.
from pv_opt.
Same here also for solax house load today
from pv_opt.
Also see this when I restart AppDaemon
WARNING: pv_opt: Entity sensor.pvopt_status not found in namespace default
from pv_opt.
from pv_opt.
from pv_opt.
Using ha solax modbus - yes it appears to be working
from pv_opt.
Using the Solax solis modus integration and its reporting all entities. Will upload logs shortly
from pv_opt.
I stopped AppDaemon, cleared the logs and restarted AppDaemon. Logs below.
from pv_opt.
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.
from pv_opt.
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.
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.
The fix worked. As always thanks for your work and the great integration.
from pv_opt.
This is the root cause issue with deepdiff: seperman/deepdiff#464
from pv_opt.
Also raised as an issue on the AppDaemon addon: hassio-addons/addon-appdaemon#345
from pv_opt.
Perfect! Thank-you for jumping right in. Working again...
Did you want to keep it open to track the downstream issue?
from pv_opt.
Had same issue, now fixed. Thanks for quick response for a great program
from pv_opt.
from pv_opt.
Related Issues (20)
- Question about charging optimisation algorithm HOT 8
- PV sun up pre-charging HOT 3
- Optimiser frequency setting not working as expected HOT 2
- No charging schedule set in pv_opt HOT 8
- Static Solcast data HOT 8
- Incorrect release label? HOT 1
- Timezone error stopping pv_opt from starting HOT 7
- Unexpected error running initialize() for pv_opt HOT 3
- Battery doesn't get charged in cheap periods HOT 16
- Consumption Shape HOT 2
- Unexpected error in worker for App pv_opt: + ValueError: cannot convert float NaN to integer HOT 1
- solcast integration gone HOT 5
- Set up help HOT 2
- Multiple Inverters HOT 4
- Unexpected error in worker for App pv_opt:: AttributeError: 'numpy.float64' object has no attribute 'interpolate' HOT 1
- PV-OPT stopped working after update to 3.15.2 HOT 5
- Decreasing SOC despite battery charge HOT 2
- Integration with solis-sensor and solis-control HOT 2
- Discharge Power Greater Than `battery_current_limit_amps` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pv_opt.