newan / iobroker.ecoflow Goto Github PK
View Code? Open in Web Editor NEWAdapter for ecoflow powerstations
License: MIT License
Adapter for ecoflow powerstations
License: MIT License
In principle, the adapter works quite well. Only my "Ecoflow Delta max switches" goes offline in the night the adapter generates error messages every second. Warnings would be ok. But why is an error generated in the log file just because the device is offline because there is no sun at night?
Is this intentional or does anyone else have the same problem as me? Is there a solution here or should I ignore the error messages every night? Thank you for your feedback.
ecoflow.0 | 2023-01-05 20:30:11.058 | error | the device is offline |
---|---|---|---|
ecoflow.0 | 2023-01-05 20:29:10.987 | error | the device is offline |
ecoflow.0 | 2023-01-05 20:28:10.984 | error | the device is offline |
Hallo zusammen,
seit kurzem stellt der Adapter keine Verbindung mehr zu meiner Eco Flow Delta Pro her. Bis dahin hatte der Adapter super funktioniert.
Selbst das Update von 0.2 auf 0.4 brachte keinen Erfolg. Der secretKey ist 100% richtig. Habe mir für meine River Pro ebenfalls vor kurzem die Zugangsdaten zukommen lassen, auch die lässt sich nicht abrufen.
Wenn ich ein GET absetzte erhalte ich die Daten im Browser.
Screenshots & Logfiles
ecoflow.0 | 2023-03-11 08:49:06.375 | error | secretKey no match
Versions:
Got my API and Secret Key from Ecoflow Support.
Adapter says that secretKey no match.
`
ecoflow.0 | 2022-12-15 15:56:08.475 | info | Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason |
---|---|---|---|
ecoflow.0 | 2022-12-15 15:56:08.475 | info | terminating |
ecoflow.0 | 2022-12-15 15:56:08.474 | info | Got terminate signal TERMINATE_YOURSELF |
ecoflow.0 | 2022-12-15 15:55:45.641 | error | secretKey no match |
ecoflow.0 | 2022-12-15 15:55:15.568 | error | secretKey no match |
ecoflow.0 | 2022-12-15 15:55:15.066 | info | starting. Version 0.0.4 (non-npm: Newan/ioBroker.ecoflow#3280c2dc52b2c6e88a39d142c8cc3d4de5fecf2f) in /opt/iobroker/node_modules/iobroker.ecoflow, node: v16.18.1, js-controller: 4.0.23 |
Hi there,
just asked the support for the key and they said, that they will not give it to me as it is for internal usage only.
Is there a new status? I would be happy if it should be possible to switch the outputs.
Hello,
I received ApiKey and SecretKey from Ecoflow Support. But the logs show me "secretKey no match". Is there an error here?
Best regards
Hi, as i see in the code it is possible to get some status information's.
Is it possible in future to configure something ? I am specially interested on setting the loading power dynamically based on my solar overload.
thanks
Andreas
Please let us know if this adapter ist still maintained.
There are a few open issue describing a problem and NPM Owner configuration is open since months. (#13)
Please repond with any short comment (and fix npm ownership as soon as you time allows)
IMPORTANT:
If there is no response until 15.5.204 we will consider to remove the adapter from repository.
Hallo zusammen,
bevor ich mir einen Ecoflow Powerstation zulege, wäre es für mich essentiell zu wissen, ob über diesen Adapter auch die AC Ladeleistung gesteuert werden kann. Über die App ist dies ja zwischen 200W und xW möglich. Kann mir das bitte jemand beantworten?
VG
Version: stable=0.0.0 (0 days old) => latest=0.0.4 (255 days old)
Installs: stable=0 (0%), latest=111 (63.43%), total=175
Click to edit
Is any functional description available which means a overview about information I can get with the API or switches I can use to control the ECOFLOW?
Access right check for adapter ecoflow returned the following issue:
Bluefox was not found in the collaborators on NPM!.
Please execute in adapter directory: "npm owner add bluefox iobroker.ecoflow"
Current maintainers are
realnewan [email protected]
Please fix the above error as soon as possible.
All adapters listed at ioBroker repositories must have 'bluefox' added as maintainer.
Future version updates at the repositories will be suspended until this problem is fixed.
When I try to install ioBroker.ecoflow via NPM command I get this error:
`root@iobrokerct:~# npm install iobroker.ecoflow
added 12 packages, and audited 13 packages in 2s
1 package is looking for funding
runnpm fund
for detailsfound 0 vulnerabilities
root@iobrokerct:~# npm install iobroker.ecoflowup to date, audited 13 packages in 509ms
1 package is looking for funding
runnpm fund
for detailsfound 0 vulnerabilities
root@iobrokerct:~# npm fund
root
-- https://github.com/sponsors/RubenVerborgh
-- [email protected]`
How to solve this?
Tnx!
I can not find the adapter in the repository, admin does not display the adapter for installation. Whats wrong?
I commented out this three line, then it works!
getEcoflowData() {
this.log.debug("Ask Data from ecoflow cloud API");
try {
this.log.debug("call: https://api.ecoflow.com/iot-service/open/api/device/queryDeviceQuota?sn=" + this.sn);
(0, import_axios.default)("https://api.ecoflow.com/iot-service/open/api/device/queryDeviceQuota?sn=" + this.sn, {
headers: {
"Content-Type": "application/json",
"appKey": this.apikey,
"secretKey": this.secretkey
},
timeout: this.timeout
}).then(async (response) => {
this.log.debug("Get-Data from ecoflow:" + JSON.stringify(response.data));
if ("message" in response.data) {
// this.log.error(response.data.message);
// this.setState("info.connection", false, true);
// } else {
await this.setStateAsync("status.soc", { val: response.data.data.soc, ack: true });
await this.setStateAsync("status.remainTime", { val: response.data.data.remainTime, ack: true });
await this.setNewRemainTime(response.data.data.remainTime);
await this.setStateAsync("status.wattsOutSum", { val: response.data.data.wattsOutSum, ack: true });
await this.setStateAsync("status.wattsInSum", { val: response.data.data.wattsInSum, ack: true });
this.setState("info.connection", true, true);
}
}).catch((error) => {
this.log.error(error.message);
this.setState("info.connection", false, true);
});
} catch (error) {
this.setState("info.connection", false, true);
Please consider fixing issues reported by adapter checker:
[E201] Bluefox was not found in the collaborators on NPM!. Please execute in adapter directory: "npm owner add bluefox iobroker.ecoflow"
[E518] "@alcalzone/release-script" is used, but ".releaseconfig.json" not found
[W105] "common.titleLang" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
[W109] "common.desc" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
[W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
[W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
[W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
[W145] Each "common.news" should be translated into all supported languages (en, de, ru, pt, nl, fr, it, es, pl, uk, zh-cn)
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.