Comments (4)
Can you share how far you've gotten modifying example_influxdb.py
to get it to work?
from solaredge_modbus.
no, sorry im not a programmer i dont know how to add it.
this is what i got when try to connect to influxdb2 (latest)
today at 01:26:34 Container started
today at 01:26:30 influxdb.exceptions.InfluxDBClientError: 401: {"code":"unauthorized","message":"Unauthorized"}
today at 01:26:34 Traceback (most recent call last):
today at 01:26:34 File "example_influxdb.py", line 171, in <module>
today at 01:26:34 client.write_points(json_body)
today at 01:26:34 File "/usr/local/lib/python3.7/site-packages/influxdb/client.py", line 608, in write_points
today at 01:26:34 consistency=consistency)
today at 01:26:34 File "/usr/local/lib/python3.7/site-packages/influxdb/client.py", line 685, in _write_points
today at 01:26:34 protocol=protocol
today at 01:26:34 File "/usr/local/lib/python3.7/site-packages/influxdb/client.py", line 419, in write
today at 01:26:34 headers=headers
today at 01:26:34 File "/usr/local/lib/python3.7/site-packages/influxdb/client.py", line 378, in request
today at 01:26:34 raise InfluxDBClientError(err_msg, response.status_code)
today at 01:26:34 influxdb.exceptions.InfluxDBClientError: 401: {"code":"unauthorized","message":"Unauthorized"}
i read this one but dont know if help, its hard for me to understand:
https://john.soban.ski/refactor-python-to-influx-2.html
from solaredge_modbus.
I would prefer to storage not the whole transfer but some parsed important values. I will try to do it. This approach is also valid for openhab persistence.
from solaredge_modbus.
I have modified the example script for influxdb api v2 (see attachment) according to this documentation: https://www.influxdata.com/blog/getting-started-with-python-and-influxdb-v2-0/
Only thing you have do to is to import this library:
pip install influxdb-client
Example call:
./example_influxdbV2.py --influx_token <your_token> influx_org <your_org> --influx_bucket <your_bucket> --influx_url http://<your_ip>:8086 <your_inverter_ip> <your_inverter_port>
from solaredge_modbus.
Related Issues (20)
- Connection and polling interval best practices ? HOT 3
- reading inverter.meters() is not working HOT 5
- Showing non-existing batteries HOT 5
- Crash when initiating for 2 inverters simultaneous
- 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
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.