diy solar

diy solar

Search results

  1. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    I will try another talk to him via discussion! It's weird that a friend of mine has done the reading successfully over hardware serial on esp8266 D1 promini but not on esphome. He did not use SoftwareSerial (of course esp8266 has problem with SoftwareSerial). Esp32-esphome use softwareserial...
  2. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    I talked to Syssi already on that and he did not response yet! Problem is on the BMS side, not him! I did a fork from his component and tested with uart reading command but nothing worked at all. JK seems to have problem with 11.XW version (for firmware later than 11.36 and 11.42 - I have those...
  3. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    Many thanks @Sleeper85 for your information. I don't have 11.XA version (I thought XA and XW might be the same) so I am not quite sure, mine is 11.XW (11.42) and I tried both using Arduino, esp32, none of them worked! I revise also the reading command "4E 57 00 13 00 00 00...
  4. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    Me too, I have several esp32-S2lolin in remote internet address but ota and even api (initial version now I moved to MQTT ) and all working fine!
  5. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    I run several esp32s2lolin and have no problem with OTA until now: OTA: - port: 8266 Instead of using dhcp, I set manual Ip or bind ip to mac at router so the esp32 will always have fix address. I used 'use_address: ip_address_of_mydevice >> all working fine. I run tens of esp32lolin in ten...
  6. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    No 11.43 will not response to request data command as I have mentioned (my version 11.36, 11.42 does not work on wired connection anymore, the "4E:57:00:13:00:00:00:00:06:02:00:00:00:00:00:00:68:00:00:01:28" command does not work! I have not upgraded to V15 as guided by JK-BMS guy as I have not...
  7. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    You can check here, he made details guidance and resource included then! https://off-grid-garage.com/battery-management-systems-bms/ The guy from JK-BMS (engineer informed me that it needs to update to V15 but he provided no further information). I have tested this yet. Better using...
  8. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    So you are using one ESP32 for each connection or trying to combine into 1? In case you are using 1: you need to be sure that the wire connection is made to a JK with firmware version is earlier than 11.28. Later than this, you will have to upgrade firmware to Version 15 (as told by JK engineer).
  9. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    Hi, This is not for OCV or totally rest calibration. It is current calibration for JK to measure correctly! Both current and voltage are needed for Coulomb counting to work effectively. What I am focusing on is how to make JK work most effectively! Best!
  10. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    I use multimeter to do the work when charging at current above 2A on both voltage and current. Then set the calibrated value once only. The rest is to keep the charge prolonged to bring the battery voltage as high as 3.45*16 and as low as 3.2*16 while maintaining delta voltage be lower than...
  11. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    1.: Thanks @Sleeper85, Actually, I used this approach for both ends but using 98 and the minimum SOC (not 2%) to reflect the SOC cut-off level needed for the Inverter to stop charging (.i.e Cut-off/ On-grid EOD set at 20% but JK SOC is lower when minimum cell voltage is still 3.1V or more, the...
  12. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    I understood your points: Lux has problem working with Voltage when setting battery as lion. It does not behave as configured such as to discharge in defined time (if setting charge base on time and SOC or Voltage with time range of 7AM-5PM, AC charge current to 0). To activate the discharge...
  13. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    Hi, I think we should not debate on SOC issue any more, It can be solved already: + If JK SOC reported 100% at 3.35 or somewhat too low (less than 3.4 while charging) >> it need to keep charging, it can still absorb: in my case, I report to Inverter 98% (Sleeper85 use 99%) as Inverter sometime...
  14. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    It was a metaphor to imply the simplicity for users when they apply this method to allow Lux to manage the charging process without worrying once correct limits on voltages are configured on the inverter. I did some changes on the code for bringing voltage control to manipulate...
  15. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    Thanks to @silverstone and @chaosnature! I just tried a test first and then moving on shaping the code back to the main version that Sleeper85 and Mr. Pablo is working! The initial result shown that it can work as expected for at least Luxpower/Deye Inverters (what I have for testing and they...
  16. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    Today, I did a final check with inverter dealer (technical guy) and discovered that the voltage sensor (type of voltage divider resistor) on the inverter was not in good condition and cause the reading voltage from battery wrong (Vbat_inv) and often high when charging. as the result the High...
  17. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    Hi Mr. Pablo, The following is captured data from the inverter (the 6K) It seemed charging voltage does not update by the the BMS but regulated by the inverter. So I can concluded that via CAN bus Luxpower Inverter will not change its charging voltage as requested by the BMS via Pylon protocol...
  18. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    I used PYLON - select brand 2 on SNA5000WM
  19. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    on JK OVP is 3.55V, current limit for charge 100A, discharge 100A but I have addition layer of limits on esphome with max_cell_protection of 3450mV and Charge current limit of 70A. On SNA, Charge limit is 100A but it listened to the BMS via CAN, Voltage was 57.4 (default set for lead acid and...
  20. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    You are totally right! That is why we are here with Pablo and other working hard to find a solution for this! What we are doing is making the JK work better as we can expect it to function perfectly! I myself believe current limit and voltage limit are two feasible options then!
  21. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    Yap, it was very strange as the code worked (the Mr.Pablo one) on the SNA6K version, but the same code failed on the SNA5000. I tried a few options but it was too late, no more solar today. Will try tomorrow on 0x356 and 0x351 to report lower voltage for checking what has happened!
  22. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    My Inverter prefer fix charge voltage. I observed some dedicated BMS shipped with whole pack of high quality battery over months connected to the inverter via Rs485 and it only applies a single voltage 56V during the charging and sometime does resetting SOC by trying to lengthen the charging...
  23. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    Hi @silverstone and Mr. Pablo, why dont you try map(maxcellvoltage, UVP-50, UVP + 10, Max_charge_current, 0) I tested with this and it working sound okay! Will test tomorrrow a bit more on this!
  24. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    Once you changed the details for the MQTT of the build firmware, you need o clean MQTT, in some cases you also need to remove the device under MQTT add-on and/or the last step (may not need but can be last resource) is to restart MQTT server. Regarding your Can bus problem. Please check to see...
  25. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    I have injected a mcp2515 to capture can mesage and found out that inverter only send 1 can mesage for acknoledgement and does not send back anything at all! Messages on the bus are sent by the battery mostly!
  26. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    Do you have any spare can converter? If yes, you can test setting up connection with 2 nodes. Mcp2515 has build in can controller while tja1050 does not. In case of testing you should use 120ohm resistor for can terminating. I doubt your can hat has problem!
  27. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    @silverstone esp32 has 2 uart controller! S! If can converter is wire to gpio16, 17, it will try using hardware serial. If wire to other gpio, software serial shall be used. So any gpio pair can be ok, i myself use gpio 9 and 10. In your case i believe your can converter is not activated yet...
  28. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    @silverstone: do you set the battery mode to lithium ...etc on the inverter side. Inverter will not send Can activation message if it is not configured to do so!
  29. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    I recommend not to use web server but MQTT or API (if you have the Esp in the same network) Web server chew up memory quickly and alot!
  30. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    Yeah, I will do for sure! because the fork version based on Sleeper85 version posted in Jan and now I come back and discovered a lot of changes. This make I feel a bit of worrying (however, 2 days ago, i build a test device for my 100Ah battery and would like to report the result)! And currently...
  31. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    In my case i use esp32-s2 lolin and a tja1050 and it worked smoothly with deye and luxpower without even the 120 Ohm resister. I made prototype and have them work stably in 5 locations for 2 months by now!
  32. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    They are all ISP routers and they only support NAT. Anyway, this trick is still worked for now! no worry Silverstone. I only run 6 of inverter in places and they are connected to my HA at my home. What I am trying to achieve is getting the high capacity battery be charge properly and I found...
  33. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    It might be not relating to yours writing but for my case with 3 devices in 3 different places, hundred of km away from each other, I have 2 options: 1. Using OTA with 2 options: + Using NAT (i.e 8266:public to 8266: internal) at the router of each site on 8266 or whatever port specified for the...
  34. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    There is a developing component named ota_http by @Olivier. I tested and worked but with a lot of effort! Wireguard can be ok with a bit of learning curve but I proposed Olivier to move on an automated firmware over mqtt and hopefully he will do!
  35. P

    JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

    Hi, Silverstone, Thanks for your sharing, regarding your points, let me go one by one as following: 1. With 280Ah battery and nominal voltage of 51.2, theoretically, it can keep around 14kwh so 10-12kwh charge can help the battery to provide 70-80% DOD. Normally with this battery we apply...
Back
Top