iobroker.zendure-solarflow 1.0.6 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -1
- package/admin/build/index.css +1 -1
- package/admin/build/index.css.map +1 -1
- package/admin/build/index.js +444 -128
- package/admin/build/index.js.map +4 -4
- package/build/constants/paths.js.map +1 -1
- package/build/helpers/timeHelper.js +33 -0
- package/build/helpers/timeHelper.js.map +7 -0
- package/build/main.js +26 -0
- package/build/main.js.map +2 -2
- package/build/services/adapterService.js +106 -3
- package/build/services/adapterService.js.map +2 -2
- package/build/services/mqttService.js +60 -3
- package/build/services/mqttService.js.map +2 -2
- package/build/services/webService.js +12 -1
- package/build/services/webService.js.map +2 -2
- package/io-package.json +79 -79
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -17,11 +17,12 @@ This project is an ioBroker Adapter to read data from the Zendure Solarflow Clou
|
|
|
17
17
|
You can read more about the API here: https://github.com/Zendure/developer-device-data-report
|
|
18
18
|
|
|
19
19
|
Notes:
|
|
20
|
+
|
|
20
21
|
1. You have to use the global Zendure Server!
|
|
21
22
|
|
|
22
23
|
2. It is possible to control the Output limit with the state created in the productId/deviceKey/control subfolder. Please deactivate/uncheck all modes in the Zendure App, otherwise it is not possible to set the output limit!
|
|
23
24
|
|
|
24
|
-

