Giter Club home page Giter Club logo

iobroker.solaredge's Introduction

Logo

ioBroker.solaredge

GitHub license Downloads GitHub repo size Translation status
GitHub commit activity GitHub commits since latest release (by date) GitHub last commit GitHub issues
Version:
NPM version Current version in stable repository Number of Installations
Tests:
Test and Release CodeQL

Solaredge Adapter for ioBroker

Get data from solaredge monitoring portal. Currently, only the /overview data point is used to get the current power and day/month/year/lifetime energy readings.

You can also enable modbus on your solaredge device if it's a newer one and read the data directly.

You need your site id and api key to use this adapter. To get these, go to https://monitoring.solaredge.com

  • site id: log in, site id is the "ID" on the right, e.g., 12345.
  • api key: log in, go to the admin settings and enable api access there. If you don't see admin settings, send mail to solaredge to enable admin for your account.

Credits

This adapter would not have been possible without the great work of @92lleo (https://github.com/92lleo), who wrote the code for the initial versions and released it to ioborker-community-adapters.

Changelog

1.3.0 (2024-02-15)

  • (mcm1957) BREAKING: adapter requires node.js 18 or newer now.
  • (mcm1957) Adapter translations have been linked to weblate.
  • (mcm1957) Dependencies have been updated.

1.2.2 (2023-12-14)

  • (bluefox) Added random seconds to the schedule
  • (bluefox) Updated packages
  • (bluefox) Allowed adapter execution by restart

1.2.0 (2023-12-06)

  • (mcm1957) Adapter did not terminate in case of an exception. This has been fixed.
  • (mcm1957) A response timeout has been added to network calls.
  • (mcm1957) Adapter has been moved to iobroker-community-adapters organization
  • (mcm1957) Dependencies have been updated

1.1.0 (2023-11-16)

  • (bluefox) Added the current power flow data

1.0.1 (2023-08-18)

  • (bluefox) Added JSON config and replaced require module with axios

0.3.0

  • (Apollon77) Address review feedback from adapter review (see #19)

0.2.0

  • (92lleo) Add default values for native config vars
  • (92lleo) Set schedule to 15s to match api update rate
  • (92lleo) Fix updating already created states (broken since new js-controller, see #9)
  • (92lleo) Update dependencies
  • (92lleo) Clear timer on unload
  • (92lleo) Add a connection type and dataSource

0.1.1

  • (92lleo) fix "object data is invalid" issue, now works with new js-controller
  • (92lleo) update dependencies

0.1.0

  • (92lleo) first beta release. overview data from inteverters are available

0.0.1

  • (92lleo) initial release

License

MIT License

Copyright (c) 2023-2024 iobroker-community-adapters [email protected] Copyright (c) 2019-2023 Leonhard Kuenzler [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

iobroker.solaredge's People

Contributors

92lleo avatar apollon77 avatar dependabot[bot] avatar germanbluefox avatar mcm1957 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

iobroker.solaredge's Issues

Update stable version in repo from 1.2.2 to 1.3.0

Think about update stable version to 1.3.0

Version: stable=1.2.2 (78 days old) => latest=1.3.0 (15 days old)
Installs: stable=265 (51.86%), latest=47 (9.2%), total=511

Click to use developer portal
Click to edit

Note: This is an automatically generated message and not personally authored by bluefox!
Do not close this issue manually as a new issue will be created if condition for update still exists
@mcm1957 for evidence

Ensure adapter termination

In case of an (catched) exception the adapter is not terminate.

This fix must be reimplemented into actual code base.

Update stable version in repo from 0.0.0 to 1.2.2

Think about adding version 1.2.2 to stable repository.

Version: stable=0.0.0 (0 days old) => latest=1.2.2 (30 days old)
Installs: stable=0 (0%), latest=76 (16.59%), total=458

Click to use developer portal
Click to edit

Note: This is an automatically generated message and not personally authored by bluefox!

Finalize migration to iobroker-community-adapters

  • migrate or fork/importgithub repository to iobroker-community adapters
  • add access for ex-owner (if desired)
  • add a issue at old repository stating the move (if forked/imported only)
  • check access to npm
  • add npm owner bluefox
  • add npm owner apollon77
  • adapt links at package.json
  • adapt owner at package.json
  • adapt links at io-package.json
  • adapt owner at io-package.json
  • add github testing and release
  • update testing to node 18/20
  • add dependabot
  • add changelog at README.md
  • add credits at README.md
  • adapt latest repository links
  • adapt stable repository links
  • add package to community at npm
    .
  • run adapter checker and fix issues
    .
  • create a new release
    .
  • check wether an maintainer is available

Scheduled adapters should have random delays

An unmodified schedule adapter that queries data from external systems will produce a lot of issues because usually the default schedule stays unchanged for all users and so all installations out there will then contact the server at the exact same time create a "potentially huge" request spike. The best practice for now is at least to add a random delay to spread the calls within that minute - or even move the "minutes" on first start and so persist that (e.g. see https://github.com/ioBroker/ioBroker.yr/blob/master/main.js#L84-L90) ... if the adapter gets successfull then we have a big issue and the webpage owner contacting us ... we should prevent that from the beginning.

io-package.json specifies "schedule": "*/15 * * * *" which will execute at minute 0, 15, 30 and 45 of every hour as far ass I know. Please ignore, if I'm wrong.

Add axios timeouts

Code migrated to axios does not provide timeouts. this must be added.

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.