June 4, 20242 yr Author Hi @BobTheDinosaur Have you tried restarting your inverter? I had an issue with my RS485 port not working, restarted the inverter and it started working again and haven't had any more issues with it. If that doesn't work, I have a spare one I could lend you for some fault diagnosis if you like. I am in Kyalami area in Joburg.
June 4, 20242 yr 1 hour ago, BobTheDinosaur said: @Sc00bs Don't want to post the same thing on two different threads, so just posting the link here. my ESP32 has started reporting nonsense. Any input would be appreciated, thanks! @BobTheDinosaur are you using the rs485 shield mentioned on this thread or another transceiver board?
June 4, 20242 yr Hi Scoobs, Have a problem with my shield combo with ESP32. Only Solar PV1 and PV2 sending wrong values. Already started a post in Power flow card and Dashboard thread. Not sure If you saw this. Any help would be appreciated Please check origianl post and answers of Slipx and members: Edited June 4, 20242 yr by IggyP
June 4, 20242 yr 9 hours ago, Sc00bs said: Hi @BobTheDinosaur Have you tried restarting your inverter? I had an issue with my RS485 port not working, restarted the inverter and it started working again and haven't had any more issues with it. If that doesn't work, I have a spare one I could lend you for some fault diagnosis if you like. I am in Kyalami area in Joburg. Thanks Scoobs. I'll try the reboot. If that doesn't work I think I'll just get a new rs485. I'm in CT...
June 4, 20242 yr 8 hours ago, Gambit said: @BobTheDinosaur are you using the rs485 shield mentioned on this thread or another transceiver board? Negatory. I haven't been on here for a few months, so missed that post. Could you link it?
June 5, 20242 yr 10 hours ago, BobTheDinosaur said: Negatory. I haven't been on here for a few months, so missed that post. Could you link it? What rs485 transceiver are you using? Some of them require that you remove a termination resistor, otherwise they give incorrect data.
June 5, 20242 yr 54 minutes ago, Gambit said: What rs485 transceiver are you using? Some of them require that you remove a termination resistor, otherwise they give incorrect data. This one https://www.communica.co.za/products/hkd-ttl-to-rs-485-module-max485 Been fine for 6 months. So maybe it needed shielding.
June 5, 20242 yr 22 minutes ago, BobTheDinosaur said: This one https://www.communica.co.za/products/hkd-ttl-to-rs-485-module-max485 Been fine for 6 months. So maybe it needed shielding. I think that is the board that you need to remove the R7 termination resistor, otherwise you can get bad readings. Also that board uses the max485 chip which is 5v logic and the ESP32's runs at 3.3v. So technically they are not compatible when directly connected to each other. If you do plan to buy a new transceiver have a look at the video in the first post of this thread. It shows this shield which is really nice https://smarthomeintegrations.co.za/product/smartdeyedonglev4-intl-shipment/ or something like this with the SP3485 chip which is 3.3v https://www.communica.co.za/products/wvs-rs485-3-3v-breakout-module Edited June 5, 20242 yr by Gambit
June 5, 20242 yr Author 2 hours ago, BobTheDinosaur said: This one https://www.communica.co.za/products/hkd-ttl-to-rs-485-module-max485 Been fine for 6 months. So maybe it needed shielding. Would advise getting one of the ones from @iiznh at https://smarthomeintegrations.co.za/ Has a 3.3v RS485 like the inverter, rather than a 5v and you can power it from the inverter so much neater as well and they aren't super expensive so well worth it IMO.
June 5, 20242 yr 2 hours ago, Gambit said: I think that is the board that you need to remove the R7 termination resistor, otherwise you can get bad readings. Also that board uses the max485 chip which is 5v logic and the ESP32's runs at 3.3v. So technically they are not compatible when directly connected to each other. If you do plan to buy a new transceiver have a look at the video in the first post of this thread. It shows this shield which is really nice https://smarthomeintegrations.co.za/product/smartdeyedonglev4-intl-shipment/ or something like this with the SP3485 chip which is 3.3v https://www.communica.co.za/products/wvs-rs485-3-3v-breakout-module Thanks! I'd like to DIY it as much as possiblen so the latter is the best option for me.
June 5, 20242 yr 2 minutes ago, Sc00bs said: Would advise getting one of the ones from @iiznh at https://smarthomeintegrations.co.za/ Has a 3.3v RS485 like the inverter, rather than a 5v and you can power it from the inverter so much neater as well and they aren't super expensive so well worth it IMO. So for the 3.3v option i note it has a network port. In that case do I use a network cable that I haven't chopped one plug off of to go from the inverter port to this device? And is power supplied from the ESP32? I've never actually considered how power gets to my current rs485.
June 5, 20242 yr Author 6 minutes ago, BobTheDinosaur said: So for the 3.3v option i note it has a network port. In that case do I use a network cable that I haven't chopped one plug off of to go from the inverter port to this device? And is power supplied from the ESP32? I've never actually considered how power gets to my current rs485. There is 12v power available from inside the inverter in most cases, you just need to check your model. The ESP32 shield has a 12V converter to power the ESP32 with and all the RS485 chips. You then connect an RJ45 to the shield as well which plugs into the RS485 port. I go through it all in the video at the start of this thread.
June 5, 20242 yr 11 minutes ago, BobTheDinosaur said: So for the 3.3v option i note it has a network port. In that case do I use a network cable that I haven't chopped one plug off of to go from the inverter port to this device? And is power supplied from the ESP32? I've never actually considered how power gets to my current rs485. The port on https://www.communica.co.za/products/wvs-rs485-3-3v-breakout-module is an RJ11 not an RJ45you find on network cables. I would rather just use the screw down terminals unless you want to hack up an old phone cable.
June 5, 20242 yr 16 minutes ago, Gambit said: The port on https://www.communica.co.za/products/wvs-rs485-3-3v-breakout-module is an RJ11 not an RJ45you find on network cables. I would rather just use the screw down terminals unless you want to hack up an old phone cable. Gotcha. Thanks O and the R7 resistor was soldered off 6 months ago. So the board must just have gotten cooked now.
June 10, 20242 yr On 2024/06/04 at 7:10 PM, IggyP said: Hi all, My problem was solved by changing the yaml code of my ESP32. Thanks all for your support! Iggy Hi Scoobs, Have a problem with my shield combo with ESP32. Only Solar PV1 and PV2 sending wrong values. Already started a post in Power flow card and Dashboard thread. Not sure If you saw this. Any help would be appreciated Please check origianl post and answers of Slipx and members:
June 11, 20242 yr Author 8 hours ago, IggyP said: No problem @IggyP glad you got it sorted, have been there lol 🙂
June 13, 20242 yr Hi all, I have just exported the PV current data of my PV1 current entitie and found that data in .csv file has a time difference to the graph e.g in the graph high current is shown at 13:27 and in csv it's showing 11:27. is this comming from Inverter? Any idea? Thanks.
June 13, 20242 yr 49 minutes ago, IggyP said: Hi all, I have just exported the PV current data of my PV1 current entitie and found that data in .csv file has a time difference to the graph e.g in the graph high current is shown at 13:27 and in csv it's showing 11:27. is this comming from Inverter? Any idea? Thanks. Your graph is displaying the data using your local time SAST (GMT+2) and the exported CSV is in UTC (GMT+0) timezone. It is common for data to be stored in UTC and your user interface to display in local time.
June 14, 20242 yr On 2024/06/13 at 10:48 PM, Gambit said: Your graph is displaying the data using your local time SAST (GMT+2) and the exported CSV is in UTC (GMT+0) timezone. It is common for data to be stored in UTC and your user interface to display in local time. Thank you Gambit for clarification
July 25, 20242 yr A Big thank you to all that put effort into this chanel. I have been banging my head for the last week and just can't seem to get my ESP32 to read from the inverter. I have a Sunsynk 8kw Inverter and am using a ESP32 WRoom-32 (Using Pins 16,17 and 4) with a RS485 adaptor connected to Pins 1 & 2 on the ethernet port. Inverter is set to Slave on Modbus 1. I have tried different Baud rates (9600, 19200 & 115200) I have tried changing Rx & TX pins. I have checked soldering all looks good. However I still cont get the ESP32 to get data from the Inverter. Below is my config file (simplified with just a few sensors) And the results I keep getting. I have tried another ESP32 board with the same results and I have tried with and without R7 installed on the RS485 Board. Any help in pointing me in the right direction would be greatly appreciated. ESP32 Config (Simplified).txt ESP32 Output.txt
July 25, 20242 yr 13 minutes ago, Tonytex230 said: A Big thank you to all that put effort into this chanel. I have been banging my head for the last week and just can't seem to get my ESP32 to read from the inverter. I have a Sunsynk 8kw Inverter and am using a ESP32 WRoom-32 (Using Pins 16,17 and 4) with a RS485 adaptor connected to Pins 1 & 2 on the ethernet port. Inverter is set to Slave on Modbus 1. I have tried different Baud rates (9600, 19200 & 115200) I have tried changing Rx & TX pins. I have checked soldering all looks good. However I still cont get the ESP32 to get data from the Inverter. Below is my config file (simplified with just a few sensors) And the results I keep getting. I have tried another ESP32 board with the same results and I have tried with and without R7 installed on the RS485 Board. Any help in pointing me in the right direction would be greatly appreciated. ESP32 Config (Simplified).txt 6.17 kB · 0 downloads ESP32 Output.txt 8.76 kB · 0 downloads Your configs look the same as mine. So I'm guessing probably some sort of hardware issue. Maybe the RS485 tranceiver is faulty or wired incorrectly to the BMS port. Maybe post some pics of the esp32 + transceiver and inverter connection. Is your sunsynk dongle reporting correct sensor data to www.sunsynk.net?
July 25, 20242 yr 1 minute ago, Gambit said: Your configs look the same as mine. So I'm guessing probably some sort of hardware issue. Maybe the RS485 tranceiver is faulty or wired incorrectly to the BMS port. Maybe post some pics of the esp32 + transceiver and inverter connection. Is your sunsynk dongle reporting correct sensor data to www.sunsynk.net? Hi Gambit Thank you for your reply. I have tried 2 different RS485 Boards one with R7 and the other without the R7 resistor. Also tried another LoLin ESP32 board but that didn't work either. I have also tried Bridging Pins 1&8 and 2&7 as per the Picture attached. Here are Pics of my ESP32
July 25, 20242 yr 59 minutes ago, Tonytex230 said: Hi Gambit Thank you for your reply. I have tried 2 different RS485 Boards one with R7 and the other without the R7 resistor. Also tried another LoLin ESP32 board but that didn't work either. I have also tried Bridging Pins 1&8 and 2&7 as per the Picture attached. Here are Pics of my ESP32 All looks good. Which port are you plugging it into in the inverter?
July 25, 20242 yr 1 hour ago, Gambit said: All looks good. Which port are you plugging it into in the inverter? I am using the RS485 port
July 25, 20242 yr 1 hour ago, Tonytex230 said: Hi Gambit Thank you for your reply. I have tried 2 different RS485 Boards one with R7 and the other without the R7 resistor. Also tried another LoLin ESP32 board but that didn't work either. I have also tried Bridging Pins 1&8 and 2&7 as per the Picture attached. Here are Pics of my ESP32 This is the wiring diagram I used. I added your pics for context Looks like your Ethernet cable conforms to the T568A standard. See the highlighted green blocks. If so, it appears that for pins 1 and 2 at least that the green/white and solid green are reversed. See highlighted orange blocks That said, I did mine a while back and it started out not working on pins 1&2. I ended up using pins 7&8 ( brown/white and brown ) and that sorted me out. I know that bridging shouldn't cause issues as you have the pairs correct. But we've seen stranger things. I'd try undoing that and trying with just green/white and green per the wiring diagram. Failing that, try using pins 7 & 8 ( brown/white and brown )
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.