Тёмный

20 - Build a Waveshare Modbus Interface - Home Assistant Tutorial - Solax Solis Growatt Sofar 

JW Solar
Подписаться 721
Просмотров 19 тыс.
50% 1

Build and configure your own Modbus RS485 Waveshare Interface - Solax Solis Growatt Sofar
Please buy me a coffee:
www.buymeacoffee.com/chequem8
Please use my octopus energy sign-up referral link. You'll get £50 credit and I'll get £50 credit:
share.octopus.energy/nice-kud...
Please write in the comments if you need any help!
Components:
Waveshare - thepihut.com/products/industr...
Din Rail Enclosure - www.screwfix.com/p/wylex-wbe3...
RJ45 Panel Sockets - thepihut.com/products/rj-45-e...
Cat5e Patch Cables - thepihut.com/products/2m-netw...
Configuration:
Vircom - www.waveshare.com/wiki/File:V...
WinRAR - www.win-rar.com/download.html...
Links:
Home Assistant - www.home-assistant.io/
Will's Modbus - github.com/wills106/homeassis...
Solax Installation Facebook Group - / solaxinstallation

Опубликовано:

 

30 сен 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 90   
@hainesy_uk
@hainesy_uk 13 дней назад
Thanks for this - I'd have spent *ages* dicking around trying to get my Waveshare unit up and running without it!
@lgg4doru430
@lgg4doru430 Месяц назад
Hello, today with the help of your video I managed to integrate Solax in H.A. with Waveshare Modbus. I personally thank you very much. A good day.
@JWSolar
@JWSolar Месяц назад
Thank you!
@wimdsock9419
@wimdsock9419 9 месяцев назад
Excellent tutorial. Looking forward to building my own now. Many thanks once again Janik!
@orbepa
@orbepa 4 месяца назад
Brilliant video - thank you
@ninocass
@ninocass 9 месяцев назад
Thanks for this, I ordered a waveshare yesterday morning so the timing of this video is perfect!
@VaidotasDargis
@VaidotasDargis 2 месяца назад
Today i have finished my little project following your video step by step. It worked without any issues. Thank you very much!
@hiddeboner
@hiddeboner 3 месяца назад
Perfect explanation JW, worked like a charm for my growatt SPH-BHUP.
@alpachino468
@alpachino468 6 месяцев назад
I'm going to try this with my FoxESS inverter
@IlConteVince
@IlConteVince 9 месяцев назад
OMG thank you sooo much! ❤ First I’ve been using the Solax integration with the dongle but it would stop working every other day. Then found out about the Waveshare which I bought a couple of months ago and since then I’ve been trying to make it work but always unsuccessfully, I almost gave up until today! Your video is super clear and easy to follow. In the next days I will also add the enclosure and make it nice to look rather than just functional 😅
@JWSolar
@JWSolar 9 месяцев назад
Thanks for the coffee!
@typxxilps
@typxxilps 3 месяца назад
many words but the key message is missing: what had you done wrong before , where did you overlook something cause that is what we could learn from. thx
@perfoperfo9910
@perfoperfo9910 6 месяцев назад
Great tutorial, thanks. I've ordered a wave share module. Any suggestions as to what the setting would be for a sunsynk inverter? I get the data from the cloud at the moment but as you correctly mentioned this is prone to problems if there are any server outages or other internet related issues and even when it works it can be more than a minute between refreshes.. (yes I have increased the update time on the sunsynk to 60 seconds (default is 300). So if I can get this to work on my three sunsynk inverters I'll be more than a little please...
@arthurvonrotz7887
@arthurvonrotz7887 8 месяцев назад
Thanks for the nice explanation in the video Are there people who have already managed to get it working with a Solis inverter? I have followed all the steps and measured the cables, but for me the act LED does not flash. I have the poe version because my voltage from the inverter is only 5 volts. I have also tried the baterite on 9600 but no success. If something else is connected to a data logger, the RS485 connection works fine. Does anyone have any tips?
@typxxilps
@typxxilps 3 месяца назад
So in order to get 3 of these modbus devices talk to each other like a growatt inverter, a Wallbox like Pulsar Plus and a eastron 3 phase smart meter I would need rather 3 of these modbus rs 485 to rj45 connectors ? Would be easier to order 3 instead of 1 by one considering that those machines are distributed across the house with an inverter somewhere, the smartmeter in the grid connection point cabinet and the charger / wallbox in the garage. I hope you can help me regarding this topic ! Or is there any wifi connection or bridge from the usual shine wifi x or s stick to the modbus ? I had tried that first by installing the modbus for the ip of the inverter / stick. But I got no entities as you did. And you had mentioned that wifi modbus wouldl be possible but not so reliable and dependent on the internet. Thanks
@gopikrishnayogarajah
@gopikrishnayogarajah 3 месяца назад
Thanks . I have a solis and Solax inverter ..is it possible for this integration to work with both inverters ...they are independent on different arrays but on the same LAN network,
@Kiloptero
@Kiloptero 6 месяцев назад
Wow! amazing.. Can you share the image where to put the RJ cable (to the inverter)
@JWSolar
@JWSolar 6 месяцев назад
In the comm/lcd port
@richardcav
@richardcav 9 месяцев назад
Great tutorial, I’d love to use those with my Solax x1 boost, but I’m not sure I have a comm/ct port free? I have an TS458 port that’s in use for the power meter to tell my inverter how much power the house needs, is my inverter not compatible?
@typxxilps
@typxxilps 3 месяца назад
I guess you meant 485 right ? And you would need a modbus proxy which allows to connect 1 device with several others like the power meter talking to your inverter and also to your home assistant and maybe even wallbox / charger which would mean that your meter would be connected to HA where the proxy addon would do the magic to connect all the slaves with this master.
@billabongpoo
@billabongpoo 8 месяцев назад
Hi there, Thank you so much for the video it is very much appreciate. I'm having trouble with only being able to see 4 entities. I have set the static IP on my router and in Vircom I have checked the IP in my browser and have full access I have reset the device and router and it keeps the same ip address I have changed the port to 502 I have changed it to Modbus TCP protocal I have changed the Baud rate to 19200 and check the inverter setting to make sure this is correct In advanced setting I have changed it to simple modbus to TCP and RTU In HA I have changed the polling to 10 Selected Parallel Mode as I have my inverters in parallel Input the ip address exactly as I get access to it through a browser TCP port is 502 I have rebooted HA, and power cycled the batteries. But still only 4 entities, any idea what I'm doing wrong here?
@MrPaulj123
@MrPaulj123 11 дней назад
Thanks for the guide - my inverter (Solax X1 G4 7.5D) user manual COM PIN Definition just has pin 4 and pin 5 labelled as 485A&B. Crosses are marked in all other pins, assuming this means they are dead and I need to find an external power supply for the Waveshare? If so, does the "ground" pin on the waveshare not need the link wire from -ve?
@JWSolar
@JWSolar 8 дней назад
@@MrPaulj123 No, they are not dead, the manual is just showing the meter connections so it doesn't confuse people. The other pins are still active and connected.
@franzkahr7344
@franzkahr7344 6 месяцев назад
Thank you for your video. Can I also use this on my DEYE 12K hybrid inverter?
@JWSolar
@JWSolar 6 месяцев назад
Sorry, I'm not familiar with Deye.
@typxxilps
@typxxilps 3 месяца назад
yes, if that is supporting the modbus too via rs 485.
@wolfgangliegl5781
@wolfgangliegl5781 7 месяцев назад
Thank You for this tutorial. How can I connect the waveshare to the inverter when an EV Charger is also connected to the com port
@JWSolar
@JWSolar 7 месяцев назад
Which inverter do you have? Does the car charger use modbus? If it doesn't, you can connect it to the same port using different pins.
@wolfgangliegl5781
@wolfgangliegl5781 7 месяцев назад
@@JWSolar Sorry not enough information: I use a X3 Hybrid G4 15k and the Solax EV Charger 11kW connected via RS485 to the inverter on the com port. I have contacted the support and they told me I can use a R45 y plug at the inverter side.
@neilfuller9348
@neilfuller9348 3 месяца назад
Hi, Just ordered waveshare to connect to 2 x Solis S5-EH1P3.6K-L. Also ordered correct 4 pin RS485 plugs for inverters. Any advice about how to connect/use terminating resistors would be very helpful, Will S says these will be needed.
@JWSolar
@JWSolar 3 месяца назад
Sorry, you're better asking Will.
@MrPhilgr
@MrPhilgr 8 месяцев назад
Great set of videos - TY I have a small problem you might be able to help resolve - currently communicating withHA via the SolaX Modbus integration via the wifi dongle - all entities present, switch over to the Waveshare interface and im only getting 4 entities, have tried deleting, rebooting - switch back to the wifi dongle IP and all entities present again ?
@JWSolar
@JWSolar 8 месяцев назад
It's usually an error in the waveshare setup, or something wrong with the IP address scheme. Check both these very carefully.
@MrPhilgr
@MrPhilgr 8 месяцев назад
@@JWSolar thanks for the reply - does the Vircom software have to be running on a host PC ?, or is that just used for setup
@JWSolar
@JWSolar 8 месяцев назад
@@MrPhilgr It's just for setup.
@Bananaskin1
@Bananaskin1 Месяц назад
Has anyone tried to install this in Home Assistant in a Docker container? I've repeatedly tried but failed to get HA to talk to the Modbus I/F not sure whether it is a network or python issue in the container☹
@user-th5cq2rf2q
@user-th5cq2rf2q 6 месяцев назад
Hi, nice tutorial! How many devices can I connect to this Waveshare's device? I have 20 modbus devices(thermostats) and im trying to find a modbus to MQTT converter. Does Waveshare provide any product?
@JWSolar
@JWSolar 6 месяцев назад
I'm sorry, I've no idea.
@micklebring
@micklebring 6 месяцев назад
Worked my way through most of this after getting fed up with the wifi dongle dying and finally got it working. Beware the modbus adapter doesn't appear to work at anything other than 10m ethernet, which seems to be a problem for my Omada switches. I've worked around it with an old switch I had but just be aware if the ethernet doesn't come up it could be that.
@JWSolar
@JWSolar 6 месяцев назад
Thanks for letting us know.
@typxxilps
@typxxilps 3 месяца назад
it most likely rather depends on the cable - cuase the growatt mention in the manual a 15 m or 25 m total length, but they do even work with up to 100 m CAT 7 cable.
@perfoperfo9910
@perfoperfo9910 6 месяцев назад
I see you are powering the wave share module from the rj45 rs485 port on the inverter. Do you know if this is common on these ports or particular to your type ? I have sunsynk inverters do you know if these will also provide power via the rj45 ? If not would you have any idea how I could find out ? I've searched for details on google but haven't found anything. I can find a version of the Modbus protocols etc but not the physical set up (pinouts etc) . Maybe I went for the wrong inverter this seems so easy to set up on the solax. Thanks.
@JWSolar
@JWSolar 6 месяцев назад
It's inverter specific, you'd have to look in the manual. Thanks.
@perfoperfo9910
@perfoperfo9910 6 месяцев назад
@@JWSolar Thanks for the reply. I was hoping it would be an rs485 standard. The manual doesn't seem to cover these ports at all.
@MRE-hs4oi
@MRE-hs4oi 5 месяцев назад
Hello, thank you for the great video clip! I have tried to follow all the steps, everything looks good, the blue LED light is on, and I have TCP connectivity with the Modbus to ETH server. I have downloaded the Modbus Solax program on Home Assistant and entered the IP, bandwidth, etc., for the Growatt inverter, but no device or entities are showing up. Also, the blue light on ACT is not blinking every 10 seconds as I have configured in the Solax Modbus program. Does anyone have any tips, in exchange for some coffee cups? :)
@JWSolar
@JWSolar 5 месяцев назад
The Growatt inverters will have different settings to the Solax demonstration in the video. Have a look in the manual for baud rates, pin outs, etc.
@dougle03
@dougle03 2 дня назад
Great video, but mine is still not working. I have the POE version so not using power from my X1 Mini G4. I was missing a ground connection so used pin 3 (In my manual it's listed as 'Heatpump -' On checking it's a direct reference to the chassis ground of the inverter. I get the red power light and the blue status light, but HA refuses to talk to it. The adding process just freezes at the initialisation stage. - Any ideas? Is there a setting in the inverter that needs changing (I've got the installer password). Thanks,
@chrisfarmer5260
@chrisfarmer5260 2 месяца назад
Hi you mentioned in the vidoe that you made this for a customer do you make these for other people? i have a solis inverter and a wireless dongle
@JWSolar
@JWSolar 2 месяца назад
Only for Solax I'm afraid. Thanks.
@chrisfarmer5260
@chrisfarmer5260 2 месяца назад
@@JWSolar thanks for the response to the question i appreciate it. Im assuming the pin out of the solis inverter is different
@user-hk2rk3dm5w
@user-hk2rk3dm5w 4 месяца назад
Thanks so much for this walkthrough, I've learnt so much However, I have an issue with connecting to my X1AC. I've managed t wire it up (pins 6,7 and 8) and it's powered externally with a 12v power supply. I have a red power light and a green link light, which is great. However, when I configure the WaveShare via VirCom, I can't get the link light to turn blue (and HA doesn't see the inverter, so no device or entities). Do you know if there are any specific settings that I need to apply via Vircom to an X1 AC inverter, in order to make this work? I'm really close to getting this working so if you (or anyone else) has any additional config information, it would be greatly appreciated. Many thanks in advance.
@JWSolar
@JWSolar 4 месяца назад
Hi, any chance you could join the 'Solax Support UK' Facebook group and post your question there? Thanks.
@user-hk2rk3dm5w
@user-hk2rk3dm5w 4 месяца назад
@@JWSolar Of course, thanks very much
@Extragonk
@Extragonk 9 месяцев назад
I've got mine setup and configured, its getting power from teh inverter but it seems to never poll the inverter, the activity light doesnt blink at all, i'm guessing the blue wires did not terminate correctly.
@Extragonk
@Extragonk 9 месяцев назад
changing the modbus integration to the waveshare ip makes HA mega laggy, where it takes 2-3 seconds to load and register clicks, change it back to point at the dongle and HA goes back to normal speed
@JWSolar
@JWSolar 9 месяцев назад
@@Extragonk Never heard of that before, normally it's quicker. What's you update interval?
@Extragonk
@Extragonk 9 месяцев назад
@@JWSolar it was set to 10 as per the video, but it doesnt seem to matter what it is, i'm going through a full HA update cycle now to get everything at latest and will start experimenting with disconnecting the inverter com and see if its the waveshare or the inverter link thats causing HA to (assume) time out and lag
@Extragonk
@Extragonk 8 месяцев назад
As a follow up on this, I finally got it working, 1st the cable was not terminated with one of the blue pins not having continuity - poor quality network ends :(, second i found that there are two settings on by default on the Advanced page which need to be cleared to make it work: "send MAC when TCP establish" and "Detect net using Ping". I turned both of these off and it worked. The integration and the whole of HA was really laggy for about 3 minutes but after that the system stabilised - i assume this is it serially querying the entities and having some wait timer in there per entity. all good now though, thanks for the video, it was invaluable!
@StuartIngram
@StuartIngram 9 месяцев назад
Hi, I have a question. If I were to add this Waveshare Modbus Interface to my Home Assistant system, how do keep my historical data from the wireless setup that I have already?
@JWSolar
@JWSolar 9 месяцев назад
You just need to update the IP Address in the Solax Modbus Integration configuration and all your data and entities will be retained, it's a seamless switchover.
@StuartIngram
@StuartIngram 9 месяцев назад
Thank you for your reply and thanks for the great videos. Please keep them coming.
@gajduso
@gajduso 9 месяцев назад
Hi , I like your videos, I have followed the tutorial with Wifi connection. All connected, all running well , but I have only 4 entities available. something like temperature and not important data. I am missing basically all entities about the power, V,A etc. I have sent you an email, but no answer so far :( I have Solax X1 Boost G3.2 - is this a problem ? I mean the connection works well, but I dont have any Data that could use. is it because my inverter is not offering them , or I have problem somewhere else ? I would like to try this RS485 as well, but I dont know if it make sense could you please answer thx f
@JWSolar
@JWSolar 9 месяцев назад
Hi, I'm not familiar with the G3.2, but on the G4, the inverter firmware must be higher than V1.48 for all the entities to show. I appologise for not responding to your email, it ended up in the spam folder.
@gajduso
@gajduso 9 месяцев назад
thank you, can I send you an email now ? I was thinking to simplify the issue, buy a Shelly 3em to measure power , is this gonna help me ? @@JWSolar
@JWSolar
@JWSolar 9 месяцев назад
@@gajduso I'm not really familiar with the shelly devices.
@richardcav
@richardcav 9 месяцев назад
You may need to upgrade your inverter firmware as the HA integration will only work with the up to date version - I had the same issue.
@tomaszbonkowski1938
@tomaszbonkowski1938 6 месяцев назад
Hi, is it possible to use the Modbus interface if the RS485 is already used for the Solax EV Wallbox?
@JWSolar
@JWSolar 6 месяцев назад
Yes, you can split it.
@tomaszbonkowski1938
@tomaszbonkowski1938 6 месяцев назад
@@JWSolar are you sure there will be no communication errors? Inverter will be master and the modbus and EV Wallbox will be slave?
@JWSolar
@JWSolar 6 месяцев назад
I can't be sure as I haven't tried it, but other people I know have done it with modbus car chargers.
@meb3105
@meb3105 8 месяцев назад
Nice video but one thing confuses me. In your video '07 - Configure Modbus Integration - Solax Solar Home Assistant Tutorial' you state that during the HA configuration you should enter in the ip address of the Solax dongle. In this video you said you should enter in the ip address of the Waveshare Modbus adapter. Which is correct? When I enter the Waveshare ip address I can only see 4 entities yet when I enter the WiFi dongle ip address I can see the full 257 entities. I have followed the vids to the letter and all matching baud rates etc but no luck with the Modbus ip. I have a X1 Gen4 and according to Solax they updated all my software and firmware two weeks ago before I embarked on this. Any help would be appreciated. Thanks
@JWSolar
@JWSolar 8 месяцев назад
They are both correct. Video 07 is for the dongle, but I was asked to do the Waveshare too, so that was added later on. If you only have a few entities with the Waveshare, it's probably not configured properly the IP Address scheme is wrong, or the wiring is incorrect.
@meb3105
@meb3105 8 месяцев назад
@@JWSolar Thanks for the reply. What do you mean by the IP scheme? I have a static ip set on the same subnet as my main network. The SolaX dongle is on a VLAN but I can connect to both the modbus and the dongle using local ip’s no problem and the Waveshare act light lights up green when I try to wake battery etc but there is no response from the inverter back to the modbus…
@JWSolar
@JWSolar 8 месяцев назад
@@meb3105 Have you checked the wiring between the inverter and waveshare. I've had a few enquiries over the past few days that were wired to the wrong pins, had a faulty cat5 cable, or even plugged into the wrong port, resulting in exactly what you're experiencing.
@meb3105
@meb3105 8 месяцев назад
@@JWSolar ok thanks. I will double check that tomorrow. Can I just confirm the modbus only requires the SolaX dongle to set or confirm the baud rate and com port etc? Once this is set the dongle is no longer required for operation via modbus? Thank You
@JWSolar
@JWSolar 8 месяцев назад
@@meb3105 Correct, although keep it connected for firmware updates and to update the Solax cloud if required.
@harryaiken7168
@harryaiken7168 6 месяцев назад
I have a solax x1ac inverter, it has network socket labelled 485, can I connect to that?
@JWSolar
@JWSolar 6 месяцев назад
Yes, but the pin layout is different and there's no 13v power provided. You'll need a DC adapter to power the waveshare, and check your manual for the 485A and 485B pins.
@harryaiken7168
@harryaiken7168 6 месяцев назад
Found it in manual can you please advise how to continue?
@harryaiken7168
@harryaiken7168 6 месяцев назад
Sorry can't figure how to attack screenshot but it's pins 7 & 8 on the inverter
@Cromargan
@Cromargan 9 месяцев назад
First: thx so much for your tutorials! Question: if Wifi-Dongle is not stable, would the Pocket LAN-Interface V3.0 be the better choice? My issue: DTSU666 is connected to my COM-Port, so using home assistant via Modbus is no option 😞
@JWSolar
@JWSolar 9 месяцев назад
What's connected to the meter/CT port? That's normally where the DTSU666 or CT clamp goes. Sorry, I haven't tested it with the lan dongle.
@Cromargan
@Cromargan 9 месяцев назад
@@JWSolar meter/CT = CTs; DTSU666 is connected to COM-Port (RS485, Pin 4/5) - its a X3 G4 Hybrid
@JWSolar
@JWSolar 9 месяцев назад
@@Cromargan On a X3 G4 Hybrid, the meter connects to pins 4/5 of the meter/ct port (rs485) leaving the Comm Port available for external equipment such as Home Assistant. It looks like yours is in the wrong place, please check the manual.
@Cromargan
@Cromargan 9 месяцев назад
@@JWSolar You are right, i was wrong 🫣: DTSU666 is connected Meter/CT. But the Solax Charger is connected to COM. Guess need to try LAN-Interface🤷🏻‍♂️
@TylerSolax
@TylerSolax 9 месяцев назад
@@Cromargan Hi Cro, you can set the modbus address of the EV charger and inverter. You can use a RJ45 Y splitter to create a parallel RS485 connection, the control device you are using for home assistant will be able to tell the difference between the inverter and charger by the modbus address
@MRE-hs4oi
@MRE-hs4oi 5 месяцев назад
Hello, thank you for the great video clip! I have tried to follow all the steps, everything looks good, the blue LED light is on, and I have TCP connectivity with the Modbus to ETH server. I have downloaded the Modbus Solax program on Home Assistant and entered the IP, bandwidth, etc., for the Growatt inverter, but no device or entities are showing up. Also, the blue light on ACT is not blinking every 10 seconds as I have configured in the Solax Modbus program. Does anyone have any tips, in exchange for some coffee cups? :)
@JWSolar
@JWSolar 5 месяцев назад
Sorry, I limited help with Growatt as I don't have one. Maybe you could check Wills Modbus wiki and Github for answers.
Далее
How To Design and Manufacture Your Own Chip
1:56:04
Просмотров 76 тыс.
Сколько метров чернил в ручке?
16:35
No more WiFi: How to wire your house for Internet
22:01
Сколько метров чернил в ручке?
16:35