Comments (2)
Some of the values you want can be found in the data (use --json
when running example.py
). For example, produced power by PV is energy_total
in Wh. The battery also reports total energy consumed (by charging) and delivered (by discharging) as lifetime_export_energy_counter
and lifetime_import_energy_counter
.
The other values need to be computed by yourself, as you'll need a kWh meter at the grid connection point.
from solaredge_modbus.
Thank you for your response.
I tested the JSON output format and filtered out fields from Modbus request. With the fetched fields you can calculate the other values later.
I hope I'm doing it in a correct way and other readers can learn from it. In case I'm wrong please let me know.
Regards
c_time = json_body[0]['time']
c_inverter_power_ac = json_body[0]['fields']['power_ac']
c_meter_power = json_body[1]['fields']['power']
if lBattery == True:
b_available_energy = json_body[2]['fields']['available_energy']
b_instantaneous_power = json_body[2]['fields']['instantaneous_power']
Battery_Power_W = float(b_instantaneous_power)
Work_Storage_kWh = float(b_available_energy)
from solaredge_modbus.
Related Issues (20)
- Registers 0xF103 and 0xF105 (in code) or should it be 0xF104 and 0xF106 (in specs). Which ones are correct?
- pymodbus 3.7.0 pymodbus.register_read_message
- Enums in __init__.py
- How to interpret the data returned by example.py HOT 10
- [Solved] - Error "ModuleNotFoundError: No module named 'pymodbus.client.sync'" HOT 1
- Data returned by example.py HOT 4
- Support for 3 x SolarEdge Home Battery HOT 1
- I dont know how to setup
- Which Parameter is which HOT 9
- BIG and LITTLE Endian vs Big and Little Endian HOT 3
- Incorrect address in __init__.py HOT 1
- How is the SolarEdge Wallbox integrated? HOT 3
- Module based information for SolarEdge Home Battery 48V HOT 1
- New storage control mode
- Grid Status, off/on grid - Found
- Third Battery is now available in modbus registers (+0x0200) - Please add support HOT 1
- KeyError "Status" HOT 3
- Batteries connected to Followers
- Solar Edge Modbus Meter, Importing or Exporting?
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 solaredge_modbus.