Giter Club home page Giter Club logo

growatt_mqtt's People

Contributors

lukasdeboer avatar timjong93 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

growatt_mqtt's Issues

no matching function for call to 'SoftwareSerial::SoftwareSerial(int, int, bool, int)'

While I have sketched everything as provided here. I have an error on compiling.

Can you please help out? I think it has to do with:
esp8266/Arduino#6737

Am I correct in thinking as follows:
You said the pins RX and TX needed to be used.
#2

In the code I see:
SoftwareSerial swSer(13, 15, false, 128);

Does this really mean pin RX & TX?

According to:
image

RX & TX are pin 1 & 3? Or am am totally on the wrong path here?

But I am not so very familiar with arduino.

My error message:

Arduino: 1.8.13 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

growatt_mqtt:54:40: error: no matching function for call to 'SoftwareSerial::SoftwareSerial(int, int, bool, int)'

 SoftwareSerial swSer(13, 15, false, 128);

                                        ^

C:\Users\sander\Desktop\growatt_mqtt-master\growatt_mqtt\growatt_mqtt.ino:54:40: note: candidates are:

In file included from C:\Users\sander\Desktop\growatt_mqtt-master\growatt_mqtt\growatt_mqtt.ino:8:0:

C:\Users\sander\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\SoftwareSerial\src/SoftwareSerial.h:93:5: note: SoftwareSerial::SoftwareSerial(int8_t, int8_t, bool)

     SoftwareSerial(int8_t rxPin, int8_t txPin = -1, bool invert = false);

     ^

C:\Users\sander\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\SoftwareSerial\src/SoftwareSerial.h:93:5: note:   candidate expects 3 arguments, 4 provided

C:\Users\sander\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\SoftwareSerial\src/SoftwareSerial.h:89:5: note: SoftwareSerial::SoftwareSerial()

     SoftwareSerial();

     ^

C:\Users\sander\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\SoftwareSerial\src/SoftwareSerial.h:89:5: note:   candidate expects 0 arguments, 4 provided

Multiple libraries were found for "SoftwareSerial.h"

 Used: C:\Users\sander\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\SoftwareSerial

 Not used: C:\Users\sander\Documents\Arduino\libraries\EspSoftwareSerial

exit status 1

no matching function for call to 'SoftwareSerial::SoftwareSerial(int, int, bool, int)'



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.




Find out what errors mean

Hi,

I just implemented this code on a NodeMCU with RS485-TTL converter attached.

On the other end is a growatt 2000 inverter which I'm trying to read.

However, I cannot seem to get any data out. The code runs on the nodeMCU just fine (with a few tweaks, removing all the non-growatt code for one, see my forked repo for the code I use now).

I do get error codes, sometimes the code is e0, sometimes it's e2.

https://github.com/ardexa/growatt-inverters/blob/master/docs/Growatt%20PV%20Inverter%20Modbus%20RS485%20RTU%20Protocol.pdf
I only have this as documention on the data I'm supposed to get, and I can't find these error codes in here.

Is there something I'm missing or doing wrong?

Script without heating mitsubishi

hello, i have tried to remove the heating states / mitsubihi Registeres out of the code, becauswe i do not nee it...I was not able to do so..Can you helP?

The Sketch works perfect with my growatt....Thank you for this.... I have added a input register
publishFloat("energy/growatt/Temperatur", glueFloat(0, node.getResponseBuffer(32)));

  publishFloat("energy/growatt/Faultcode", glueFloat(0, node.getResponseBuffer(40)));

Temperatur is delivering always 0... Faultcode is working....do you have an idea for that?

Thanks

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.