Socket
Socket
Sign inDemoInstall

iobroker.zendure-solarflow

Package Overview
Dependencies
4
Maintainers
0
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

iobroker.zendure-solarflow


Version published
Maintainers
0
Created

Readme

Source

Logo

ioBroker.zendure-solarflow

NPM version Downloads Number of Installations Current version in stable repository

NPM

Tests: Test and Release

Zendure Solarflow adapter for ioBroker

This project is an ioBroker Adapter to read data from the Zendure Solarflow Cloud API. It uses the official API provided by Zendure. You can read more about the API here: https://github.com/Zendure/developer-device-data-report

Features

  • Get all telemetry data from your Solarflow devices, also those not visible in the offical app - like battery voltage
  • Control your Solarflow HUB like in the offical app. Most of the settings are available.
  • Control the output limit - you are not limited to use a Shelly Pro EM to realize a zero feed-in. You can also design more complex scenarios via script or blockly in ioBroker.
  • Stop input if one battery drops into low voltage (battery protect). Works only when setting the output limit via the adapter
  • Control more than one Solarflow at the same time!
  • Get more precise calculations!
  • Works with all Zendure SolarFlow devices: HUB1200 (tested), HUB2000 and AIO (both untested)!

Notes

  1. Please deactivate/uncheck all modes in the Zendure App, otherwise it is not possible to set the output limit!

    Solarflow Settings Window

  2. You will be logged out of the official iOS or Android App after logging in with the ioBroker adapter. This is a normal behavior. As a workaround you can create an second Zendure account with another e-mail and grant access to your Solarflow HUB to this account. Then use the second account for ioBroker / the Zendure Solarflow adapter.

Credits

Credits goes to https://github.com/reinhard-brandstaedter/solarflow which helped a lot with the knowledge about the MQTT server from Zendure! Thanks!

Donate

If you find the adapter useful for you and want to support my work, feel free to donate by Paypal. Thank You! (this is an personal Donate link for Nograx, in no relation to the ioBroker Project!)

Donate

Changelog

1.6.7 (2024-06-23)

  • Fix reconnect again. Adapter will now restart every 3 hours to cleanup fully.

1.6.6 (2024-06-21)

  • Tweaked recurring refresh of access token.

1.6.5 (2024-06-20)

  • Fix reconnect issue. Adapter will now restart if connection semms to be broken.

1.6.4 (2024-06-03)

  • Fix services

1.6.3 (2024-06-03)

  • Fixed reconnect when connection seems to be dead.

1.6.2 (2024-05-21)

  • Changed standby usage to 10W

1.6.1 (2024-05-13)

  • Fix issue that sometime data is not updated
  • Add standby usage of HUB (20W) when solarinput is low

1.5.3 (2024-04-19)

  • Fix autoRecover datatype issue

1.5.2 (2024-04-17)

  • Minor bugfixes and improvements

1.5.0 (2024-04-12)

  • Add the possibility to connect to the 'Fallback' MQTT server known as 'Developer MQTT'. This server is read-only - so no control is possible!

1.4.0 (2024-04-03)

  • Add calculation states for solar input 1 & 2
  • Add states for wifiState, hubState, pvBrand and inverseMaxPower
  • Rename missleading title for input field 'Username' in settings to 'E-Mail'
  • Fix energyWh, energyWhMax and SOC in calculations if "Low Voltage Check" is not used, it will set the calculation soc to 0 if minSoc (discharge limit) is reached
  • Fix password input in settings

1.3.0 (2024-03-26)

  • Fix calculation for outputPackEnergy and packInputEnergy
  • Trigger full telemetry update on adapter start
  • Add state and control for buzzer switch
  • Add state and control for bypass mode and automatic reset of bypass mode next day
  • Add states for pass (Bypass on/off), autoRecover (auto-mode for Bypass next day) and passMode (current bypass mode)
  • Add efficiency factor for calculations (96% charging, 92%-98%* for discharging - based on measuring from VoltAmpereLux Youtube channel - THANKS!)
  • Changed calculations timeframe from 10secs to 30secs (performance related)

