GithubHelp home page GithubHelp logo

solaredge-influxdb's People

Contributors

peplin avatar salberin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

solaredge-influxdb's Issues

Unhandled Exception: int too large to convert to float

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!

Issue connecting to influxdb on port 8086

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>

We've solved a few problems

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

Time format

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())

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.