Comments (4)
hab hier mal getestet.Wenn der InputRegister über die WebGui RWModbus abgerufen wird, wird ein Wert ausgelesen, welcher auch hochzählt.
Wenn ich im code die Input Register 30 und 31 einzeln als 16Bit abrufe wird 31 auch ordentlich hochgezählt. 30 bleibt statisch.
Das Ergebnis war in allen Tests aber nicht zielführend. Eine vernünftige Zeitausgabe bekomme ich nicht.
Protocol.InputRegisters[P305_OPERATING_TIME] = sGrowattModbusReg_t{30, 31, SIZE_32BIT, "OperatingTime", 0.5, SECONDS, true, false}; // #11
Protocol.InputRegisters[P305_OPERATING_TIME_H] = sGrowattModbusReg_t{30, 0, SIZE_16BIT, "OperatingTimeH", 0.5, NONE, true, false}; // #12
Protocol.InputRegisters[P305_OPERATING_TIME_L] = sGrowattModbusReg_t{31, 0, SIZE_16BIT, "OperatingTimeL", 0.5, NONE, true, false}; // #13
Protocol.InputRegisters[P305_TEMPERATURE] = sGrowattModbusReg_t{32, 0, SIZE_16BIT, "Temperature", 0.1, TEMPERATURE, true, false}; // #14
Protocol.InputRegisters[P305_FAULTCODE] = sGrowattModbusReg_t{40, 0, SIZE_16BIT, "FaultCode", 1, NONE, true, false}; // #15
from openinvertergateway.
Update...
Also Inputregister 30 H und 31 L einzeln abgefragt wie oben mit 16Bit zählen beide hoch.
Wobei 31L Sekunden sind und 30H mir noch nicht gänzlich einleuchten.
Denke die Lösung muss sein beides zu kombinieren...
from openinvertergateway.
Unfortunatly I do not poses an inverter which supports protocol version 304.to test this. Did you have any success in fixing this. The issue seems to be a bit strange.
from openinvertergateway.
Helo crasu, no i was not able to find a solution.
I also tested with a external script by calculating with the high and low byte values sent by mqtt . But i never was able to get a correct operating time.
So my fix was to remove the operating time from the sketch completely..
from openinvertergateway.
Related Issues (20)
- Add Possibility to update the firmware when connected to an AP HOT 1
- Error: Unknown Shine Stick HOT 9
- Unable to set MQTT broker HOT 1
- Huge first value HOT 3
- WiFi reconnection failure HOT 1
- Which EEPROM.h use for this? HOT 2
- Only precompiled release 1.0.0 works with Shine X HOT 1
- Strange values for TodayGenerateEnergy HOT 7
- Original Firmware
- Battery Status not available with Growatt mod 9000tl3-xh HOT 2
- Protocoll Error in Mosquitto HOT 3
- Suport shine Wifi-F (the big old white) that you need for all GROWATT SPF Series HOT 4
- How can i change the Modbus Protocol? HOT 1
- modbus - RTU over TCP - iobroker HOT 1
- Can't get any data from 10KTL3-X inverter. HOT 2
- any chance to implement NTP so that the inverter can not drift in time.. HOT 2
- Growatt 1500-S inverter support HOT 2
- Strange Values of OutputPower at the evening HOT 1
- Integration of smartmeter? HOT 1
- No values shown although inverter is producing according to display HOT 1
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 openinvertergateway.