Comments (2)
also this seems to mess up live data view
from opendtu.
I think there is some mixup when the inverter list gets modified in any way after initial config read. This stems from e.g. code segments like this (WebApi_inverter.cpp)
code to display the list
for (uint8_t i = 0; i < INV_MAX_COUNT; i++) { if (config.Inverter[i].Serial > 0) { JsonObject obj = data.createNestedObject(); obj[F("id")] = i; ..........
code to edit an entry
if (inv != nullptr && inv->serial() != inverter.Serial) { // Serial was changed Hoymiles.removeInverterByPos(root[F("id")].as<uint64_t>()); inv = Hoymiles.addInverter(inverter.Name, inverter.Serial); } else if (inv == nullptr) { inv = Hoymiles.addInverter(inverter.Name, inverter.Serial); }
where the position of the inverter in the Hoymiles vector and the id in the configuration start to diverge
from opendtu.
Related Issues (20)
- No continuous polling HOT 8
- [Sunrise/sunset] API extension point HOT 8
- [Request] Set grid over-voltage limit HOT 13
- [Request] HOT 3
- Model HM-800 HOT 3
- No Display information on DIAMEX DX-DTU HOT 2
- [Request] Seriennummern der Hoymiles DTUs in OpenDTU verwenden HOT 12
- No live Data HOT 2
- OLIMEX ESP32 POE Ethernet is not working HOT 15
- Compile Error: "[.pio/build/generic/src/WebApi_prometheus.cpp.o] Error 1" HOT 11
- Display SH1106 upside down OpenDTU Build #556 HOT 3
- [Request] Hide the Settings / Info Tab while logged out. HOT 2
- Leading whitespace in mqtt value HOT 2
- Prometheus - Werte sind manchmal 0 HOT 10
- Display Icons missing after update HOT 3
- limit_nonpersitent: negative Werte bzw. Limit HOT 3
- Mqtt not working HOT 20
- Buffer for DynamicJasonDocument livedata/status and prometheus/metrics too big? HOT 8
- Inverters are not consistently updated HOT 9
- OpenDTU stops sending MQTT Messages HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opendtu.