jaminNZx / Tracer-RS485-Modbus-Blynk

An arduino sketch to connect the EPSolar/EPEver Tracer A/B Series (RS-485 Modbus) to an ESP8266 and monitor using the Blynk mobile app.
64 stars 46 forks source link

WiFi isn't working / cloning your app is impossible / Ethernet pins 1, 2 suggestion #5

Open Koraze opened 4 years ago

Koraze commented 4 years ago

Hi

First of all, thanks for your great project share


I follow your tuto and your esp program didn't work with me. I change this and it's worked on my Tracer 3210 AN (not fully tested) 👍 :

  WiFi.begin(WIFI_SSID, WIFI_PASS); 
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  Blynk.config(AUTH, SERVER, PORT);

instead of this

#if defined(USE_LOCAL_SERVER)
  Blynk.begin(AUTH, WIFI_SSID, WIFI_PASS, SERVER, 32769);
#else
  Blynk.begin(AUTH, WIFI_SSID, WIFI_PASS);
#endif

Also, it's impossible to clone your app so I directly create mine using these :

#define vPIN_PV_POWER                   V1
#define vPIN_PV_CURRENT                 V2
#define vPIN_PV_VOLTAGE                 V3
#define vPIN_LOAD_CURRENT               V4
#define vPIN_LOAD_POWER                 V5
#define vPIN_BATT_TEMP                  V6
#define vPIN_BATT_VOLTAGE               V7
#define vPIN_BATT_REMAIN                V8
#define vPIN_CONTROLLER_TEMP            V9
#define vPIN_BATTERY_CHARGE_CURRENT     V10
#define vPIN_BATTERY_CHARGE_POWER       V11
#define vPIN_BATTERY_OVERALL_CURRENT    V12
#define vPIN_LOAD_ENABLED               V14

Also, it seems the ebox-wifi-01 use 1, 2 ethernet pins as Vcc. Hide those and the ebox-wifi-01 isn't working anymore.

My voltmeter shows 4V between 1, 2 and 7, 8 pins when my esp8266 is powered by them. I think despite the factory warning, you can use 1, 2 to powered your project. Just don't ask for Amperes.

Factory warning : "User is advised to do not use the pin 1 and pin 2 for the device’s safety" I will directly ask the factory if I can use them. https://github.com/tekk/Tracer-RS485-Modbus-Blynk-V2/blob/master/doc/1733_modbus_protocol.pdf