1.2.5 (2024-03-19)

  • Fix error "Read-only" state written without ack-flag

1.2.4 (2024-03-18)

  • Use setInterval instead of cronjob for refreshing access token

1.2.3 (2024-03-15)

  • Fix ACK on onStateChange
  • Update Readme

1.2.2 (2024-03-14)

  • Fix issue that renamed devices could not be found.
  • Add states for name, product name, serial ID and configured server.
  • Make "energyWhMax" State writable, so you can adjust the max Value.
  • Sent a warning if a device is configured for a server not in use.

1.2.1 (2024-03-13)

  • Fix calculation of soc: Set energyMaxWh to current energyWh if Zendures SOC is 100%
  • Round SOC to max 1 digit after comma.

1.2.0 (2024-03-13)

  • EU server is working now.
  • Fix calculation errors in log when calculation is not used
  • More Debug Output
  • Filter SolarFlow devices, so no other devices (e.g. SmartPlugs) will be added.
  • Clear password when settings loaded, as encrypted password is loaded into input and leads to a wrong password.

1.1.23 (2024-03-11)

  • Fix calculation of "energy in batteries"
  • Try to implement EU server - untested -

1.1.22 (2024-03-09)

  • Try to fix reset values at midnight

1.1.21 (2024-03-08)

  • Fix calculation timeframe

1.1.17 (2024-03-08)

  • Improve calculations
  • No autocomplete on settings

1.1.15 (2024-03-06)

  • Calculations improved
  • Stop energy input on low voltage is now an option in settings

1.1.14 (2024-03-04)

  • Reorganize Code
  • Calculations are now optional and have to be enabled in settings
  • Calculation of SOC from voltage and energy go in and out of batteries
  • Stop energy feed if voltage drops under limit

1.1.11 (2024-03-01)

  • Fix Solar Input 1 and 2 from the new Zendure firmware
  • Fix remaining charging time
  • Fix calculations overwritten when data with 0 value comes in.

1.1.8 (2024-02-29)

  • Fix calculation error

1.1.7 (2024-02-29)

  • Add energy calculations for 'today'
  • Fix minutes display bug for remaining charge and discharge time

1.1.4 (2024-02-28)

  • Fix timeout issues

1.1.0 (2024-02-27)

  • Switched solar input 1 und 2 to adjust the behavior like the offical app
  • Added Calculations folder, remaining charge and discharge time is now available as formatted time
  • Added a note in the settings that this adapter only works with the global server

1.0.7 (2024-01-16)

  • Add control for charge and discharge limit
  • Update Readme Screenshot

1.0.6 (2024-01-16)

  • Update Readme

1.0.5 (2024-01-15)

  • Added state for both Solarflow PV inputs

1.0.4 (2023-12-16)

  • Added Timeout for axios

1.0.3 (2023-12-12)

  • Password is now encrypted. NOTE: You have to re-enter the password after adapter update!

1.0.2 (2023-12-12)

  • Adapter improvements suggested by iobroker team
  • Fixed battery pack temperature (data is in kelvin, so now converting to celcius)

1.0.1 (2023-11-03)

  • Fix translationscd so
  • Use 'extendObjectAsync' instead of 'setObjectNotExistsAsync'
  • First official release version

0.1.0-alpha.2 (2023-10-27)

  • Don't stop the adapter when no login information is provided!

0.1.0-alpha.1 (2023-10-27)

  • Fix Typescript typos

0.1.0-alpha.0 (2023-10-26)

  • Get battery information
  • Reset states if no new data comes in (e.g. when Hub goes offline). Currently the last value still persist when Hub goes offline, so you may have 'pseudo' data in your states.

0.0.2 (2023-10-25)

  • Initital Release, retrieving Hub data, telemetry and setting the output limit works!

0.0.1 (2023-10-24)

  • First test

License

MIT License

Copyright (c) 2024 Peter Frommert

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.

Keywords

FAQs

Last updated on 23 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc