v2.x.x #48
Replies: 3 comments 6 replies
-
Hi Addie, |
Beta Was this translation helpful? Give feedback.
-
Hi Addie,
Thank you for your very fast response, super! I surely give it a try.
Somehow I’m not able to retrieve the 0.7.2 version so had to fall back on 0.7.0.
***@***.***:~/domoticz/plugins/domoticz-solaredge-modbustcp-plugin.2.0.2 $ sudo service domoticz stop
***@***.***:~/domoticz/plugins/domoticz-solaredge-modbustcp-plugin.2.0.2 $ cd ..
***@***.***:~/domoticz/plugins $ cd domoticz-solaredge-modbustcp-plugin.2.0.3
***@***.***:~/domoticz/plugins/domoticz-solaredge-modbustcp-plugin.2.0.3 $ sudo pip3 install -r requirements.txt
Collecting solaredge_modbus==0.7.2 (from -r requirements.txt (line 1))
Could not find a version that satisfies the requirement solaredge_modbus==0.7.2 (from -r requirements.txt (line 1)) (from versions: 0.1.1, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.7.0)
No matching distribution found for solaredge_modbus==0.7.2 (from -r requirements.txt (line 1))
I installed again and removed the older plugin-folders. Verbose logging and Inverter+Batteries are activated in the menu, see below.
In batteries.py, table OTHER_BATTERY, the modbusnames from the last 16 (so from “rated_energy” … “soe”) I saw them when calling via example.py:
Battery Registers:
{'c_manufacturer': 'TESLA\x14\tT15L0001124', 'c_model': '1067000-00-B', 'c_version': '2.30.5', 'c_serialnumber': 'T15L0001124', 'c_deviceaddress': 24, 'c_sunspec_did': 0, 'rated_energy': 6400.0, 'maximum_charge_continuous_power': 3300.0, 'maximum_discharge_continuous_power': 3300.0, 'maximum_charge_peak_power': 0.0, 'maximum_discharge_peak_power': 3300.0, 'average_temperature': 30.0, 'maximum_temperature': 0.0, 'instantaneous_voltage': 427.29998779296875, 'instantaneous_current': 0.0, 'instantaneous_power': 0.0, 'lifetime_export_energy_counter': 9992572, 'lifetime_import_energy_counter': 10288016, 'maximum_energy': 6400.0, 'available_energy': 5625.0, 'soh': 87.890625, 'soe': 100.0, 'status': 6, 'status_internal': 3, 'event_log': 0, 'event_log_internal': 0, 'battery_stored_energy': 5625.0}
Battery Registers:
{'c_manufacturer': '\x02', 'c_model': 'False', 'c_version': 'False', 'c_serialnumber': 'False', 'c_deviceaddress': 16, 'c_sunspec_did': 0, 'rated_energy': -3.4028234663852886e+38, 'maximum_charge_continuous_power': -3.4028234663852886e+38, 'maximum_discharge_continuous_power': -3.4028234663852886e+38, 'maximum_charge_peak_power': -3.4028234663852886e+38, 'maximum_discharge_peak_power': -3.4028234663852886e+38, 'average_temperature': -3.4028234663852886e+38, 'maximum_temperature': 0.0, 'instantaneous_voltage': -3.4028234663852886e+38, 'instantaneous_current': -3.4028234663852886e+38, 'instantaneous_power': 0.0, 'lifetime_export_energy_counter': 0, 'lifetime_import_energy_counter': 0, 'maximum_energy': -3.4028234663852886e+38, 'available_energy': -3.4028234663852886e+38, 'soh': -3.4028234663852886e+38, 'soe': -3.4028234663852886e+38, 'status': 7, 'status_internal': 0, 'event_log': 0, 'event_log_internal': 0, 'battery_stored_energy': 1.1579207543382391e+75}
- However I didn’t see STATUS, STATUS_INTERNAL, EVENT_LOG and EVEN_LOG_INTERNAL. Maybe a point of investigation?
- I also noticed in example.py that the c_serialnumber from the “fake” battery contains ‘False”. Is this somewhat you can use in a workaround?
In v2.0.2 row 493 you had something like # to_log = battery_values
# if "c_serialnumber" in to_log:
# to_log.pop("c_serialnumber")
# DomoLog(LogLevels.VERBOSE, "device: {} values: {}".format("Battery", json.dumps(to_log, indent=4, sort_keys=False))) #was battery zonder ""
I also include the Verbose++ logfile from Domoticz. Note that there is no sign of battery info available. You will also find another SolarEdgeModBusTCP: (SolarEdgeModBusTCP), this is another device converting solar energy on the shed. This one still is okay, even after updating to v2.0.3.
I hope you find this information useful. I can provide more logs or do some trials. The SolarEdge SE3500 also has -next to the Tesla Powerwall 1- also 2 energymeters attached which already are present in the Domoticz.
At last I tried to remove the hardware called Tesla and add a new hardware again but then also no recognition of de battery took place.
|
Beta Was this translation helpful? Give feedback.
-
Hoi Addie,
Ik heb alles opniew gedaan en krijg de volgende error is mij logging:
2023-09-02 13:05:04.963 Error: Solaredge ModbusTCP: (SolarEdge_ModbusTCP) failed to load 'plugin.py', Python Path used was '/home/hjz/domoticz/plugins/domoticz-solaredge-modbustcp-plugin/:/usr/lib/python39.zip:/usr/lib/python3.9:/usr/lib/python3.9/lib-dynload:/usr/local/lib/python3.9/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.9/dist-packages'.
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: Traceback (most recent call last):
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: File "/home/hjz/domoticz/plugins/domoticz-solaredge-modbustcp-plugin/plugin.py", line 68, in <module>
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: import solaredge_modbus
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: File "/usr/local/lib/python3.9/dist-packages/solaredge_modbus/__init__.py", line 157, in <module>
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: class SolarEdge:
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: File "/usr/local/lib/python3.9/dist-packages/solaredge_modbus/__init__.py", line 163, in SolarEdge
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: wordorder = Endian.Big
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: File "/usr/lib/python3.9/enum.py", line 405, in __getattr__
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: raise AttributeError(name) from None
2023-09-02 13:05:04.969 Error: Solaredge ModbusTCP: AttributeError: Big
Wat gaat er nog mis?
Mvg
HJZ
From: Addie Janssen
Sent: zaterdag 2 september 2023 11:15
To: addiejanssen/domoticz-solaredge-modbustcp-plugin ***@***.***>
Cc: hjzwiers ***@***.***>; Mention ***@***.***>
Subject: Re: [addiejanssen/domoticz-solaredge-modbustcp-plugin] 2.x.x (Discussion #48)
Hey @hjzwiers <https://github.com/hjzwiers> ,
The "git clone" instructions are for the 1.x.x version of the plugin which does not support meters and batteries.
The installation instructions for the 2.x.x can be found here: https://github.com/addiejanssen/domoticz-solaredge-modbustcp-plugin/tree/meters
Hope this helps.
—
Reply to this email directly, view it on GitHub <#48 (reply in thread)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/A3D5XE76MVLXIV3PZWNQK33XYL2JDANCNFSM6AAAAAARR2TUDQ> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/A3D5XE765CXJGWFXMGMBHQDXYL2JDA5CNFSM6AAAAAARR2TUDSWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQANEUNG.gif> Message ID: ***@***.*** ***@***.***> >
|
Beta Was this translation helpful? Give feedback.
-
This is the second pre-release of the 2.x.x version of the plugin which will support reading
meter
andbattery
data next to theinverter
data.This is a major rewrite of the plugin and is only tested by a very small group of users so far.
And although it was tested by them, we may not yet have found all issues with it.
We would love to receive feedback on this version in the Discussions before we are going to release it to the public!
Enjoy!
Addie
We need your help!
Do you have a meter or battery connected to your inverter?
Then please set the log level to verbose and share the output of your inverter with us!
This allows us to make sure that we have valid/real life data that the plugin should be able to work with.
Changelog
Added
Tested with the latest version (0.7.2) of the solaredge_modbus library.
Changed
During testing it was found that certain inverters return battery information while there were no batteries attached to the inverter.
First investigations shows that this might be an issue caused by the solaredge_modbus library.
We will contact the developer of that library to further investigate.
For now, battery support has been turned off.
Fixed
This discussion was created from the release 2.0.2.
Beta Was this translation helpful? Give feedback.
All reactions