ABBAurora icon indicating copy to clipboard operation
ABBAurora copied to clipboard

Compatible with Esp8266

Open mttstt opened this issue 5 years ago • 2 comments

Hi, is it possible to make the library compatible with esp8266 as well? Maybe just edit the following line of code in ABBAurora.cpp:

serial->begin(19200, SERIAL_8N1, RXGpioPin, TXGpioPin, false, 500);

with

if esp32 then serial->begin(19200, SERIAL_8N1, RXGpioPin, TXGpioPin, false, 500);
if esp8266 then serial->begin(???);

mttstt avatar Mar 04 '20 08:03 mttstt

@mttstt ,

I don't have access to an ABB Aurora inverter right now to test. If someone can test, and send PR, I will gladly accept it.

jrbenito avatar Mar 09 '20 18:03 jrbenito

Hi @mttstt , did you get a code set working on ESP8266?

i dont have the skill to convert it, and i looked at your fork, but couldnt compile it, due to "Serial2" not being defined.

any help would be good 👍 cheers

palitu avatar Aug 20 '20 00:08 palitu