Giter Club home page Giter Club logo

Comments (6)

nygma2004 avatar nygma2004 commented on July 17, 2024

OK, so this is interesting. In the log I can see messages saying that "Data MQTT Sent". So it is able to read data off the inverter from time to time. It is possible that the read rate is too quick for the inverter. That does not explain why it would send and invalid slave ID, but still. Can you change the UPDATE_MODBUS variable from 2 to for example 5 and test again?

from growatt2mqtt.

SHODK avatar SHODK commented on July 17, 2024

Thanks for the quick reply, it did not help increasing it to 5 or 10, however I did find the fault and it was my own, when compiling the Arduino sketch a few days ago, it gave an error on "mqtt.setBufferSize(1024)" so I commented it out, it turnout that my PubSubClient library was a old version 2.7.0, upgrading to 2.8.0 it could now compile without error, uploaded program and everything works now.
Again, thanks for a great program and video

from growatt2mqtt.

nygma2004 avatar nygma2004 commented on July 17, 2024

Oh, wow, I did not know that the setBufferSize was only implemented in 2.8.0. Good catch. I needed this as the data payloads are very big.

from growatt2mqtt.

unimatrixZxero avatar unimatrixZxero commented on July 17, 2024

Adding a data-point here. I had that error as well initially, I noticed that one of the connections to the RS485-TTL wasn't very good. Fixed the connection and the issue resolved itself. Specifically it was the DE -> D5 connection ( RS485-TTL -> ESP32 D1 Mini)

from growatt2mqtt.

no-Legend avatar no-Legend commented on July 17, 2024

I'm facing the same problem with my MIC600, all the time I got that error.
Allready using the 2.8.0 version of PubSubClient and there is now warning during the compilation.

from growatt2mqtt.

nygma2004 avatar nygma2004 commented on July 17, 2024

@no-Legend sorry but to be exact, are you getting the error on compiling the sketch?
Can you paste in the error that you get?

from growatt2mqtt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.