Comments (3)
What is the best practice for fetching the data? Leave the connection open between pollings or close it each time?
Unless there are other devices or applications that need to poll the inverter you should be keeping the connection open. Running example.py
in a loop, or via cron, probably isn't what you want to do.
And how often can we pool the data? Today I do it every 20 seconds... I don't know if I'm abusing or if it's slow!
I'm unsure of the refresh rate of the data, which would be the lower limit of how often it is useful to poll the data. You're unlikely to break things, though. Polling these registers causes no measurable CPU load.
from solaredge_modbus.
Yes today I have a variant of your example running in a systemd timer. I'm thinking of putting it into service. So I'm going to try to leave the connection open, but I'm not a fan of thinking that it's blocking access to other connection. I hope it doesn't block anything on the SolarEdge side either. Although my access should be exclusive (after I relay to MQTT for all my other consumers. I took the liberty of making a push request, it might be interesting for others).
from solaredge_modbus.
Hi, Thanks for the job, it's been running in my house for a few months now and it's allowed me to automate my W consumers very well! Mainly from Home-Assistant.
What is the best practice for fetching the data? Leave the connection open between pollings or close it each time?
And how often can we pool the data? Today I do it every 20 seconds... I don't know if I'm abusing or if it's slow!
Thanks for your advice,
I can poll via python script each 5 seconds. My python poll part sends data to Raspi Openhab2, Influx, Grafana.
from solaredge_modbus.
Related Issues (20)
- Support for Backup Interface HOT 3
- Isolation Resistance reporting? HOT 1
- 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
- Beginner question: where can I find a detailed description of modbus fields (e.g. different power values)? HOT 2
- KeyError "Status" HOT 1
- 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.