-
Dear Uksa, Thanks for you work, it is great! However my esp32 keeps rebooting in the same way Denveronly had. 19:07:21][I][main:330]: No rx can 0x305 reply. Rebooting... My deye inverter does receive the values from the esp, and when I change the values in HA it also changes on the inverter. It just does not seem to communicate back to the ESP32. My wiring and GPIO's are correct, I tripled checked everything and also replaced my TJA1050 twice. Still same problem. The only thing that differs is that I do NOT get 60ohms on can H&L, it fluctuates around 130-140 ohms (all devices powered on). Could this be the issue? My esp is a simple ESP32devkit, same as yours. I temporarily removed the reboot action from your code, but i feel i am missing some functionality. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 54 replies
-
Yes, has to be close to 60 ohms, when both ends are connected. 120 ohms means it is only connected/terminated at one end. Check you are using correct port and pins: |
Beta Was this translation helpful? Give feedback.
-
Ok, I put on a new RJ45 connector. Checked the wiring and replaces the TJA1050 again for good luck. I have 60 ohms now. But, still the same problem; [17:45:18][I][main:318]: send can id: 0x371 hex: 1 0 2 0 1 0 7 0 Still seems to reboot because the inverter is not communicating back? The reboot occus every 33 seconds. Any ideas? |
Beta Was this translation helpful? Give feedback.
-
Battery mode is correct, restarting the inverter does not help. I will contact my supplier for a firmware upgrade.
Full log in file. |
Beta Was this translation helpful? Give feedback.
-
Did that, the cable measures 4.7k as it should. As your diagram I connected RX to RX (GPIO22) and TX to TX (GPIO23). Should I try other GPIO pins for this can controller? If that is possible. |
Beta Was this translation helpful? Give feedback.
-
Swapping RX & TX stops the inverter from receiving any data so that's not it. I mailed Deye dor a firmware update but no answer yet, from what I can find online I am definitely behind a lot regarding the firmware nr. |
Beta Was this translation helpful? Give feedback.
-
Closed due to inactivity. Please consider supporting my work so I can continue to develop new feature and provide help and assistance. |
Beta Was this translation helpful? Give feedback.
That's great news the inverter firmware fixed it and is working as expected.
You should use the github version, as the Pylon specific is probably not a good idea given you are not using Pylons standard of 15s.
Please consider supporting my work so I can continue to develop new features and provide help and assistance.
I would suggest using my Hardware interface board it's designed for production use, self contained on a PCB with RJ45 for the inverter and and is pretty much bullet proof.