salberin / solaredge-influxdb Goto Github PK
View Code? Open in Web Editor NEWSolarEdge to InfluxDb monitor
License: Apache License 2.0
SolarEdge to InfluxDb monitor
License: Apache License 2.0
I saw mention of this in the other logged issue, but wanted to mark down another instance of it happening:
ekranz@influxdb:~/Solaredge-influxdb$ python3 ./solaredge.py 192.168.1.55 --influxdb 192.168.1.51 --port 1502 -d
/home/ekranz/.local/lib/python3.6/site-packages/aioinflux/compat.py:12: UserWarning: Pandas/Numpy is not available. Support for 'dataframe' mode is disabled.
warnings.warn(no_pandas_warning)
Starting up solaredge monitoring
Connecting to Solaredge inverter 192.168.1.55 on port 1502 using unitid 1
Writing data to influxDb 192.168.1.51 on port 8086 every 5 seconds
DEBUG:solaredge:Running eventloop
INFO:solaredge:Database opened and initialized
ERROR:solaredge:Unhandled exception: int too large to convert to float
ERROR:solaredge:Unhandled exception: int too large to convert to float
ERROR:solaredge:Unhandled exception: int too large to convert to float
ERROR:solaredge:Unhandled exception: int too large to convert to float
ERROR:solaredge:Unhandled exception: int too large to convert to float
ERROR:solaredge:Unhandled exception: int too large to convert to float
ERROR:solaredge:Unhandled exception: int too large to convert to float
ERROR:solaredge:Unhandled exception: int too large to convert to float
ERROR:solaredge:Unhandled exception: int too large to convert to float
^CTraceback (most recent call last):
File "./solaredge.py", line 127, in <module>
asyncio.get_event_loop().run_until_complete(write_to_influx(args.influxdb, args.influxport, args.period))
File "/usr/lib/python3.6/asyncio/base_events.py", line 471, in run_until_complete
self.run_forever()
File "/usr/lib/python3.6/asyncio/base_events.py", line 438, in run_forever
self._run_once()
File "/usr/lib/python3.6/asyncio/base_events.py", line 1415, in _run_once
event_list = self._selector.select(timeout)
File "/usr/lib/python3.6/selectors.py", line 445, in select
fd_event_list = self._epoll.poll(timeout, max_ev)
KeyboardInterrupt
This is connecting to a SolarEdge SE11400H-US. I'd be happy to help in any way I can!
Thanks!
Hello,
i am new to getting all this working, but i had follow all installation requirements but i am stuck on the issue below, can you direct me on getting the connection and getting the data to the influxdb database solardege. Please assist i will appriciated
Roberto
pi@gen-raspi-node05:~/Solaredge-influxdb $ python3 ./solaredge.py solaredge --influxdb solaredge --influxport 8086
/usr/local/lib/python3.6/site-packages/aioinflux/compat.py:12: UserWarning: Pandas/Numpy is not available. Support for 'dataframe' mode is disabled.
warnings.warn(no_pandas_warning)
Starting up solaredge monitoring
Connecting to Solaredge inverter solaredge on port 502 using unitid 1
Writing data to influxDb solaredge on port 8086
ERROR:solaredge:Error during connection to InfluxDb solaredge: Cannot connect to host solaredge:8086 ssl:default [Connect call failed ('192.168.1.230', 8086)]
ERROR:asyncio:Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x75c6b650>
Hi,
With the help of Robmit68 we've solved two problems:
Unhandled Exception: int too large to convert to float
This is in solaredge models that uses the sunspec modbus. There is a difference in the modbus lines.
A splitfase setup. The current readings are across fase A and B. This is a different line in the modbus.
We've created two new files:
solaredge.py.txt
solaredge-splitfase.py (1).txt
Please consider changing the time format to local time from:
datapoint['time'] = str(datetime.datetime.utcnow().replace(tzinfo=datetime.timezone.utc).isoformat())
to
datapoint['time'] = str(datetime.datetime.now().astimezone().isoformat())
IN:Solaredge.py
Line-46 # Register 40072-40075
should be #Register 40071-40074???
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.