|
|
25
26
|
|
|
26
27
|
3. 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.
|
|
27
28
|
|
|
@@ -37,10 +38,27 @@ If you find the adapter useful for you and want to support my work, feel free to
|
|
|
37
38
|
[](https://www.paypal.com/paypalme/PeterFrommert)
|
|
38
39
|
|
|
39
40
|
## Changelog
|
|
41
|
+
### 1.1.4 (2024-02-28)
|
|
42
|
+
|
|
43
|
+
- Fix timeout issues
|
|
44
|
+
|
|
45
|
+
### 1.1.0 (2024-02-27)
|
|
46
|
+
|
|
47
|
+
- Switched solar input 1 und 2 to adjust the behavior like the offical app
|
|
48
|
+
- Added Calculations folder, remaining charge and discharge time is now available as formatted time
|
|
49
|
+
- Added a note in the settings that this adapter only works with the global server
|
|
50
|
+
|
|
51
|
+
### 1.0.7 (2024-01-16)
|
|
52
|
+
|
|
53
|
+
- Add control for charge and discharge limit
|
|
54
|
+
- Update Readme Screenshot
|
|
55
|
+
|
|
40
56
|
### 1.0.6 (2024-01-16)
|
|
57
|
+
|
|
41
58
|
- Update Readme
|
|
42
59
|
|
|
43
60
|
### 1.0.5 (2024-01-15)
|
|
61
|
+
|
|
44
62
|
- Added state for both Solarflow PV inputs
|
|
45
63
|
|
|
46
64
|
### 1.0.4 (2023-12-16)
|
package/admin/build/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.logo-background-light,.logo-background-colored{background
|
|
1
|
+
.logo-background-light,.logo-background-colored{background:#fff}.logo-background-dark,.logo-background-blue{background:#000}.logo-div{position:absolute;top:50%;left:50%;-ms-transform:translateX(-50%) translateY(-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);overflow:hidden;border-radius:50%;z-index:2}.logo-border{border-top-color:#39c;border-left-color:#164477;border-bottom-color:#164477;border-right-color:#164477;border-radius:50%;border-style:solid;box-sizing:border-box;width:100%;height:100%;position:absolute}.logo-top{position:absolute;width:4.5%;height:16%;top:0;z-index:2}.logo-i{position:absolute;width:14.5%;height:60%;top:20%;left:42%;background:#39c}.logo-i-top{position:absolute;width:14.5%;height:4%;left:42%;background:#39c;border-radius:100%}.logo-back{width:100%;height:100%;z-index:0;overflow:hidden}@keyframes logo-grow{0%{width:230px;height:230px;transform:translate(-50%,-50%) scale(1);opacity:1}99%{width:230px;height:230px;transform:translate(-50%,-50%) scale(10);opacity:0}to{width:0;height:0;opacity:0}}@keyframes logo-spin{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes logo-color-inside-light{0%{background:#fefefe}to{background:#39c}}@keyframes logo-color-inside-dark{0%{background:#030303}to{background:#39c}}@keyframes logo-color-inside-colored{0%{background:#fefefe}to{background:#39c}}@keyframes logo-color-inside-blue{0%{background:#030303}to{background:#39c}}@keyframes logo-color-outside-light{0%{border-color:#fefefe}to{border-top-color:#39c;border-left-color:#164477;border-bottom-color:#164477;border-right-color:#164477}}@keyframes logo-color-outside-dark{0%{border-color:#040404}to{border-top-color:#39c;border-left-color:#164477;border-bottom-color:#164477;border-right-color:#164477}}@keyframes logo-color-outside-colored{0%{border-color:#fefefe}to{border-top-color:#39c;border-left-color:#164477;border-bottom-color:#164477;border-right-color:#164477}}@keyframes logo-color-outside-blue{0%{border-color:#040404}to{border-top-color:#39c;border-left-color:#164477;border-bottom-color:#164477;border-right-color:#164477}}.logo-animate-wait{animation:logo-color-outside 1.5s,logo-spin 1.5s linear infinite}.logo-animate-grow-light{background:#ddd}.logo-animate-grow-dark{background:#1d1d1d}.logo-animate-grow-colored{background:#ddd}.logo-animate-grow-blue{background:#1d1d1d}.logo-animate-grow{display:inline-block;text-align:center;z-index:1;top:50%;left:50%;-ms-transform:translateX(-50%) translateY(-50%);-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:245px;height:245px;border-radius:50%;position:absolute;animation:logo-grow 1s 1 ease forwards}.logo-animate-color-inside-light{animation:logo-color-inside-light 2.5s}.logo-animate-color-inside-dark{animation:logo-color-inside-dark 2.5s}.logo-animate-color-inside-colored{animation:logo-color-inside-colored 2.5s}.logo-animate-color-inside-blue{animation:logo-color-inside-blue 2.5s}.logo-animate-color-outside-light{animation:logo-color-outside-light 1.5s}.logo-animate-color-outside-dark{animation:logo-color-outside-dark 1.5s}.logo-animate-color-outside-colored{animation:logo-color-outside-colored 1.5s}.logo-animate-color-outside-blue{animation:logo-color-outside-blue 1.5s}html{height:100%}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:100%;height:100%;overflow:hidden}::-webkit-scrollbar-track{background-color:#ccc;border-radius:5px}::-webkit-scrollbar{width:5px;height:5px;background-color:#ccc}::-webkit-scrollbar-thumb{background-color:#575757;border-radius:5px}#root,.App{height:100%}@keyframes glow{0%{background-color:initial}to{background-color:#58c458}}
|
|
2
2
|
/*# sourceMappingURL=index.css.map */
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../node_modules/@iobroker/adapter-react/Components/loader.css", "../../node_modules/@iobroker/adapter-react/index.css"],
|
|
4
4
|
"sourcesContent": ["/**\n * Copyright 2018-2022 bluefox <dogafox@gmail.com>\n *\n * MIT License\n *\n **/\n\n.logo-background-light, .logo-background-colored {\n background: white;\n}\n.logo-background-dark, .logo-background-blue {\n background: black;\n}\n.logo-div {\n position: absolute;\n top: 50%;\n left: 50%;\n -ms-transform: translateX(-50%) translateY(-50%);\n -webkit-transform: translate(-50%,-50%);\n transform: translate(-50%,-50%);\n overflow: hidden;\n border-radius: 50%;\n z-index: 2;\n}\n.logo-border {\n /*border-color: #164477;*/\n border-top-color: #3399CC;\n border-left-color: #164477;\n border-bottom-color: #164477;\n border-right-color: #164477;\n border-radius: 50%;\n border-style: solid;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n position: absolute;\n}\n.logo-top {\n position: absolute;\n width: 4.5%;\n height: 16%;\n top: 0;\n z-index: 2;\n}\n.logo-i {\n position: absolute;\n width: 14.5%;\n height: 60%;\n top: 20%;\n left: 42%;\n background: #3399CC;\n}\n.logo-i-top {\n position: absolute;\n width: 14.5%;\n height: 4%;\n left: 42%;\n background: #3399CC;\n border-radius: 100%;\n}\n.logo-back {\n width: 100%;\n height: 100%;\n z-index: 0;\n overflow: hidden;\n}\n@keyframes logo-grow {\n 0% {\n width: 230px;\n height: 230px;\n transform: translate(-50%,-50%) scale(1);\n opacity: 1\n }\n 99% {\n width: 230px;\n height: 230px;\n transform: translate(-50%,-50%) scale(10);\n opacity: 0;\n }\n 100% {\n width: 0;\n height: 0;\n opacity: 0;\n }\n}\n@keyframes logo-spin { 100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }\n@keyframes logo-color-inside-light {\n 0% {\n background: #FEFEFE;\n }\n 100% {\n background: #3399CC;\n }\n}\n@keyframes logo-color-inside-dark {\n 0% {\n background: #030303;\n }\n 100% {\n background: #3399CC;\n }\n}\n@keyframes logo-color-inside-colored {\n 0% {\n background: #FEFEFE;\n }\n 100% {\n background: #3399CC;\n }\n}\n@keyframes logo-color-inside-blue {\n 0% {\n background: #030303;\n }\n 100% {\n background: #3399CC;\n }\n}\n\n@keyframes logo-color-outside-light {\n 0% {\n border-color: #FEFEFE;\n }\n 100% {\n border-top-color: #3399CC;\n border-left-color: #164477;\n border-bottom-color: #164477;\n border-right-color: #164477;\n }\n}\n@keyframes logo-color-outside-dark {\n 0% {\n border-color: #040404;\n }\n 100% {\n border-top-color: #3399CC;\n border-left-color: #164477;\n border-bottom-color: #164477;\n border-right-color: #164477;\n }\n}\n@keyframes logo-color-outside-colored {\n 0% {\n border-color: #FEFEFE;\n }\n 100% {\n border-top-color: #3399CC;\n border-left-color: #164477;\n border-bottom-color: #164477;\n border-right-color: #164477;\n }\n}\n@keyframes logo-color-outside-blue {\n 0% {\n border-color: #040404;\n }\n 100% {\n border-top-color: #3399CC;\n border-left-color: #164477;\n border-bottom-color: #164477;\n border-right-color: #164477;\n }\n}\n\n.logo-animate-wait {\n animation: logo-color-outside 1.5s, logo-spin 1.5s linear infinite;\n}\n\n.logo-animate-grow-light {\n background: #DDD;\n}\n.logo-animate-grow-dark {\n background: #1d1d1d;\n}\n.logo-animate-grow-colored {\n background: #DDD;\n}\n.logo-animate-grow-blue {\n background: #1d1d1d;\n}\n\n.logo-animate-grow {\n display: inline-block;\n text-align: center;\n z-index: 1;\n top: 50%;\n left: 50%;\n -ms-transform: translateX(-50%) translateY(-50%);\n -webkit-transform: translate(-50%,-50%);\n transform: translate(-50%,-50%);\n width: 245px;\n height: 245px;\n border-radius: 50%;\n position: absolute;\n animation: logo-grow 1s 1 ease forwards;\n}\n\n.logo-animate-color-inside-light {\n animation: logo-color-inside-light 2.5s;\n}\n.logo-animate-color-inside-dark {\n animation: logo-color-inside-dark 2.5s;\n}\n.logo-animate-color-inside-colored {\n animation: logo-color-inside-colored 2.5s;\n}\n.logo-animate-color-inside-blue {\n animation: logo-color-inside-blue 2.5s;\n}\n\n.logo-animate-color-outside-light {\n animation: logo-color-outside-light 1.5s;\n}\n.logo-animate-color-outside-dark {\n animation: logo-color-outside-dark 1.5s;\n}\n.logo-animate-color-outside-colored {\n animation: logo-color-outside-colored 1.5s;\n}\n.logo-animate-color-outside-blue {\n animation: logo-color-outside-blue 1.5s;\n}", "/**\n * Copyright 2018-2022 bluefox <dogafox@gmail.com>\n *\n * MIT License\n *\n **/\n\nhtml {\n height: 100%;\n}\n\nbody {\n margin: 0;\n padding: 0;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\n/* scrollbar */\n::-webkit-scrollbar-track {\n background-color: #ccc;\n border-radius: 5px;\n}\n\n::-webkit-scrollbar {\n width: 5px;\n height: 5px;\n background-color: #ccc;\n}\n\n::-webkit-scrollbar-thumb {\n background-color: #575757;\n border-radius: 5px;\n}\n\n#root {\n height: 100%;\n}\n\n.App {\n height: 100%;\n}\n\n@keyframes glow {\n from {\n background-color: initial;\n }\n to {\n background-color: #58c458;\n }\n}"],
|
|
5
|
-
"mappings": "AAOA,
|
|
5
|
+
"mappings": "AAOA,CAAC,sBAAuB,CAAC,wBACrB,WAAY,IAChB,CACA,C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